[PHP-DB] (PDO) database entries are not possible, even without errorfeedback!

2006-03-28 Thread Tamer Higazi
Hi! I am trying to insert with PDO-Sqlite rows through a form. I can do whatever I want, I don't find the sollution where I made the error. Perhaps somebody of you could help me?! However, the database is created with sqlite, and the entries should be done with PDO_SQLITE. However, no entries

Re: [PHP-DB] Using OR in a SELECT statement

2006-03-28 Thread Miles Thompson
At 02:40 AM 3/28/2006, Arno Kuhl wrote: Newbie MySQL question... I have a situation where if I don't have a custom value then I must use the default value. There will always be a default value but there may also be a custom value. I could do this with: select value where id and custom

RE: [PHP-DB] help with file downloads from MySQL

2006-03-28 Thread Mickey Martin
I found the problem. I had 2 separate PHP sections of code with a blank line between them. For some reason, the blank line was causing the newline to be outputted before the file. I found it by accidentally putting a blank space between the sections that output the file and the free the results

Re: [PHP-DB] if() and else() help needed

2006-03-28 Thread JeRRy
Well the way I have it over 2 PHP calls works, as 'nickname' is a UNIQUE key entry in the db. So multiple entries are not an issue. So if it can't insert, as it will try and fail it will update. But if the insert works I am guessing it's going to do an update straight after it

Re: [PHP-DB] if() and else() help needed

2006-03-28 Thread David Robley
JeRRy wrote: Well the way I have it over 2 PHP calls works, as 'nickname' is a UNIQUE key entry in the db. So multiple entries are not an issue. So if it can't insert, as it will try and fail it will update. But if the insert works I am guessing it's going to do an