Sorry, wrote wrong here so one more try.
Well, no. But that's not where the problem is. If I was unclear - the
id-field work as it should. It's when I try to use A variable in the
query-string the problem pops up.
IOW - INSERT INTO SITE (id,name,url,comment) VALUES
(null,'testname','testurl',null
>Have you tried inserting it without including the id field in the insert
statement? I have several tables with auto increments and I never even
bother
>putting that field in the insert statement.
Well, no. But that's not where the problem is. If I was unclear - the
id-field work as it should. It
Okay, how do I make PHP 4.3.2. and MySQL 4.0.13 to agree on what null means?
I'm trying to get a form to add a new record into my database where one of
the
Fields might be null and for said field to actually be a null record once
into
The database as well...
This is the script in question (a simp
Another stupid newbie question...(btw, is there a list more geared towards
the newbies?)
Is the file_put_contents() function not available in PHP 4.3.2?
The reason I ask is that I get this error when I try to use it:
Fatal error: Call to undefined function: file_put_contents()
File_get_contents
>> maybe you should try $HTTP_POST_FILES?
>I have tryed that too, but nothing happened.
Hm, can't think of whatever else is wrong right
Now but I just tried out your script on my
Server just to see, and it outputs the
Filename alright. So it's nothing wrong
With your script. Granted, my server is
>The upload_single.php script is just this:
>$ime = $_FILES["thefile"]["name"];
> print ($ime);
>?>
>I just want for begining to print the name of file.
>But It doesn't work.
Do you get anything if you change "name" to
"tmp_name" to beging with? If I'm not mistaken
,"name" isn't filled in w
6 matches
Mail list logo