Current location: Hot Scripts Forums » Programming Languages » PHP » Deleting data from a database using php


Deleting data from a database using php

Reply
  #1 (permalink)  
Old 02-04-04, 06:10 AM
hsob hsob is offline
New Member
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Deleting data from a database using php

I need to have a delete section for my database. I知 not exactly sure what to do ( I知 fairly new to php). Well I know I need to pick up the id of the item selected and store that id and then I can delete the row corresponding to that id. The problem is I知 not sure how I get to store the id and how I know the delete link is clicked on. I know this is very basic questions, I have looked around the net and I知 rather confused. Please help, thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-04-04, 02:58 PM
KeithMcL KeithMcL is offline
Newbie Coder
 
Join Date: Jul 2003
Location: Dublin, Ireland
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
I suggest reading Kevin Yanks tutorial on PHP & MySQL:
http://www.sitepoint.com/article/228
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Form to update a MySQL database? Scoobler PHP 9 09-04-08 02:41 AM
help plz: format retrieved Mysql data in HTML with PHP paulj000 PHP 2 10-19-03 09:03 PM
Pulling data from MySQl Database w/ PHP? dayzeday PHP 6 10-07-03 08:01 AM
retrieve data from database vioss PHP 4 08-03-03 05:51 AM


All times are GMT -5. The time now is 07:20 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.