![]() | | ||||||||
| | #1 |
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
Multiple Sub ID Postback BLAMADS, Hi forum, I created a website where users fill in a survey and than i get a postback from blamads that confirms the survey is filld in, but i need to get more info from the postback, now the sub_id is the users IP, that way i know that they filld in the survey but i also need 2 other IDs in the postback, Example: ShareCash gets a User ID en a File ID in the postback. and they are send back like this User ID|||FileID or: 938482|||59838 But i don't know how to post these in different columns Also how do i script the vertical bar to put them in different columns in the database Thank you. |
| | |
| | #2 |
| Warrior Elite Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
|
You can delimit the parameters, so subid=data1|data2|data3, the when you use the API to read off the subid, you need to parse the field (ie.take out the |) into the 3 variables to work with. I don't understand the 2nd part of your question though. |
| | |
| | #3 |
| Senior Warrior Member Join Date: Jun 2008
Posts: 4,130
Thanks: 10
Thanked 508 Times in 402 Posts
|
I'm not really sure on how to do this with blamads, but your best bet is to contact your AM, this is exactly what they are there for |
| | |
| | |
| | #4 |
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
Thanks alot chris i submitted a ticket on blamads and try contact my AM but hes never on and it takes like a month to get a reply on my ticket ![]() But thanks alot!! really helpfull |
| | |
| | #5 | |
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Nvm that, but how do i insert Data1 , data2 and data3 in different columns in my database? | |
| | |
| | #6 | |
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Nvm that 2nd part, but how do i insert Data1 , data2 and data3 in different columns in my database? thanks alot! | |
| | |
| | #7 | ||
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Quote:
i cant figure it out, thanks for helping me out, i appreciate it alot | ||
| | |
| | #8 |
| Warrior Elite Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
| |
| | |
| | #9 |
| I'll Make You Rich Join Date: Dec 2009 Location: Chicago, IL
Posts: 693
Thanks: 7
Thanked 94 Times in 76 Posts
|
If you have any specific questions you should ask within our support desk or check the support desk area: BLAM! Ads Support |
| | |
| | |
| | #10 |
| Enlightened Warrior War Room Member Join Date: Nov 2007 Location: New York, USA.
Posts: 612
Thanks: 23
Thanked 127 Times in 96 Posts
|
Hi Rubyx, Your question is programming related and you'll be hard-pressed to find the right kind of help here. Perhaps a more techy forum like tek-tips.com or stackoverflow.com will be a better fit. This is not to knock my fellow warriors. A lot on here are more than qualified to help - however, they probably will never see this post. By the way, if all your data is being received from Blam in a pike-delimited string (the pike looks like this '|' ) - then you can use the php function "explode" to break it into an array of strings. The pike will be automatically stripped out in this way. You can then store your data using the indices of your new array. Best, - Jay |
| | |
| | |
| | #11 |
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
Okay Thanks all, i will find it out! Thanks alot for all the help |
| | |
| | #12 |
| Warrior Member Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| |
| | |
| | #13 | |
| Warrior Elite Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
| Quote:
This is when you want to store multiple info into a subid so you can perhaps credit your subaff if you run an inventive site for eg.
| |
| | |
![]() |
|
| Tags |
| blamads, multiple, postback |
| Thread Tools | |
| |
![]() |