Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to store user input data in a database then retrieve it and display it on the screen using PHP and SQL.

What I have tried:

I have tried lots of things, but I am new to SQL and I really want a simple answer. All the tutorial sites go through complicated processes that are hard to understand for a beginner. I am not asking anyone to write up a bunch of code for me, but I am asking for plain basics. Thanks in advance!
Posted
Updated 8-Oct-20 4:14am
v2

Quote:
but I am asking for plain basics
That is not an easy question to answer. There are many tutorials on PHP and SQL available, for example PHP Tutorial[^] and SQL Tutorial[^]. Both of these start from fundamentals and are well worth the time.
 
Share this answer
 
I literally duckduckgo'd "php get data from sql server" and got this complete example...(see answer).
SQL Server Database Query with PHP - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900