1
glennnphp
need to add a simple CREATE TABLE script to avatar.php
  • 2006/9/2 0:56

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


i have a CREATE TABLE $table line that i've been using in my old script that i just migrated everyone from to XOOPS - i need to put this somewhere in avatar.php where it'll run whenever someone uploads a new avatar - i haven't been successful in placing in the right place yet. can someone help?


$sql3 "CREATE TABLE IF NOT EXISTS ".$avatar_id."
( ip VARCHAR(255), time VARCHAR(255)) TYPE = MYISAM; "
;
mysql_query($sql3);


TIA
g

Login

Who's Online

276 user(s) are online (184 user(s) are browsing Support Forums)


Members: 0


Guests: 276


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits