Re: Re: How to get Form variables on a muli-page database query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try to use $_SESSION_VARIABLES.....or have case statement for every action in the form

a_nassim <a_nassim@xxxxxxxxx> wrote:                               And i am completely bad in english, bat i think that the problem 
 with your query is the method in your Form, then if you've choose 
 Post in the tag( <form action="page2.php" method="post">
 <input type="text" name="price">.......) in the first page, the 
 variable in the second page must be like $_POST["price"], if you 
 right only $name, the script will not identify it.
 
 For get method, the variable must be like $_GET["variable"].
 
 I think this is your problem.
 
 --- In php-objects@xxxxxxxxxxxxxxx, "hanif1954" <hanif1954@...> 
 wrote:
 >
 > Hi,
 > 
 > I am completely new to php programing. I am using a script that 
 takes 
 > data from a form and processes another php page to qyery the 
 database 
 > based on input from the form. My first page looks ok. But when I 
 go to 
 > the 2nd page of the query, the form data is lost and query does 
 not 
 > display any record. If I do not use a Form and hard code the query 
 > parameters, the query works fine.
 > 
 > Please help me.
 > 
 > Best regards
 > 
 > Hanif
 >
 
 
     
                               

       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux