php database help please?

Ilyakar

New member
instead of saying
<?php
inlude "connectToMysql";
$id = 1;
$sql_default = mysql_query("SELECT * FROM extra WHERE id='$id'");
etc etc
?>

how can i get the $id variable from a form? e.g.


<form>
<?php $id = 1; ?>
</form

how can i give a form an individual id?
istead of all forms (if i have more) using the same id
 
Back
Top