Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form data not being passed 2

Status
Not open for further replies.

frozenpeas

Technical User
Sep 13, 2001
893
CA
My form data is not being passed to my pages.

Code:
<form action=&quot;form_edit_record.php&quot; method=&quot;post&quot; name=&quot;form&quot; id=&quot;form&quot;>
---
Code:
echo '<input type=&quot;radio&quot; name=&quot;entry&quot; value=&quot;'.$row['id'].'&quot; onFocus=&quot;if(this.blur)this.blur()&quot;></font></td>';
---
and

Code:
$query = mysql_query('SELECT * FROM cecil_service WHERE id = '.$entry) or die ('Could not query database. '.mysql_error());

which is where I've narrorwed things down to - $entry is empty. frozenpeas
 
Unless you have got: 'register_globals' set to on in your php.ini file you will need to use: $_POST[&quot;entry&quot;]; Regards
David Byng
bd_logo.gif

davidbyng@hotmail.com
 
Thanks, fellas... exciting footrace there! frozenpeas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top