0
ELDERS PLEASE HELP WITH DATABASE I request you to fully help me....
i am begginer and i am making a site which requires login page i have made the design and all but when i log in through login page the data i put doesn't goto to the database and it didnt even show an error its successfully say you have be sing in please login now but when i check database there's nothing and ya if you can give me any contact of you it will be great ... Thnkxs for help in advance i realy need that site fast i have some issues please help me out
8 Antworten
+ 6
Are you using MySql in PHP?
+ 2
what do you mean go to database??
you can query your db using php to get all data and use it in your HTML.
+ 1
@Harsh Ranjan you need to execute queries from your php script in order to manage your DB.
Use exceptions to see what kind of error you get when you try to connec to the database.
Have a look at the PDO examples on w3schools.com
Connect to DB
https://www.w3schools.com/php/php_mysql_connect.asp
Select data from DB
https://www.w3schools.com/php/php_mysql_select.asp
in the same set of tutorioals on w3schools you can find how to insert new data, edit/delete existing data.
0
yes
0
ya but its showing fine but the data is not getting stored in the db what could be the reasons behind this #seamiki
0
post your code maybe we can handle it
0
oki but there are lots of file because its an login page so how should i paste it here
0
thnkxs @seamiki