|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to execute PHP code stored in database?
I store my pages in database and
I have a problem - the code must include links which are formed by PHP, so I have to execute PHP code from (it doesn't matter whether it is from database or just string) string. Does anybody know how to do such? Thanks in advance. |
|
#2
|
|||
|
|||
|
RE: How to execute PHP code stored in database?
You are probably looking for the eval() function.
If you want to run html with php code embedded make sure you start with %> because eval starts in php mode |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > How to execute PHP code stored in database? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|