Jump to content

need to add a | for every new query...


Monkuar

Recommended Posts

$DB->query('UPDATE clans set pending_ids=pending_ids+"'.$ibforums->member['id'].'|" WHERE id = '.$this->clan['id'].'');

 

I have a field called

 

pending_ids

 

and each time a new user requests to join a clan, i need it to add "memberid|" so then I can explode the member id's with the | later..

 

this query doesn't work it doesn't read the " | "

Link to comment
https://forums.phpfreaks.com/topic/256504-need-to-add-a-for-every-new-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.