[PHP] Odd problem with ereg_replace and addslahes

2003-12-03 Thread Ian Truelsen
Here is what I am doing: I am reading in the contents of a text file that contains variables whose properties I want to output. So, as was suggested on the list I used the following: eval(\$rest = \.addslashes($pre_rest).\;); This works quite well, with one problem: if I use a contraction, like

[PHP] Odd problem with ereg_replace and addslashes

2003-12-03 Thread Ian Truelsen
Here is what I am doing: I am reading in the contents of a text file that contains variables whose properties I want to output. So, as was suggested on the list I used the following: eval(\$rest = \.addslashes($pre_rest).\;); This works quite well, with one problem: if I use a contraction, like

[PHP] Odd Problem

2002-10-13 Thread Stephen
Hello, I'm running a script that inserts a form's contents into a MySQL table. However, when I insert the contents, I get an error telling me this: Unknown column 'employee' in 'field list' I can't find the problem. I have a field in my table called employee but I guess it doesn't see it.

RE: [PHP] Odd Problem

2002-10-13 Thread John W. Holmes
Print your SQL to the screen and verify it's value is what you think it is. Make sure it's accessing the right table. ---John Holmes... -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 13, 2002 5:03 PM To: PHP List Subject: [PHP] Odd Problem

Re: [PHP] Odd Problem

2002-10-13 Thread Stephen
I got the spelling and everything right... - Original Message - From: John W. Holmes [EMAIL PROTECTED] Newsgroups: php.general To: 'Stephen' [EMAIL PROTECTED]; 'PHP List' [EMAIL PROTECTED] Sent: Sunday, October 13, 2002 4:17 PM Subject: RE: [PHP] Odd Problem Print your SQL

RE: [PHP] Odd Problem

2002-10-13 Thread John W. Holmes
PROTECTED] Subject: Re: [PHP] Odd Problem I got the spelling and everything right... - Original Message - From: John W. Holmes [EMAIL PROTECTED] Newsgroups: php.general To: 'Stephen' [EMAIL PROTECTED]; 'PHP List' [EMAIL PROTECTED] Sent: Sunday, October 13, 2002 4:17 PM Subject

[PHP] Odd problem using sendmail - possibly to do with set_time_limit?

2002-03-04 Thread Alexis Birkill
Hi, I'm trying to track down an odd problem in a script I'm writing, the purpose of which is below: The script takes data of a subject and a body for an e-mail from an HTML form, and sends this out to a list of recipients stored in a datafile parsed by the PHP. The size of the e-mails can