Forums

PHP

This topic is locked

Delete entry in a database with Phakt

Posted 05 Jan 2002 18:42:21
1
has voted
05 Jan 2002 18:42:21 ced jug posted:
I am beginer with Phakt and Php so please, bare with me. I have a database storing a list of cars with all the related informations. I managed to built an entry page for the database and a viewing page. I began to stumble when I tried to build a delete page. I want to diplay a list of all the car and add a checkbox to each of them in order to remove the checked ones from the database. I created a field in my dbb to store a 0 or 1 depending on the value of the checkbox but I can't fill this field, it doesn't work.
If any of you has an idea,
please, heeeeeeeelp!

Thanks

Replies

Replied 07 Jan 2002 01:12:31
07 Jan 2002 01:12:31 Tim Green replied:
This issue has been dealt with (in detail) on this forum. I know for a fact that code was posted to do exactly this (I wrote it), so I would suggest that you search the forum carefully.

Note: It is very possible that the original issue was related to multiple updates rather than deletes, but as there is very little difference between the two methods, you should be able to take the principle of one and apply it to the other.

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic