php parse error
I too hit a brick wall with a parse error, but it was over a search engine php, so a ton of code to un ravel, being in php by only 4 days, i figured i'd take it to an expert heres the code:
Code:
<?php |
Please post your code between [code] and [/code] tags. It makes it far easier to read as it will maintain indentations.
Below my attempt to get YOUR indentations right; I might have made a mistake. Code:
<?php |
wow.. thanks much!
hrmm, did you add it? the semantics are wonderous! but im still receiving a error on the final line.. could it also be because most of my pages are .htm's and the article it requests is article.php? aside, im sorry if i in any way imlied this is MY code or that i constructed it, obvious enough see :D it was a public doc tutorial, and i'd just about given up on searchbars lol again, much thanks for the assitence, i grok your talent!! |
No, I did not add it; should be before the last '?>' to close the function doSearch
No, it's not because of php versus htm as you get a parse error indicating that PHP processes it No, I did not say it was your code although it is the code that you posted and therefore the reference to YOUR ;) Else it gets to difficult to explain :) If you use an editor with syntax highlighting, you might see it. PS There is a dedicated programming section at LQ PPS If your problem is solved, please mark it as such using the thread tools just above the first post. |
THANKS MUCH!!
lol, the document reads perfectly, now i have a couldnt connect to database server, dont stress, i can google and check the programming link, thaks again sir! |
All times are GMT -5. The time now is 04:45 AM. |