Checking for records + deleting via URL
| From: | Daniel Alsén | Date: | Fri, 03 Nov 2000 16:03:57 +0000 |
| Subject: | Checking for records + deleting via URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23591@lists.php.net to get a copy of this message | ||
Hi!
I have two questions:
1. Im building an administrative tool to add, delete and update records in
MySQL.
I need some help on how i can check if there already is a record with a
identical value as i entered in my form and respond with a error message.
2. I need to create a link dynamically on each row as im showing the
database in a table. The link will contain a 'delete'-command.
How do i add the correct id to the link and what should the syntax of the
link be?
Does anyone have any exmple code or URLs where i can learn something about
this?
Regards
## Daniel Alsén | http://www.eyebee.com #
## Innehållsbolaget | ICQ: 63006462 #
## daniel@eyebee.com | Fax: +46 8 4100 1650 #
## +46 8 4100 1605 | Mob: +46 709 93 57 05 #