Enjoy an ad free experience by logging in. Not a member yet?
Register .
05-31-2007, 05:40 AM
PM User |
#1
Senior Coder
Join Date: May 2005
Posts: 2,137
Thanks: 96
Thanked 72 Times in 72 Posts
Error on ?>
I have been trying everything to get this script to work, and nothing.
I get this error when I access the page.
PHP Code:
Parse error : syntax error , unexpected $end in / home / rodgameo / public_html / dbank . php on line 75
And this is all that is on line 75
Any ideas?
05-31-2007, 06:17 AM
PM User |
#2
Regular Coder
Join Date: Apr 2007
Posts: 295
Thanks: 0
Thanked 19 Times in 19 Posts
Looks like you missed a closing }, or have one too many opening {
05-31-2007, 09:12 AM
PM User |
#3
Banned
Join Date: Apr 2007
Posts: 428
Thanks: 29
Thanked 5 Times in 5 Posts
this code has error on line 3
PHP Code:
<?php echo $string ?>
missing
;
correct
PHP Code:
<?php echo $string ; ?>
Lol, considering you defined the string before..
05-31-2007, 03:15 PM
PM User |
#4
Senior Coder
Join Date: May 2005
Posts: 2,137
Thanks: 96
Thanked 72 Times in 72 Posts
Ah ha fixed. Thanks :P
05-31-2007, 05:24 PM
PM User |
#5
Senior Coder
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
Download and install a proper IDE. You won't have these kind of problems.
http://www.eclipse.org/pdt/
06-01-2007, 03:40 PM
PM User |
#6
Senior Coder
Join Date: May 2005
Posts: 2,137
Thanks: 96
Thanked 72 Times in 72 Posts
what is a IDE?
06-01-2007, 03:55 PM
PM User |
#7
Senior Coder
Join Date: Apr 2007
Location: Quakertown PA USA
Posts: 1,028
Thanks: 1
Thanked 125 Times in 123 Posts
Integrated Development Environment.
They typically include syntax checking, syntax highlight, debugging features and others.
06-01-2007, 04:08 PM
PM User |
#8
New Coder
Join Date: Jun 2007
Location: VA
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Usually indicates that you're missing a } somewhere. Can you post all of the code?
06-01-2007, 05:37 PM
PM User |
#9
Senior Coder
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
Quote:
Originally Posted by
ddanatzko
Usually indicates that you're missing a } somewhere. Can you post all of the code?
Didn't read the topic?
06-01-2007, 05:45 PM
PM User |
#10
New Coder
Join Date: Jun 2007
Location: VA
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
aedrin
Didn't read the topic?
Posted just before mine did...sorry
06-01-2007, 05:46 PM
PM User |
#11
Banned
Join Date: Apr 2007
Posts: 428
Thanks: 29
Thanked 5 Times in 5 Posts
Quote:
Originally Posted by
ddanatzko
Posted just before mine did...sorry
it's post #2
06-01-2007, 06:15 PM
PM User |
#12
New Coder
Join Date: Jun 2007
Location: VA
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
matak
it's post #2
OK OK, so I hit reply and then went to the fridge to get a drink and by the time I hit submit others has already replied, I'M SORRY!!!! Would you like me to edit it so we can move on?
06-01-2007, 06:45 PM
PM User |
#13
Senior Coder
Join Date: Jan 2005
Location: Philadelphia, PA, USA
Posts: 1,457
Thanks: 10
Thanked 37 Times in 37 Posts
I'm not trying to beat you to death with this, but I'd like to point out, for accuracy's sake, that you weren't even a member when he posted that it was solved.
Dan
__________________
If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.
Step 1: Learn. Step 2: Search. Step 3: Post here.
06-01-2007, 06:51 PM
PM User |
#14
New Coder
Join Date: Jun 2007
Location: VA
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Hmmm, you are correct, maybe I'm just losing my mind. Anywho, sorry about the extraneous post, I promise to never do it again, I've learned my lesson and I'm man enough to own up to my mistake. Can we stop beating the dead horse now?
06-01-2007, 07:42 PM
PM User |
#15
Senior Coder
Join Date: Jan 2005
Location: Philadelphia, PA, USA
Posts: 1,457
Thanks: 10
Thanked 37 Times in 37 Posts
No hard feelings, and I think I can speak for everyone here!
Dan
__________________
If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.
Step 1: Learn. Step 2: Search. Step 3: Post here.
Jump To Top of Thread
Thread Tools
Rate This Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT +1. The time now is 10:59 PM .
Advertisement
Log in to turn off these ads.