Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:22 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: A2B_entity_Password
PostPosted: Thu Sep 11, 2014 12:20 am 
Offline

Joined: Sun Aug 04, 2013 2:37 pm
Posts: 1
I am trying to update both cc_card and cc_sip_buddies with same password once the user changed .

SQL Query(Work)
update cc_card A1 inner join cc_sip_buddies A2 on A1.ID = A2.ID_CC_Card set A2.secret=1234,A1.uipass=1234 where A1.id=1;


For PHP,

$QUERY = "UPDATE cc_card A1 inner join cc_sip_buddis A2 on A1.ID=A2.ID_CC_Card SET A1.uipass= ".$NewPassword."',A2.secret='".$NewPassword."' WHERE ( A1.ID = ".$_SESSION["card_id"]." ) ";

When I tried it, it shows update successfully but it is not updating in..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group