[PHP-DB] Using global variables in mysqli-extended class

2004-08-09 Thread Guus der Kinderen
mysqli to class database_foobar gets me the expected result of "xconstructorytest". Somehow, making the class an extention of mysqli, seems to interfere with calling the $somevar variable. Can anyone confirm this, or explain this behaviour to me? Regards, Guus der Kinderen //

[PHP-DB] Re: MAIL() help needed :-(

2004-08-09 Thread Guus der Kinderen
Chris, Instead of: > mail($to_email, $subject, '', $headers); Try this: > mail($to_email, $subject, $body_html, $headers); Get the $body_html out of $headers too. Regards, Guus der Kinderen Chris Payne wrote: Hi there everyone, I'm having a major problem. I'

[PHP-DB] Re: Timeout problem

2004-08-09 Thread Guus der Kinderen
Hello Mauro, There are several scripts available for performing database-backups. You can find more information for mysql here: http://dev.mysql.com/doc/mysql/en/Backup.html Why re-invent the wheel? Hope this helps. Regards, Guus der Kinderen Mauro Chojrin wrote: Hi: I'm develop

[PHP-DB] Re: Exporting Data From MySQL Using PHP

2004-08-09 Thread Guus der Kinderen
roblem. Personally, I'd run this as some sort of batch script (using the mysql command line interface with the -e option, for example). Hope this helps you along a bit. Regards, Guus der Kinderen Ron Piggott wrote: I have created a MySQL database. The table I am creating is a sub

[PHP-DB] Re: Exporting Data From MySQL Using PHP

2004-08-09 Thread Guus der Kinderen
;s example shows you how, but it's more thorougly explained in the php documentation. Have a look at http://www.php.net/manual/en/ref.mysql.php and its subpages. It has examples and explanations you'll find very useful in setting up PHP to work with a MySQL database. Regards,