Jump to content

Recommended Posts

Right first of all i'm new to php and i know that this is simple, but i just can't figure it out...

 

1st, I set up a php site that on the first page it has a textbox, lets say its name is text1...

 

I set up the sql so that the value of text1 was a criteria to serch for in the title record of the database...

 

Now the 1st page of results are correct but the next are wrong because the value of text1 is gone...

 

i've tried this:

 

echo "<input type='hidden' name='hiddenField' value = '";

echo $_REQUEST['festname'];

echo "'>";

 

and this:

 

echo "<input type='hidden' name='hiddenField' value = '";

echo $festname;

echo "'>";

 

will someone help me please, i will be very grateful....

Link to comment
https://forums.phpfreaks.com/topic/1874-im-a-bit-stuck-someone-help-please/
Share on other sites

  • 2 weeks later...

You need to include more details. If you are going to detail pages then you must pass the result parameter to it.

 

If you are creating a results page then when you create the recordset, it the wizard you must use the listmenus for

 

'filter' = your column name,

'=' equals

'form_element'

your form element name , and then use the sot menus. There is also a walkthrough if you press F! and get the manual. Hope this will help you.

From the somewhat vague information given, sounds like you could need to employ a small session system. Read up there and tell us if that will serve your needs. Basically, you can carry the data and values of your variables out over multiple pages.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.