PHP:don't know how to insert object into $var

Status
Not open for further replies.
Come to think of it, you don't need a super file. just put the if logic (with the print () and include () calls based on $variable) in a subroutine and call that subroutine, with $variable as an argument, in the table. Of course if the include () or print () call only needs to be done once, you can move the entire if block into the table.

And now that we've found the problem you can remove all the backslashes. Just put the entire string in single quotes (').
 
Status
Not open for further replies.
Back
Top Bottom