NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page MySQL errors?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-14-2005, 04:35 PM THREAD STARTER               #1 (permalink)
Senior Member
 
Ringr's Avatar
Join Date: Jul 2004
Posts: 1,383
Ringr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to behold
 



MySQL errors?


Hey guys,

I am getting the following errors:

Error 1:
--------------
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/flametid/public_html/ahit/config_inc.php on line 51

Here's what line 51 is: if((mktime(0,0,0,date("m"),date("d"),date("Y"))!=m ysql_result($result,0,"date"))and(date(w)==0)){
--------------



Error 2:
--------------
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/flametid/public_html/ahit/signup.php on line 167

Here's what line 167 is: while($row = mysql_fetch_array($result1)){
????: NamePros.com http://www.namepros.com/programming/90156-mysql-errors.html
--------------

I am very confused by what's going on and why it won't work.

Please help,
Thank you in advance;
-Andy M.
Ringr is offline  
Old 05-14-2005, 04:42 PM   #2 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



possibly an error in your sql syntax. post the whole script and I'll see what i can do
stscac is offline  
Old 05-14-2005, 06:23 PM   #3 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Try adding this below the line that's causing the error:
echo mysql_error();

Perhaps that will give you some more info about what's causing the error. Form the errors you posted, it looks like you're submitting an invalid query to the db, but maybe you're suppressing the mysql error by using an "@" sign in the mysql_query line.
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 02:24 PM
Tutorial: How to Install Apache2 MySQL and PHP on Windows deadserious Webmaster Tutorials 35 09-21-2005 10:46 PM
Tutorial: Getting Started With MySQL (The Basics) deadserious Webmaster Tutorials 3 04-18-2004 02:17 PM
MySQL errors. wicked_gal00 Website Development 4 10-12-2003 12:12 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:39 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger