This is a discussion on "[SOLVED] I don't know why but my mysql code is all messed up" within the PHP Forum section. This forum, and the thread "[SOLVED] I don't know why but my mysql code is all messed up are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] I don't know why but my mysql code is all messed up
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
I have this web site "EGT Worlds" (egtworlds.com) which is a active directory and I want to spit out some MySql data into a div tags but when I close of the function I get this:
Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\core\wallofworlds.php on line 31 But it doesn't close before that line and I need it to read the mysql_close($con); string at the end. Its as if PHP is choking over my data. Here is the my code:
__________________
If I was a big money making person, You wouldn't be here, but You are. (Nothing personal, just a joke!) EGT Worlds: The funny thing about web portals. Finished!
Last Blog Entry: Planning Ahead (Yesterday)
Last edited by Jack Franklin; Apr 19th, 2008 at 08:11. |
|
|
|
|||
|
Re: I don't know why but my mysql code is all messed up
Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\core\wallofworlds.php on line 31
Try removing the very last} in you code. Pat |
|
||||
|
Re: I don't know why but my mysql code is all messed up
Oh da, its not a function here I thought I was righting a function.
(Doh! - hammer hits head) Oh well, thats what you get for forgetting the coffee.
__________________
If I was a big money making person, You wouldn't be here, but You are. (Nothing personal, just a joke!) EGT Worlds: The funny thing about web portals. Finished!
Last Blog Entry: Planning Ahead (Yesterday)
|
|
|||
|
Re: I don't know why but my mysql code is all messed up
he he, it is always the simple mistakes that we all overlook every once in a while. I love how php will tell you where your mistake is (giving you which line is causing the problem).
Take care, Nathon Shultz
Last Blog Entry: First Post! (Apr 18th, 2008)
|
|
||||
|
Re: I don't know why but my mysql code is all messed up
lol, that was a frustrating day,
close the topic
__________________
If I was a big money making person, You wouldn't be here, but You are. (Nothing personal, just a joke!) EGT Worlds: The funny thing about web portals. Finished!
Last Blog Entry: Planning Ahead (Yesterday)
|
![]() |
| Tags |
| mysql, php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Linking php code to a form & mysql database | longstand | PHP Forum | 21 | Oct 9th, 2007 16:40 |
| Please Help I have messed up! | Teejay | Databases | 1 | Nov 5th, 2006 14:37 |
| Help - messed up! | Pickle | JavaScript Forum | 1 | Feb 21st, 2006 11:58 |
| Something messed up... | Jdinh04 | Web Page Design | 2 | May 18th, 2005 23:33 |