How to Select a Row in a MySQL Database using the URL

On a recent school project, we was making a website that had a social network element. After the user created his account and loged in, he could see his profile. This was useless because no one else could see it. I needed a way so that ever member had a unique URL.  So I created a template that only information from the database to create the webpage. It is very simple to query a MySQL database using the URL.

First part is the URL:

https://www.yourwebpage.com/yourPHPfile?id=yourVariable

Here is a completed one that I used:

http://pausrecords.com/members/memberSelect.php?id=group

Here is the completed source code to use:
memberSelect

 

 


Graveyard Database Logo

Has everything you want to know about grave yards. Plus has many celebrites and world leaders graves. Pssst it is my other site

Google + Profile
Check out Android Photo Mapping, its a app/site I been working on

  • wholesale nfl jerseys
  • wholesale nfl jerseys china
  • wholesale sports jerseys