Re: [PHP] how to rename a database
Prehaps you can rename the database file in mysql/bin ie. database_name.sql to new_database_name.sql and that will work? ___ This email may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you have received this email in error, please contact the sender and delete all copies. Opinions, conclusions or other information expressed or contained in this email are not given or endorsed by the sender unless otherwise affirmed independently by the sender. _ - Original Message - From: "Fang Li" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 7:20 AM Subject: [PHP] how to rename a database > > Does anyone know how to rename a database in MySQL? > Thanks! > > fang > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] [php] Varible declaration
Hi, when I declare the varible $cid like this "http://myserver/index.php?cid=1" it works fine, but when i declare it in the code like this $cid = '1'; it doesn't work... is this maybe because of the level i declare the varible? how to i declare it the same as "http://myserver/index.php?cid=1" but in my php code... PS. I use this varible in a function that is called by a function wich is included and so on... it is rather far down. Thanks Gaur ___ This email may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you have received this email in error, please contact the sender and delete all copies. Opinions, conclusions or other information expressed or contained in this email are not given or endorsed by the sender unless otherwise affirmed independently by the sender. _
Re: [PHP] [php] Varible declaration
Doesn't work still in my function i put a die($cid); and it doesn't display anything value - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "Chris Doyle" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 6:40 AM Subject: Re: [PHP] [php] Varible declaration > Remove the '' around the 1. > - Original Message - > From: "Chris Doyle" <[EMAIL PROTECTED]> > To: "PHP List" <[EMAIL PROTECTED]> > Sent: Friday, March 23, 2001 9:44 PM > Subject: [PHP] [php] Varible declaration > > > Hi, > > when I declare the varible $cid like this "http://myserver/index.php?cid=1" > it works fine, but when i declare it in the code like this > $cid = '1'; > > it doesn't work... is this maybe because of the level i declare the varible? > how to i declare it the same as "http://myserver/index.php?cid=1" but in > my php code... > > PS. > I use this varible in a function that is called by a function wich is > included and so on... it is rather far down. > > Thanks > Gaur > ___ > > This email may contain confidential and/or privileged information for the > sole use of the intended recipient. Any review or distribution by others is > strictly prohibited. If you have received this email in error, please > contact the sender and delete all copies. Opinions, conclusions or other > information expressed or contained in this email are not given or endorsed > by the sender unless otherwise affirmed independently by the sender. > > _ > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] [php] Varible declaration
no problem i have got it now.. needed to declare it global. - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "Chris Doyle" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 6:40 AM Subject: Re: [PHP] [php] Varible declaration > Remove the '' around the 1. > - Original Message - > From: "Chris Doyle" <[EMAIL PROTECTED]> > To: "PHP List" <[EMAIL PROTECTED]> > Sent: Friday, March 23, 2001 9:44 PM > Subject: [PHP] [php] Varible declaration > > > Hi, > > when I declare the varible $cid like this "http://myserver/index.php?cid=1" > it works fine, but when i declare it in the code like this > $cid = '1'; > > it doesn't work... is this maybe because of the level i declare the varible? > how to i declare it the same as "http://myserver/index.php?cid=1" but in > my php code... > > PS. > I use this varible in a function that is called by a function wich is > included and so on... it is rather far down. > > Thanks > Gaur > ___ > > This email may contain confidential and/or privileged information for the > sole use of the intended recipient. Any review or distribution by others is > strictly prohibited. If you have received this email in error, please > contact the sender and delete all copies. Opinions, conclusions or other > information expressed or contained in this email are not given or endorsed > by the sender unless otherwise affirmed independently by the sender. > > _ > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]