![]() |
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
I'm prolly just retarded... but... |
Page: 1 2 | Reply |
Mar 29th 2002 | #37996 Report |
![]() Posts: 1452 |
Sorry man. I just can't see anything wrong, but I'm probably overlooking something. I tried. :o The code I gave above is exactly how I'm querying my DB.
|
Reply with Quote Reply |
Mar 29th 2002 | #38117 Report |
![]() Posts: 108 |
still gives me the error blah blah is not a supplied result resource djdklafjld n/m |
Reply with Quote Reply |
Mar 29th 2002 | #38118 Report |
![]() Posts: 108 |
bkjladjfkla
|
Reply with Quote Reply |
Mar 29th 2002 | #38185 Report |
![]() Posts: 3367 |
Look into your DB, probably the tables aren't there or there's nuthing to append to...
|
Reply with Quote Reply |
Mar 30th 2002 | #38238 Report |
![]() Posts: 447 |
Why in database.inc.php are you creating the news table each time it's called? Get rid of that line. And try the below code noting that I've added a conditional to the mysql_query. This conditional will alert you if mySQL encounters any error in your query. [PHP]require ("database.inc.php"); $result = mysql_query("SELECT subject, content, timestamp FROM news ORDER BY timestamp DESC") or die(mysql_error()); while ($data = mysql_fetch_array($result)) { ?> [] } ?> [/PHP] |
Reply with Quote Reply |
Mar 30th 2002 | #38293 Report |
![]() Posts: 108 |
eh, thanks for helping, but i've figured out a way to write the news to a text document and then display it.
|
Reply with Quote Reply |
Page: 1 2 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |