RSS Forums RSS
Please support our MySQL advertiser: Programming Forums
Views: 2117 | Replies: 2 | Solved
Join Date: Sep 2004
Posts: 9
Reputation: bennetjosem is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bennetjosem bennetjosem is offline Offline
Newbie Poster

Single cell query!

  #1  
Jun 30th, 2005
How can i display result of a single cell query?
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
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:59 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC