[PHP] HELP - Parse Error

2009-08-04 Thread Allen McCabe
*Parse error*: syntax error, unexpected $end in * /home/a9066165/public_html/admin/processccu.php* on line *231* I did some major code rewriting about halfway through (lines 114-132), and suddenly I'm getting the above ERROR. I have examined the code line by line, but I'm still relatively new to

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Daniel Brown
On Tue, Aug 4, 2009 at 13:47, Allen McCabeallenmcc...@gmail.com wrote: [snip=everything] Looks like you're missing a closing bracket here: if(!empty($_POST['EMailAddress'])) { $EMailAddress = $_POST['EMailAddress']; } else { $EMailAddress = ; // --- Right here -- /Daniel P. Brown

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Jim Lucas
Allen McCabe wrote: *Parse error*: syntax error, unexpected $end in * /home/a9066165/public_html/admin/processccu.php* on line *231* I have learned from a number of similar mistakes that this error message /normally/ means that I have a miss-matched number of brackets on a foreach, while, or

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Ashley Sheridan
On Tue, 2009-08-04 at 10:56 -0700, Jim Lucas wrote: Allen McCabe wrote: *Parse error*: syntax error, unexpected $end in * /home/a9066165/public_html/admin/processccu.php* on line *231* I have learned from a number of similar mistakes that this error message /normally/ means that I have

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Allen McCabe
Ashley - I am formatting this way, it just didn't translate into gmail : ) Daniel, Martin, and Jim - Thanks very much, my php runs now, however I don't get the result page anymore. My inbox receives the form (missing cells, but that's another issue), but the browser doesn't load processccu.php,

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Allen McCabe
Well, I got it to display a thank you page instead of what I had. I'm rolling with the punches. Got to work on why my email table is not building right. Stay tuned! On Tue, Aug 4, 2009 at 11:09 AM, Allen McCabe allenmcc...@gmail.com wrote: Ashley - I am formatting this way, it just didn't

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Jim Lucas
Allen McCabe wrote: Ashley - I am formatting this way, it just didn't translate into gmail : ) You might try using indentation with more then one space. Try tabs. Any respectable editor will allow you to set the number of spaces it uses to actually represent the tab. That way I can have mine

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Allen McCabe
I created a webpage with the code listed, and a screen shot of the email I am currently receiving (with nonsense entered into my inputs) URL: http://lpacmarketing.hostzi.com/admin/help.html Anyone that can provide help will be rewarded in their next life. That's a promise. Thanks! On Tue, Aug

Re: [PHP] HELP - Parse Error

2009-08-04 Thread Jim Lucas
Allen McCabe wrote: I created a webpage with the code listed, and a screen shot of the email I am currently receiving (with nonsense entered into my inputs) URL: http://lpacmarketing.hostzi.com/admin/help.html Anyone that can provide help will be rewarded in their next life. That's a

[PHP] Help, Parse error caused by quotes andapostrophes in function, How do I fix this?

2002-09-10 Thread Kurtis Harper
The following is the format needed in order to run the convert command from command line, but I have a problem in exec() format: convert picture.jpg -font Arial-Bold -pointsize 20 -fill red -gravity southeast -draw text 10,10 'my text to add to picture' text-overlay.jpg this causes

Fw: [PHP] Help, Parse error caused by quotes andapostrophes in function, How do I fix this?

2002-09-10 Thread Kevin Stone
to picture' text-overlay.jpg`; -Kevin - Original Message - From: Kurtis Harper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 5:35 PM Subject: [PHP] Help, Parse error caused by quotes andapostrophes in function, How do I fix this? The following is the format

Re: [PHP] Help..Parse error

2001-07-20 Thread Jack Sasportas
Actually that is the default setting under 4, and the rest of the code works with the short tags, it's definately something code related... I don;t think it likes that code, but can't find anything to help me resolve the problem. I was hoping not to re-write the code just yet... Thanks Steve

[PHP] Help! Parse error.....

2001-07-20 Thread Jack Sasportas
I have some code that runs under php3 perfectly, but now under 4 I get a parse error on this specific line, can't figure out how to resolve it. the code looks like this html stuff ? } ? more html stuff the error is in the middle line which is the end of a condition... Thanks in advance...

Re: [PHP] Help! Parse error.....

2001-07-20 Thread Paul Strange
On Friday 20 July 2001 06:16, Jack Sasportas wrote: I have some code that runs under php3 perfectly, but now under 4 I get a parse error on this specific line, can't figure out how to resolve it. the code looks like this html stuff ? } ? more html stuff the error is in the middle line

Re: [PHP] Help! Parse error.....

2001-07-20 Thread Jack Sasportas
Tried the alternative stuff with no luck... Looking for any crazy ideas that might work... Thanks ! Paul Strange wrote: On Friday 20 July 2001 06:16, Jack Sasportas wrote: I have some code that runs under php3 perfectly, but now under 4 I get a parse error on this specific line, can't

Re: [PHP] Help! Parse error.....

2001-07-20 Thread rm
in the great big FWIW department, the error may not be on that line, it may only indicate the point where php recognized an error. I had one page with several includes and html code...php reported a parse error on the main page, I couldn't find it, however, eventually, I tracked the error to an

[PHP] Help..Parse error

2001-07-19 Thread Jack Sasportas
I have some code that runs under php3, but under 4 I get a parse error on this specific line, can't figure out how to resolve it. the code looks like this html stuff ? } ? more html stuff the error is in the middle line which is the end of a condition... Thanks in advance... --

Re: [PHP] Help..Parse error

2001-07-19 Thread Steve Edberg
My guess is that you have the short_open_tags option on in your PHP3 config, but off in your PHP4 config. If it's off, PHP will only recognize the ?php...? tags, not ?...?. PHP config params can be set in php.ini, .htaccess, and/or Apache httpd.conf files. Scroll down to short_open_tag in