I have a query that returns these values:
Code: Select all
<?php
$Query = "SELECT ID,Last,First,Extension,Employer,Pagers_Cell
FROM `directory`
WHERE ID LIKE'$ID'";
?>I want to create "Input" blocks that will echo the values in the query for editing and then carry the values to the next page for execution with another sql script.
I know the statment should look something like this:
Code: Select all
<?php
<input name="First" type="text" id="First" value="<?php echo xxxxx;?>">
?>Totally lost. Any help would be appreciated