Home > Archive > PHP Programming > April 2007 > invoke a php script in a table TD
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
invoke a php script in a table TD
|
|
|
| I have a table and in one of it's field (TD) I will invoke a script. I
have tried it with "require_once ('some_script')" to do, but it has
been not succeed. Does somebody have any idea about it? Or I have to
think about another alternative.
With regards,
Nader
| |
| no@email.com 2007-04-26, 7:58 am |
| Nader wrote:
> I have a table and in one of it's field (TD) I will invoke a script. I
> have tried it with "require_once ('some_script')" to do, but it has
> been not succeed. Does somebody have any idea about it? Or I have to
> think about another alternative.
>
> With regards,
> Nader
>
paste the code please
| |
| Schraalhans Keukenmeester 2007-04-26, 6:58 pm |
| Nader wrote:
> I have a table and in one of it's field (TD) I will invoke a script. I
> have tried it with "require_once ('some_script')" to do, but it has
> been not succeed. Does somebody have any idea about it? Or I have to
> think about another alternative.
>
> With regards,
> Nader
>
Has the page got a .php extension? (.html files aren't parsed by PHP)
Is the file itself plain html, if so, have you put <?PHP and ?> around
the require?
If not, can you show us the relevant code?
Is the include file in the same dir as the requesting page or in PHP's
include path?
Sh.
|
|
|
|
|