Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
DB::Execute not working
  • Hi there, I am having trouble finding out why this does not work. Executing the compile() statement generated on PHPMyAdmin works: $update = \Fuel\Core\DB::update("message");
    $update->where("message_id", "=", $message_id);
    $update->set(array("message_spam" => $spam_status)); return $update->execute();
  • What doesn't work? What's the definition of "doesn't work"? Just tried that on a test table here, without problems, the UPDATE query runs fine.
  • I noticed the problem is with the URL. instead of using something like http://www.url.com/2/34/validation I was to instead use http://www.url.com/validation/2/34/ Thats crazy...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion