On Sat, 2002-06-15 at 05:31, Chuck Payne wrote: ... > // Some where here it's not working..... > > $sql = "SELECT concat_ws(' ', fname, lname)as actor FROM actormovie WHERE > title = '$title' ORDER by lname"; > $result = mysql_query($sql); > print $sql; > > $actor = ""; > while ($myrow = mysql_fetch_array($result)) { > $actor = $myrow[actor]; > $actor .= "<A HREF=''>" . $actor . "</A><BR>\n"; > > } > > What am I doing working.
Hi Chuck, What happens if you run the query in the mysql command line client? -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Zak Greant <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Advocate /_/ /_/\_, /___/\___\_\___/ Calgary, Canada <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php