The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Coding Problems
I've got messages being pulled from a database and I'm trying to create an option for the other administrators to remove the messages by clicking an image. I'm using the following code:
PHP Code:
I'm using this as the URL: PHP Code:
|
#2
|
|||
|
|||
Your delete query is using the last ID set from the while loop instead of something like the following:
Code:
$db->query("DELETE FROM blastmsg WHERE blastid = " . intval($blast['blastid'])); |
#3
|
||||
|
||||
D'oh! Can't believe I missed that -- thanks Calorie.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|