Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-06-2004, 12:11 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

RollEyes Another Error, but it's really stupid

18:
PHP Code:
<?php
19

20$db mysql_connect("http://www.cwhq.net","admin123","");
21mysql_select_db (General,$db);
22$result mysql_query ("select * FROM News"$db);
23: echo "<tr><td>Title and Author</td><td>Story</tr>\n";
24
25
26
27: while ($myrow mysql_fetch_row($result)) {
28
29
30
31:         printf("<tr><td>%s %s</td><td>%s</td></tr>\n",
32:         $myrow[1], $myrow[2], $myrow[3]);
33: }
34
35?>
Error:
PHP Code:
?> 
Reply With Quote
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
example stupid is as stupid does bigsmellyfart Humor & Jokes 1 08-19-2008 02:33 AM
DFLW Swapfile error fix error Hellfighter Tech Support 0 02-29-2008 03:35 AM
installing DFBHD, I get an error, “An error occurred during the move data process.” Steve Delta Force 1 01-09-2007 04:54 AM
If your getting an error with Team Speak with the Richedit Line Insertion Error READ .DareDevil. Hardware and Software 0 09-29-2004 03:50 PM
error message, “Error 106.” Steve Delta Force 0 01-08-2004 08:27 PM


All times are GMT -5. The time now is 02:48 AM.




Powered by vBulletin®