question

shubham1610 avatar image
shubham1610 asked

SQL form query

I made a username and submit button on a 1 php page.When u enter the username and click submit button new page will opened and give the whole info of that username.I just want to know the sql query to retrieve the data of that particular user Select * from where username=
sql queryconnectivityforms
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Bhupendra99 avatar image
Bhupendra99 answered
you need to share the table structure to write q query from information shared what can I provide is use below query select * from User where username = @variable
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.