|
|
#1 |
|
New Member
![]() Join Date: Jul 2009
Posts: 22
|
Can any one help me with a little syntax problem i have.
Currently the code reads PHP Code:
thank you!
__________________
|
|
|
|
|
|
#2 |
|
New Member
![]() Join Date: Aug 2009
Posts: 2
|
you can't use a variable within a string... your variable $row_rbs_redirect['redirect'] is not interpreted as a variable, but as a normal string!
the correct version is: PHP Code:
|
|
|
|
|
|
#3 |
|
New Member
![]() Join Date: Jul 2007
Location: Livorno, Italy
Posts: 5
|
No, you can! For arrays, you can't just write 'em, you need some {} around instead. Honestly i find this way more convenient than PrimaFacie's solution. Just a matter of habits...
PHP Code:
PHP Code:
__________________
[SIGPIC][/SIGPIC] Last edited by Jecht; 10-07-2009 at 01:23 PM. |
|
|
|
|
|
#4 |
|
New Member
![]() Join Date: Jul 2009
Posts: 22
|
Thank you all, problem solved!
__________________
|
|
|
|
![]() |
| Tags |
| code, php, redirect, syntax |
| Thread Tools | |
| Display Modes | |
|
|