| | |
Deleting rows
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2009
Posts: 47
Reputation:
Solved Threads: 8
-1
#2 24 Days Ago
futhonguy,
I already answered this question in the other thread you posted about an hour ago:
http://www.daniweb.com/forums/thread235823.html
I already answered this question in the other thread you posted about an hour ago:
http://www.daniweb.com/forums/thread235823.html
•
•
Join Date: Sep 2009
Posts: 524
Reputation:
Solved Threads: 61
-1
#3 24 Days Ago
yes you can always do that provided that the field name has unique constraint on it.Otherwise you will end up deleting more than one row with the same field name but different ids.
Is this a duplicate thread you created. If in case, you forgot the one, after you created it, you can always see the threads started by you in the profile or else browse the threads subscribed by you; both options accessible from the control panel one of the menu from the row of top header menus
Is this a duplicate thread you created. If in case, you forgot the one, after you created it, you can always see the threads started by you in the profile or else browse the threads subscribed by you; both options accessible from the control panel one of the menu from the row of top header menus
Last edited by network18; 24 Days Ago at 1:53 am. Reason: Edit: Duplicate thread?
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
-2
#4 23 Days Ago
This is simple, just instead of WHEREing the id in your query, you should WHERE the field. BUT take care with this, if you have two or more rows in which the field have the same name, then I'm afraid you'll be deleting all of these rows...
I take your reality and substitute my own
violarisgeorge.com
violarisgeorge.com
![]() |
Similar Threads
- deleting rows from a JTable (Java)
- Deleting rows in Excel (VB.NET)
- Deleting rows in datagrid (C#)
- update JTable after deleting a rows! (Java)
- Delete all rows from table in javascript (JavaScript / DHTML / AJAX)
- Code for Deleting a Record in a database?? (Visual Basic 4 / 5 / 6)
- Adding a deleting rows (JSP)
- Deleting Rows in excel (Visual Basic 4 / 5 / 6)
Other Threads in the PHP Forum
- Previous Thread: PHP to display content in editable text area
- Next Thread: PHP Email Form with Validation
| Thread Tools | Search this Thread |
apache api array basic beginner binary broken cache cakephp checkbox class cms code computing confirm cron curl customizableitems database date delete display dynamic echo email error external file files filter folder form forms forum function functions gc_maxlifetime google headmethod host howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction memmory memory menu mlm multiple mysql navigation oop parsing paypal pdf php phpmysql problem query question radio random recursion remote script search select server sessions sms snippet source space sql syntax system table thesishelp trouble tutorial update upload url validator variable video web youtube





