Grab mysql entry id
Posted: Thu Jun 16, 2005 11:44 pm
Hi,
I have a form that submits data to mysql database then proceeds to use mail()
How can I grab the id from the entry and send it along with mail()
Also what is the correct way to keep a checkbox checked using echo, ie as you would for a list menu:
Thanks
I have a form that submits data to mysql database then proceeds to use mail()
How can I grab the id from the entry and send it along with mail()
Also what is the correct way to keep a checkbox checked using echo, ie as you would for a list menu:
Code: Select all
<?php echo $month=='1' ? 'selected' : ''?>>1</option>