|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
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 |
#2
|
||
|
<?
require('config.php'); print '$header'; mysql_query("SELECT xy FROM games WHERE name='halo'"); ?> i assume header is defined? |
#3
|
||
|
header is an image, it is a line in the config file:
-------------- $header = '<img src="/images/news-head.gif"><p>'; -------------- Thats all it is |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |