Hi I have managed to set up a players database log-in with name number e-mail and am trying to get a buton on the players home page that when clicked adds one to thier total,
Do I have to set up a new database for this or a new table in the base i have ?
I am looking to run a sort of mental olympics so there will be numbers coming in from difrent pages with in the site.
I have got this far ,
<HTML><HEAD><TITLE>Player #001</TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 10.00.8400.0"><STYLE type=text/css>BODY {
FONT-FAMILY: verdana, arial, sans-serif
}</STYLE></HEAD><BODY>
<FORM style="BORDER-TOP-COLOR: ; BORDER-BOTTOM-COLOR: ; BORDER-RIGHT-COLOR: ; BORDER-LEFT-COLOR: " method=post action=default.cgi>
Welcombe Player: <INPUT value=get_player_base name=player>
<INPUT type=submit value="+1 click" name=click> clicks this visit =
<INPUT style="HEIGHT: 22px; WIDTH: 61px" size=1 value=0000000 name=clicksnow> total number of clicks to date =
<INPUT value=get_total_clicks name=totalclicks><BR>
</FORM>
</BODY></HTML>
do I have to connect to the database in the headder and read the numbers or do i conect in the php after </form> ?
thanks.
if I have to make a new database is thata relation database ?