| | |
how do i solve the below error
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2007
Posts: 2
Reputation:
Solved Threads: 0
Warning: mysql_fetch_assoc(): 3 is not a valid MySQL result resource in C:\Inetpub\wwwroot\BMF\Web\news.php on line 63
Records 1 to 2 of 2
Records 1 to 2 of 2
PHP Syntax (Toggle Plain Text)
<table width="355" height="50" border="0" align="left"> <tr> <td><strong>Date</strong></td> <td><strong>Subject</strong></td> </tr> <?php do { ?> <tr> <td> <a href="details.php?recordID=<?php echo $row_news['id']; ?>"> <?php echo $row_news['date']; ?> </a> </td> <td> <?php echo $row_news['subject']; ?> </td> </tr> <?php } while ($row_news = mysql_fetch_assoc($news)); ?> //line 63 </table>
That most likely means your query failed. You need to verify your query is correct. Echo it out to the screen and run it from the command line or echo out mysql_error() to see what the problem is.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
•
•
Join Date: Jun 2007
Posts: 2
Reputation:
Solved Threads: 0
i tried what you told me and i get a
PHP Syntax (Toggle Plain Text)
Resource id #5
That's your connection ID, not your query.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
![]() |
Similar Threads
- Send data on a serial port (C++)
- solve equadratric equation in C (C)
- cannot uninstall Panda Titanium trial version from Windows XP (Windows NT / 2000 / XP)
- IRQL_NOT_LESS_OR_EQUAL Error. (Troubleshooting Dead Machines)
- help me solve my matlab syntax error (Legacy and Other Languages)
- CDBException can't solve problem (ASP.NET)
- Prblem with sql sever connection (ASP.NET)
- Date Error (ASP.NET)
- Various log-in problems (Web Browsers)
Other Threads in the PHP Forum
- Previous Thread: can I get a title from an html header tag?
- Next Thread: Wap development with PHP
| Thread Tools | Search this Thread |
apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime global google host href htaccess html image include insert ip javascript joomla limit link list login mail memmory memory menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop parameter parsing paypal pdf php problem query radio random recourse recursion regex remote script search seo server sessions sms snippet soap source space sql static syntax system table thesishelp trouble tutorial update upload url validator variable video web webdesign wordpress xml youtube






