I have installed xampp server in my pc. I am not able to open localhost page in which I can create my own project(or folder)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have installed xampp server in my pc. I am not able to open localhost page in which I can create my own project(or folder)?

i want to create one folder in localhost where I can store my files. I have created one login page and have written the insert query for the same. But its not working. can anyone provide me suitable guidance?

10th Mar 2017, 5:42 PM
Monali Shah
Monali Shah - avatar
5 Answers
+ 4
you seem a bit too confused about what you are doing. php files can be opened and edited with notepad. find a tutorial about an html/php form get familiar with it. find a tutorial about database access from php/pdo/mysqli and get filiar with inserting, updating and deleting data in a database table. combine the knowledge gained in your final project. Hint everything you need can be found on w3schools in the html5-php-sql tutorials
10th Mar 2017, 6:45 PM
seamiki
seamiki - avatar
+ 3
reorganize your thoughts pls. if the html page is visible , the server is running and you can access the site from localhost. For mySql... try to insert data in the db table manually using phpMyAdmin. in the queries section there is an option to convert the sql query to be used in your php code. Copy the modified query and paste it in the php file after the database connection. Unless you create a script to export the sql database table as a file (.csv?) and save it in your created folder, there is no way data will magically appear there.
10th Mar 2017, 6:17 PM
seamiki
seamiki - avatar
0
How are you trying to access the page? Did you start Apache and MySQL using the XAMPP Control Panel and confirm that its running without any errors?
10th Mar 2017, 6:02 PM
Alex
0
yes its running without any errors. But the data which I have entered in html page that is not visible in phpMyAdmin database table
10th Mar 2017, 6:10 PM
Monali Shah
Monali Shah - avatar
0
i am not able to open PHP files also
10th Mar 2017, 6:26 PM
Monali Shah
Monali Shah - avatar