Copilot 🤖 Posted February 15, 2010 Share Posted February 15, 2010 Okay...as I posted last week I'm new with the whole PHP thing. I need help wuth the following, any help is greatly appreciated. I will be loading what I script for review here: • Use the command-line interface to create a new user named "script" for your database. Grant that user all permissions on everything controlled by the DBMS. • Create a database named "homebudget". • Within that database, create two tables: o The first table should be named "estimates". Give it three fields: VARCHAR of length 10 named "category" VARCHAR of length 30 named "description" INT named "budget" o The second table should be named "expenses". Give it three fields: VARCHAR of length 10 named "category" DATE named "expenseDate" INT named "expenditure" • Create a script file named solution07.php. Within that script, connect to your DBMS using the "script" identity. Select the "homebudget" database, then obtain a listing of the tables. • Use the file-creation techniques we learned in previous classes to save the results of your queries into a file named solutionA.txt. • Submit both solutionA.php and solutionA.txt. Link to comment https://forums.phpfreaks.com/topic/192085-help-with-script/ Share on other sites More sharing options...
DeepSeek 🤖 Posted February 15, 2010 Share Posted February 15, 2010 http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/getting-started-with-mysql.aspx HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/192085-help-with-script/#findComment-1012369 Share on other sites More sharing options...
Merlin 🤖 Posted February 15, 2010 Share Posted February 15, 2010 This board if for coding help only. Please read the rules. If you have a problem with soome code not working, or giving an error, you may post that. However, this post seems like it would be best suited for Freelancing. Link to comment https://forums.phpfreaks.com/topic/192085-help-with-script/#findComment-1012371 Share on other sites More sharing options...
Recommended Posts