PDA

View Full Version : Help with parse error for my new hack


DrkFusion
07-30-2002, 07:00 PM
I modified a line in my php where
$result = mysql_query($sql);
to
$result = $DB_site->query($sql);
so it would reflect the global use, now it doesn't work it gives me a parse error.
Parse error: parse error in /home/sites/site12/web/forums/review_add.php on line 11

Can somone help.

*You may be asking why this is in general discussion, well because php is for php help, and it doesn't say anything about hacks in the description, and in support, its for people that are stuck with hacks, so I thought I would put it here*

Thanks
Drk

DrkFusion
07-30-2002, 08:20 PM
^bump^
:-/
Drk

Chris M
07-30-2002, 11:35 PM
If you had sent me the file (like I asked;)), then I might have been able to help you...

Besides - Wouldnt it all be better in one file?

i.e. - "reviews.php?action=add"

Email me the files, and I shall see what I come up with...

Satan

Admin
07-31-2002, 06:07 AM
DrkFusion: Please do not bump your posts after only 2 hours. (you've been doing this a lot, stop)