Announcement

Collapse
No announcement yet.

Evaluation Troubles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Evaluation Troubles

    I am trying to evaluate $data[0] to parse all the variables within it.
    The data is a template taken from a MySQL DB and i have checked that the variables within the template have values and that the template is being taken from the DB.

    PHP Code:
    eval("echo stripslashes(\"$data[0]\");"); 
    Scott MacVicar

    My Blog | Twitter

  • #2
    yours won't work because you have no variable in there and i don't think you can put echo in there. i'm not sure how the correct version would look like though because of the "); at the end of data.
    - MrLister

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X