This is a discussion on "PHP, MySQL Error" within the PHP Forum section. This forum, and the thread "PHP, MySQL Error are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
PHP, MySQL Error
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
PHP, MySQL Error
Hi all,
I'm currently designing a jobs site which requires a lot of PHP/MySQL work. Now, I'm not really an expert at either but as I'm the only one in our company who is more familiar with PHP (everyone else is experienced with ASP, .NET etc.) I've been given the job. I'm using Dreamweaver to help with producing the queries, code etc. (sssh I'm working on the newsletter page, where someone inputs their email address and submits it to the database. That all works fine, but when I click submit it throws me this error (even though the data does get stored in the database) Quote:
Thanks in advance for any help! |
|
|
|
#2
|
|||
|
|||
|
Re: PHP, MySQL Error
Hi Emzi,
You are probably echoing something or have white space in the file you are including: Connections/ukjobsite.php There is a way around it if you have to echo something before a redirect... but nine times out of ten, it's just from whitespace before/after php tags or outputting something before the redirect. |
|
#3
|
||||
|
||||
|
Re: PHP, MySQL Error
Hi Jimz, thanks for that
I checked the Connections/ukjobsite.php file but there isn't any white space in the file. I don't think I'm echoing anything either. I'm confused :S |
|
#4
|
|||
|
|||
|
Re: PHP, MySQL Error
Well, you've got to be outputting something before that line, because the headers are already gone.... Otherwise you wouldn't be getting the error....
BTW, this is really slow and unecessary:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| mysql error | csun | Databases | 1 | Jul 24th, 2007 14:35 |
| Error 500 - Internal server error | JasonStanley | PHP Forum | 3 | Apr 23rd, 2007 17:56 |
| PHP/MySQL Error - won't load extension! | EdgeWalker | PHP Forum | 1 | Feb 20th, 2007 09:59 |
| MySql error help please | charter | Databases | 1 | May 8th, 2004 22:23 |