its undefined custID when i submit the third page
creating php form
Collapse
X
-
ah ok then you have to edit this line i think:
to thisCode:<input type="hidden" value="<?php echo $custID; ?>"/>
after this you can get its value using $_GET['cusID']Code:<input type="hidden" id="cusID" name="cusID" value="<?php echo $cusID; ?>"/>
Comment
-
can you post the code of task10.php? since you changed a few things i dont know what line 12 is anymore :)
EDIT: just to verify, try putting the next code as first line:
and this code at the end of the file:Code:<?php if($_SERVER["REQUEST_METHOD"] == "GET"){?>
what do you see now?Code:<?php }else{echo "ERROR!!";}?>Comment
-
How accordingly sir....how..... i have clear that i have three database tables like tbl_a, tbl_b, tbl_c & which have corresponding fields a_id,a_name,b_i d,b_name,c_id,c _name. In php page there 3 text box for different table input inside on HTML form. I need to input these three tex box value to different table on database tbl_a,tbl_b,tbl _c. so plz give me idea.don't give me confusen answer..if u don't understand my problem then tell me clearly in which part r u not able to understand. plz
Ur help will be appreciated...Comment
-
to luckysanj: you've already asked this on a different thread. the answer is given there. all you need to do is post your form and write one SQL query for each table in which you want to insert/update a record.
also this thread is ment to answer lolodede's question. so only questions or answers linked to his/her question may be posted here.
please read the posting guidelinesComment
Comment