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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2004, 06:19 AM
Stu is offline Stu
Resident Member

Join Date: Aug 2003
Posts: 3,319

More help LOL

lol, ok basically, i'm trying to show the news on my news script, and heres the code.
-------------------------
<?
require('config.php');
print '$header';
SELECT console, price FROM games WHERE name='Halo';
?>
-------------------------
Now it says theres an error on line 4. Any ideas what that might be?
Warm regards
Reply With Quote
  #2  
Old 11-28-2004, 06:27 AM
Lakie is offline Lakie

Join Date: Mar 2002
Posts: 5,540

<?
require('config.php');
print '$header';
mysql_query("SELECT xy FROM games WHERE name='halo'");
?>

i assume header is defined?
Reply With Quote
  #3  
Old 11-28-2004, 06:30 AM
Stu is offline Stu
Resident Member

Join Date: Aug 2003
Posts: 3,319

header is an image, it is a line in the config file:
--------------
$header = '<img src="/images/news-head.gif"><p>';
--------------
Thats all it is
Reply With Quote
Reply


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
lol EDGE Sigs and Graphics 9 01-29-2005 01:29 PM
LOL GeeFuss Humor & Jokes 3 12-11-2004 02:31 AM
O my G... lol -Tigger- General Chat 11 06-15-2004 12:28 PM
lol Tactics -r2- Humor & Jokes 4 06-10-2004 02:20 PM


All times are GMT -5. The time now is 05:47 AM.




Powered by vBulletin®