PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
pinehead18 wrote:Well when $html = <body>$body</body> that is the data in the table.
I want it to somehow call $body.
can it not?
You can "call" a variable. $html is being assigned the value in $row['html'] which is in the database. If you then do $html = "<body>$body</body>"; then $html will now contain "<body>Whatever body variable contained</body>".