Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Wednesday, April 23, 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: 20
Guests Online: 16
Members Online: 4

Registered Members: 82885
Newest Member: ConiBE
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/