![]() |
|
#1
|
|||
|
|||
T_STRING errorWell I am trying to create a custom page for my gaming ladder website www.stormgaming.net and I am getting an error on my custom page which is www.stormgaming.net.
My error looks like this - Parse error: parse error, unexpected T_STRING in /home/xboxstor/public_html/affiliates.php on line 41 My affiliates page looks like this - PHP Code:
any help is appreciated. Thanks Evil Kenevil Last edited by LuciWiz : 28-Feb-2005 at 03:11.
Reason: Please insert your PHP code between [php] & [/php] tags
|
|||
|
#2
|
||||
|
||||
|
IF you had posted your example code with the supplied bbcodes for PHP syntax highlighting, you would have solved this problem within seconds of posting the message...
Looking at the code, it's obvious that you have to escape all the double quotes within this block of code: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
another T_STRING errorI get:
Parse error: parse error, unexpected T_STRING in /hsphere/local/home/mreditor/theforeigner-japan.com/template/index.htm on line 1 on this line (taken from the W3C website): <?xml version="1.0" encoding="UTF-8"?> Any idea what's wrong with it? When I delete that line from the code the page works fine. |
|
#4
|
||||
|
||||
|
Hello EelcoH,
What you describe is a very common error - one I have made myself in the beginning... ![]() Try splitting the end bit of that line into something like this: PHP Code:
|
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Tutorial] GUI programming with FLTK | dsmith | FLTK Forum | 10 | 03-Oct-2005 16:41 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | C++ Forum | 2 | 07-Jan-2005 22:10 |
| Error C2146: syntax error : missing ',' before identifier 'C4' | mattchew008 | C++ Forum | 2 | 19-Dec-2004 07:06 |
| Can enum have same name as class? | crystalattice | C++ Forum | 3 | 08-Dec-2004 17:43 |
| OpenGL always reports error | mvt | OpenGL Programming | 2 | 04-Jun-2004 07:42 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The