Looking for some php and sql help

They have: 1 posts

Joined: Mar 2005

I have a website. well, almost... It randomly selects a picture then the user can rate it based on some statistics, then the form submits itself to self and returns with the results... however, i keep getting an error where it says unexpected $ on line 350, and each time i try to change something the number keeps going up... any suggestions? or should i just post the code?

dk01's picture

He has: 516 posts

Joined: Mar 2002

If you could copy the code into a .txt file and attach it then we can probably figure it out. Laughing out loud

-dk

Busy's picture

He has: 6,151 posts

Joined: May 2001

or if you dont want to post the whole code, post the 5 lines above 350, UNLESS line 350 is the end of the file

There are heaps of that sort of script, one I know of is the hotornot script at hotscripts
*must stop recommending hotscripts, someone might think I work there or something lol*

He has: 1,758 posts

Joined: Jul 2002

it's probably because you haven't closed a set of parentheses or curly braces or something. Like they said... post the code and we'll tell you where your going wrong.

Andy

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

[Chanting] Post It! Post It![/Chanting] LOL

We are eager to troubleshoot. Myself, I love doing that.

-Greg

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.