Ok, for one of my mods to my site I need a little help.
Basically, its an extension of the users table. I already created the added fields to my w3t_Users table, and they are:
U_Phonehome
U_Phonework
U_Phonecell
U_Winch
U_Coverage
U_Calltime
So, this is what I have so far:
code:
// Require the library
require ("/home/michiganjeepers/www/forums/main.inc.php");
$userob = new user;
$user = $userob -> authenticate();
$Username = $user['U_Username'];
$Password = $user['U_Password'];
// ---------------------
// Send the page to them
$html = new html;
$html -> send_header("Recovery List",$Cat,0,$user);
$html -> table_header("Recovery List");
$phpurl = $config[phpurl];
$html -> open_table();
That just pulls all the required info and checks to see who is accessing the page. So basically, what I want to do is have a form to fill out completing the information required to fill those new fields in the users table.
Well, actually, I would like to query the DB first to see if they have any of this already filled out. If they do, it displays that info in the form box already, if not, it is just blank. I've tried looking at various parts of the editbasic.php for ideas on how to accomplish this, but I'm just not php savvy
