Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12382
Latest: ImportedPotato
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40253
Total Topics: 7090
Most Online Today: 178
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 85
Total: 86

Author Topic: Adding argument into db_query  (Read 686 times)

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
    • Homework Clinic - Your Academic Lifeline
Adding argument into db_query
« on: September 05, 2018, 04:45:32 pm »
How do I add:

Code: [Select]
".isset($password) && !empty($password) ? ',password='" . $password . "':''."
into

Code: [Select]
db_query("INSERT INTO {$db_prefix}oneall_social_login_identities SET ID_MEMBER='" . intval($id_member) . "', user_token='" . $user_token . "', identity_token='" . $identity_token . "'", __FILE__, __LINE__);
After the identity_token='" . $identity_token . "' part?

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2683 Views
Last post November 01, 2007, 05:10:25 am
by Mat @ SWS
Adding a Picture

Started by Rafferty « 1 2 » Support

20 Replies
24420 Views
Last post July 06, 2008, 08:16:52 pm
by Rafferty
3 Replies
2406 Views
Last post September 15, 2009, 07:31:08 am
by SMFHacks
3 Replies
2199 Views
Last post April 25, 2012, 07:55:02 am
by ApplianceJunk
0 Replies
1454 Views
Last post October 24, 2014, 01:33:24 am
by shuban

+- Recent Topics

Moving pictures to another user personal gallery by SMFHacks
Today at 02:03:33 pm

Rebuild related images time too long by SMFHacks
August 09, 2020, 01:52:57 pm

Call to undefined function mysql_num_rows() by SMFHacks
July 30, 2020, 07:45:29 am

Problem with one videosite embedding by Hatshepsut
July 24, 2020, 01:25:08 am

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

Powered by EzPortal