Eve Support Community
Forums
Resources
Development, & Software Talk
PHP - eval problems|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Groupee Newbie |
Hello, i've asked everybody and no one seems to know this problem.
I'm trying to turn a string into an array. The string contains "$array = array('key' => 'value'...);". I'm pretty sure that eval is my best bet, though i gave parse_str() a try. Is this possible? |
||
|
|
Groupee VIP |
I just did this test, and it worked:
<?php I had to escape "$array1" as "\$array1", since it's in a double-quoted string. |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Eve Support Community
Forums
Resources
Development, & Software Talk
PHP - eval problems
