Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Jun 2020, 07:25
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Question Inserting into DB from custom page

So I am trying to insert data into the DB via the default vB pages. I have created a simple custom page


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and on this page I am trying to add a If post add to the DB

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

although I am having trouble getting that data to insert. I have also created a separate php file which has no issues inserting the data:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I just wanted to incorporate this into into the main system so I'm already connected to the database. Is there a way to do this? I have looked at other core files that do this and I thought I had everything I needed to do this, but apparently not.
__________________
This needs to be updated
But I don't know what to put
Check Out Dirt RIF CustUmz
Reply With Quote
  #2  
Old 07 Jun 2020, 08:29
shka shka is offline
 
Join Date: Mar 2016
Originally Posted by Dr.CustUmz View Post

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Single quote username
Reply With Quote
  #3  
Old 07 Jun 2020, 10:29
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
nice catch, changed them to varibles anyway and solved this =)
__________________
This needs to be updated
But I don't know what to put
Check Out Dirt RIF CustUmz
Reply With Quote
Reply


Tags
curl, custom, database, post


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:21.

Layout Options | Width: Wide Color: