|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
code challenge - code out of a database
I tried includes and found no solution, so here is my problem.
I have an object based site builder, one of the parts make a form, obviously I need some why to execute code so the form does something. But this will depend on what the form does. I tried to make a file of the script which is then included and then used, but after several tries and a long, long thread on this site I gave up, the variables were not availble to me in the included script. I don't want to have to write the info to a file and then read the file in the script. IS there a way to execute a chunk of php code from a database. |
|
#2
|
|||
|
|||
|
RE: code challenge - code out of a database
Hi there!
You could always store the php code as a string, fetch it from the db and then use the eval() fundtion. |
|
#3
|
|||
|
|||
|
RE: code challenge - code out of a database
THANKS!
This is what I need, I am a coder but new to php so I need a little pointer every so often. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > code challenge - code out of a database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|