Forums

PHP

This topic is locked

UD4 & PHP recordset

Posted 24 Aug 2001 20:07:09
1
has voted
24 Aug 2001 20:07:09 David Fee posted:
Howdy,
I'm using UD4 and PHP. I have a form that has a text box that a user enters their user_id. When creating a new recordset for this, I have several choices of where my filter gets it's variable from. Some of my choices are "form variable", "session variable", "PHP variable". What's the differnce between these? The user_id is the only variable I have on my form, so do I use the form variable or the PHP variable because I'm using PHP. Also, where is the post method in this drop-down box? All the tutorials I've read on this site suggest using the post method, but I don't see it in the list. Thanks for your time. This site is very helpful.
Dave<img src=../images/dmxzone/forum/icon_smile_8ball.gif border=0 align=middle>


Replies

Replied 25 Aug 2001 03:03:59
25 Aug 2001 03:03:59 Tim Green replied:
In this instance you would use form variable (which just so happens to be the POST entry that you couldn't find).

Here's a brief explanation of the variable types :-

URL GET Parameter - Values submitted by the GET method

Form Variable - Form Variables submitted by the POST method

Cookie - Value stored in a cookie variable

Session Variable - Value stored in a session variable

PHP Variable - Value stored in a variable somewhere in your code (either code generated by UD, or your own custom scripts)

Entered Value - The exact value that you specify as a filter

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic