0

Ok well my friend wrote me a ShortUrl script and I continue to get a

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/janqed/public_html/index.php on line 37

Well Heres line 37..

echo "Thank you! Your new Short URL is <a href='http://www.Lolurl.net/$newid'>http://www.Lolurl.net/$newid</a><br /><a href="index.php">Go Back</a><br /> ";

Any help would be great thanks ahead of time!

3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by helraizer
0

Allright thanks man now it says it on line 39..

lol this is getting old

echo "You did not specify your current URL<br /><a href="index.php">Go Back</a><br /><br />";
0

w00t I got it thanks so much you even taught me something ' can be inside of " but " cant be inside of ' ;]

0

w00t I got it thanks so much you even taught me something ' can be inside of " but " cant be inside of ' ;]

' can be inside " and " can be inside ', but ' can't be inside ' just like " can't be inside ", but \' and \" can be used to escape the quotes so they are a character in the string, rather than the end.

Sam

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.