|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Another Error, but it's really stupid
18:
PHP Code:
PHP Code:
|
#3
|
||
|
i already know there, and post there. I'm trying to get a quicker response on this question though.
|
#4
|
||
|
whats the error?
|
#5
|
||
|
<?php
mysql_connect("http://www.cwhq.net","admin123",""); mysql_select_db("General"); echo "<table border=\"0\"><tr><td>Title and Author</td><td>Story</td></tr>\n"; $query=mysql_query("SELECT * FROM News") or die("Theres an error in the mysql query: ".mysql_error()); while($result=mysql_fetch_array($query)) { echo "<tr><td>".$result[title]." ".$result[author]."</td></tr>\n"; echo "<tr><td>".$result[story]."</td></tr>\n", } mysql_free_result($query); echo "</table>\n"; ?>
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#6
|
||
|
thanks panther man!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |