Date: 02/05/07 (PHP Community) Keywords: php, database I have the script which allows to register new users (field 'nick' in data base) and set their default status as "simpleuser" (field 'stat' in data base). And I want a page where all new users with status "simpleuser" will be listed one after another in table. And near each nick will be form where I could select a user's new status ('moderator' or 'administrator'). And after this table will be a button for subnision which updated database with new values. So, it consists of two files [B]sending.php[/B] and [B]user_submit.php[/B]. sending.php include('connection.php'); $query = "SELECT id, nick, email FROM test WHERE stat = 'newuser'"; // if records are present echo "
antivirus |
apache |
asp |
blogging |
browser |
bugtracking |
cms |
crm |
css |
database |
ebay |
ecommerce |
google |
hosting |
html |
java |
jsp |
linux |
microsoft |
mysql |
offshore |
offshoring |
oscommerce |
php |
postgresql |
programming |
rss |
security |
seo |
shopping |
software |
spam |
spyware |
sql |
technology |
templates |
tracker |
virus |
web |
xml |
yahoo |
home
|