![]() |
Having trouble updating using DataMan...
Okay... so I have a datamanager called "media". I've been able to insert and delete items using the datamanager without any issues. However, when I want to update an entry, I am having problems. Here is the jist of what I am doing....
Code:
$media = array('mediaID' => $mid); Code:
Database error in vBulletin 4.0.2: What is "dataid"? And how do I set it to what I want it to be? I thought $dm->set_existing was supposed to extract all the necessary information. It should be "WHERE mediaID = #" (where the number is whatever number I passed into the array from $mid) --------------- Added [DATE]1270089685[/DATE] at [TIME]1270089685[/TIME] --------------- Found the issue... had to put this in my datamanager... Code:
var $condition_construct = array('mediaID = %1$d', 'mediaID'); |
All times are GMT. The time now is 06:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|