Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Thursday, April 17, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 21
Guests Online: 19
Members Online: 2

Registered Members: 82818
Newest Member: Ahmed
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

php prob

mrdj204
Member



Posts: 168
Location: Landing NJ USA
Joined: 17.01.06
Rank:
Newbie
Posted on 15-02-07 20:37
im getting this error

Code

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/djthegod/public_html/cms/viewArticle.php on line 10




with this code

Code
<?php
// Require the database class
include "includes/DbConnector.php";

// Execute the query to retrieve the selected article
$result = mysql_query('SELECT title,thearticle FROM cmsarticles WHERE ID = '.$_GET['id']);

// Get an array containing the resulting record
$row = mysql_fetch_array($result);
echo "Your selected article: $row['title']<br><br>$row['thearticle']";

?>




id appreciate any help

Edited by mrdj204 on 15-02-07 20:38
mrdj204@hotmail.com mrdj204 http://l2p-network.com/
Author

RE: php prob

mrdj204
Member



Posts: 168
Location: Landing NJ USA
Joined: 17.01.06
Rank:
Newbie
Posted on 15-02-07 20:44
THANK YOU SOOOOOO MUCH!
mrdj204@hotmail.com mrdj204 http://l2p-network.com/