[PHP-DB] mysqli_stmt_bind_param question

2008-04-04 Thread Jason Pruim
Hi Everyone, I have a MySQL database that I am accessing from PHP. The table in question has a auto increment field on it and I don't want to include that in my add/edit/update query's to the database... But I can't seem to figure out how to ignore it? Everything I have done seems to

[PHP-DB] Re: UPPER(AES_DECRYPT(...)) bug?

2008-04-04 Thread Roberto Mansfield
Philip Thompson wrote: Hi all. Here's my disclaimer: this question is solely MySQL-related - I just happen to be programming in PHP. I have found some functionality which *appears* to be a bug, but I didn't want to report it before asking some intelligent people. I have this simple

Re: [PHP-DB] php + mysql + copy file

2008-04-04 Thread tacio vilela
Hi, try this, $carpeta = $_SERVER['DOCUMENT_ROOT']./subidos; // nombre de la carpeta ya creada. chmool 777 (todos los permisos) copy($_FILES['file']['tmp_name'] , $carpeta . $_FILE['file']['name']); Regards, Tacio Vilela 2008/4/2 Chris [EMAIL PROTECTED]: $carpeta = subidos; //

Re: [PHP-DB] mysqli_stmt_bind_param question

2008-04-04 Thread Krister Karlström
Hi! First of all you must connect to the server and then perform an init to get a statement. Maybe you dropped that code out here... Please have a look at the manual page: http://www.php.net/manual/en/function.mysqli-stmt-prepare.php In order to get the result you also need to bind the

Re: [PHP-DB] mysqli_stmt_bind_param question

2008-04-04 Thread Jason Pruim
Hi Krister, On Apr 4, 2008, at 2:35 PM, Krister Karlström wrote: Hi! First of all you must connect to the server and then perform an init to get a statement. Maybe you dropped that code out here... Please have a look at the manual page:

Re: [PHP-DB] mysqli_stmt_bind_param question

2008-04-04 Thread Krister Karlström
Hi again Jason! Jason Pruim wrote: On Apr 4, 2008, at 2:35 PM, Krister Karlström wrote: You also don't need to mess around with so many parameters. What do you mean by this? Since you're working in object context you mostly just refer to your variable with the name of the object and the