View Single Post
  #2 (permalink)  
Old Jul 23rd, 2006, 09:58
Gee Bee Gee Bee is offline
Up'n'Coming Member
Join Date: Jan 2006
Location: East Sussex
Age: 26
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Re: help with pagination and html radio buttons

while($code = mysql_fetch_object($q)) {
echo(
"<h3>
<input style=\"border:none;\" type=\"radio\" name=\"loc\" onClick=\"go(\'index.php?page=deletenews\');\">".$code->title."</h3><BR>");
}

Should work fine, if you want to delete a certain title only you will need to pass that in the javascript function as well probably dont forget.
Good luck
.
Reply With Quote