hey folks, i m trying to insert and echo back data aganist that query i made this code
the bold line gives a error. i think i m doing wrong quotes on $result query too. wht to do.......Code PHP:<?php $cue = $_POST['fname']; $result = ("SELECT * FROM info WHERE names = '$cue'") [B] while ($row = mysql_fetch_array($result))[/B] { echo $row["name"]; echo "<br/>"; } ?>








Bookmarks