Of course you can
$whatever_db_linkid = mysql_connect($connectiondetails_for_whatever_db);
if(is_resource($whatever_db_linkid)) { mysql_select_db('whatever_db',
$whatever_db_linkid); }
$someother_db_linkid = mysql_connect($connectiondetails_for_someother_db);
Usergroups.
Most likely, you're dealing with an application where you'll want to have
different kinds of users (administrators, power users, users).
Just make a usergroup for accounts that haven't been activated yet.
Also, a separate table holding information on how to activate (something
along
Strtotime()
Look it up in the manual :-)
-Original Message-
From: Karen Resplendo [mailto:[EMAIL PROTECTED]
Sent: den 7 november 2003 19:44
To: [EMAIL PROTECTED]
Subject: [PHP-DB] CONVERT STRING VARIABLES TO DATES, THEN COMPARE (HOW?)
Apache on NT using MS SQL Srvr 2000
PHP 4.03pl1
I
PHP is server-side, not client side.
That said, what you could do is simply make use of window.onunload or
window.onclose in javascript to bring up a second window/page..
of course, anyone with half a brain and a popup-stopper won't get that
page :)
--rylin
Jamie Saunders wrote:
Hi,
I'm
be able to use some of
the suggestions in here to solve your problem.
Rich
-Original Message-
From: Oscar Rylin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:01 AM
To: Jamie Saunders
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] detecting browser close or change of url
PHP
see mysql_insert_id($link_identifier)
-- rylin
Patrik Fomin wrote:
Hi,
im adding a post to the database, is there any way to retrive back the ID
for the post that i just created?
the id is auto_increment and primary key.
like
$sql = insert into test (namn, www) values('test', 'test.com');