sorie it was my typo error. actually in my code there is already {} with my
first if statement and there is also a space after VALUES...
I still need some help here with my code...how can I prevent it from inserting
a duplicate row of null values???
Anyone can help ?
Thanks in advance.
On Tuesday 30 March 2004 19:46, [EMAIL PROTECTED] wrote:
sorie it was my typo error. actually in my code there is already {} with my
first if statement and there is also a space after VALUES...
Whenever you post code, use copy and paste, or be extremely meticulous that
you do not introduce
On Tuesday 30 March 2004 20:13, [EMAIL PROTECTED] wrote:
okay I have echoed $sql and before I did enter anything into the form, the
form is already inserting null values into the database. Maybe that is the
reason for the duplicate row of null values.
Yes, that would be the reason.
Do you
G'day All,
Duh! Sorry, I had deleted the line that calls the query. I need to get
home...
cheers
kim
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks everyone - it turns out that variables can not begin with a number,
as someone else on this list learned today as well. Doh! :)
Jen Swofford
[EMAIL PROTECTED]
On Tuesday 28 May 2002 06:00, Jen Swofford wrote:
I have a problem. I am working on two separate sites on two separate
On Tuesday 28 May 2002 06:00, Jen Swofford wrote:
I have a problem. I am working on two separate sites on two separate
servers (one is Linux and one is Unix) and I am doing virtually the same
thing with each, yet only one of them works. What can I be doing wrong?
Check your php.ini files.
Sigh... they are set to On. Anything else anyone can think of?
Jen
On Tuesday 28 May 2002 06:00, Jen Swofford wrote:
I have a problem. I am working on two separate sites on two separate
servers (one is Linux and one is Unix) and I am doing virtually the same
thing with each, yet only
Have a look at addslashes
http://www.php.net/manual/en/function.addslashes.php
Miles
At 01:20 PM 9/5/01 +0200, shi wrote:
Hi
I'm trying to insert a text into a MYSQL DB, and here is the problem. If the
text looks like this x xx x x xxx 'xxx xxx then PHP interprets the
text following the ' as
OK, did that and it's just printing the INSERT command back to me.
INSERT INTO OVEvents (First_Name, Last_Name) VALUES(Jeff, Oien)
Any help from here? Thanks.
Jeff Oien
HINT
echo $sql;
/HINT
always helpful, then paste that into the command line client and check the
error
Cameron
That told me my problem. Thank you! I hadn't selected the database
in my connect include but had it in other scripts and not this one.
Long story but thanks for the help. I can stop banging my head now.
Jeff Oien
on 5/9/01 12:29 PM, Jeff Oien at [EMAIL PROTECTED] wrote:
Am I missing
10 matches
Mail list logo