Previous Thread
Next Thread
Print Thread
Rate Thread
#226185 10/10/2002 10:12 PM
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
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

Sponsored Links
Entire Thread
Subject Posted By Posted
a little help msula 10/11/2002 5:12 AM
Re: a little help JustDave 10/11/2002 5:50 AM
Re: a little help msula 10/11/2002 2:20 PM
Re: a little help msula 10/11/2002 7:22 PM
Re: a little help msula 10/11/2002 7:43 PM
Re: a little help JustDave 10/11/2002 7:47 PM
Re: a little help msula 10/11/2002 8:39 PM
Re: a little help JustDave 10/11/2002 9:19 PM
Re: a little help msula 10/11/2002 10:20 PM
Re: a little help JustDave 10/11/2002 10:30 PM
Re: a little help msula 10/13/2002 7:21 PM
Re: a little help JustDave 10/14/2002 2:31 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)