Toggle navigation
Free!
AjaxNewsTicker
AjaxCountDown
Ajax Poll Script
php Infinite Scroll
Link Obfuscator
CSS Obfuscator
Scripts
Text Ad Script
Ajax Likes Script
pkShortURL
Fade-In Slideshow
Ajax Poll Admin
Ajax Poll DBV
HObfus
Support
Contact Us
Ask a pre-sales question
Submit a support ticket
Free estimate request form
AjaxNewsTicker
AjaxCountDown
php Infinite Scroll
Fade-In Slideshow
Text Ad Script
Link Obfuscator
CSS Obfuscator
HTML Obfuscator for PHP
Ajax Likes Script
pkShortURL
Ajax Poll Admin
Ajax Poll DBV
Ajax Poll Script
selection-box
Posted by
Mike
2014-06-03
Hi Tom,
Thanks for returning to me.
In regards to your answer below, no error message appears.
The following is my dropdown listbox:
web/config/config.selection.inc.php
define( 'SEL_AD_COLOR', "
S1001=Blue
S1002=Green
S1003=Yellow
" );
The following is a printing of $sql, located in web/cn/cn.php
Note, I have added 'age' and 'color' in the function getCellTxt($ad_id)
SELECT cell_id, image_w, image_h, pic, url_link, age, color FROM tbl_cell WHERE ( active= 'Y' ) AND ( ad_id='FS01' ) LIMIT 1;
When echo $rs['ad_type'] ,I get: S1001
How can get the related value for this key (i.e. Blue)?
Please could you provide any help,
Thanks a lot,
→
AdFreely -Ad Board Script-
Thanks for returning to me.
In regards to your answer below, no error message appears.
The following is my dropdown listbox:
web/config/config.selection.inc.php
define( 'SEL_AD_COLOR', "
S1001=Blue
S1002=Green
S1003=Yellow
" );
The following is a printing of $sql, located in web/cn/cn.php
Note, I have added 'age' and 'color' in the function getCellTxt($ad_id)
SELECT cell_id, image_w, image_h, pic, url_link, age, color FROM tbl_cell WHERE ( active= 'Y' ) AND ( ad_id='FS01' ) LIMIT 1;
When echo $rs['ad_type'] ,I get: S1001
How can get the related value for this key (i.e. Blue)?
Please could you provide any help,
Thanks a lot,