Hi guys, I’m hoping that this is the correct forum to post this in.
I’m making a website for my local rugby club, and as a newbie to PHP I was hoping someone could help me with the following.
I need to display a list of players and their details on a single page called “squad list”. This page needs to have the following list on it, in the format shown:
Shirt # | Surname, Forename | Date of Birth | Nationality | Appearances | Tries
Now, the “surname, forename” will display like that, but it needs to come from two separate (cells? I can’t remember the correct name for it) places but in the same row. (I must apologise for not using the correct terminology, I’m struggling to remember right now what they are correctly called!! ? ? )
So the forename will come from the “forename” field and the surname from the “surname” field, but will be displayed as Surname, Forename (e.g. Bush, George or Blair, Tony – get the idea?)
Each player will have a unique identifier (playerID) but this will not be shown on the page (if possible).
Now I know how to do this if Dreamweaver connects to the database on my hosts server, but for some reason it’s refusing, so I’m wondering if someone could help me to manually code this so that it works…
I need to know how to connect to the database, as well as how to show these records.
Any help would be greatly appreciated, if you need any more information please let me know.
Many thanks.