Please support our MySQL advertiser: Programming Forums
Views: 2117 | Replies: 2 | Solved
•
•
Join Date: Sep 2004
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
How can i display result of a single cell query?
my query is
my query is
$author=$_POST["authorname"]; $q="Select authorid from authors where AuthorName=$author"; $resultauthor=mysql_query($q,$connect); $num=mysql_num_fields($resultauthor); <<Error coming here! :( mysql_num_fields(): supplied argument is not a valid MySQL result resource in
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode