heroine
08-16-2007, 09:31 AM
Hi All,
I have this scenario, hopefully it can be possible to implement it in php scripting using command line.
I have a datatbase (MySQL) to connect.
By using command prompt:
- So i would like to have a php script to connect to my mysql, and it says it's connected successfully...(i have this code done) additionally, I want this script to allow the end user to enter his/her own database name...be able to create a name which will automatically be generated into mysql. Another script to drop the database ?????? and also give options to user....do you really want to delete or drop ...????
Can both php (connect & create name) be in the same script? how?
Once that's done, the user must be able also to connect through command prompt to a URL, in order to retrieve data and store them into mysql.
Can I find some sample working codes to illustrate all?
Hope to get your comments soooooonnnnn...
thanks a lot for reading....
I have this scenario, hopefully it can be possible to implement it in php scripting using command line.
I have a datatbase (MySQL) to connect.
By using command prompt:
- So i would like to have a php script to connect to my mysql, and it says it's connected successfully...(i have this code done) additionally, I want this script to allow the end user to enter his/her own database name...be able to create a name which will automatically be generated into mysql. Another script to drop the database ?????? and also give options to user....do you really want to delete or drop ...????
Can both php (connect & create name) be in the same script? how?
Once that's done, the user must be able also to connect through command prompt to a URL, in order to retrieve data and store them into mysql.
Can I find some sample working codes to illustrate all?
Hope to get your comments soooooonnnnn...
thanks a lot for reading....