Results 1 to 7 of 7

Thread: [RESOLVED] PHP inside a MySQL text field... Can it be done?

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2004
    Posts
    121

    Resolved [RESOLVED] PHP inside a MySQL text field... Can it be done?

    Hello all.
    Just wondering if there is a way of inserting PHP code in a database field, VARCHAR, MEDIUMTEXT, whatever, and have it echo as PHP code?
    I have tried:

    Code:
    $GLOBALS['txt'][0]
    and
    Code:
    <? echo $GLOBALS['txt'][0]; ?>
    But neither works.
    Any help is appreciated.
    Many thanks.
    Last edited by solitario; Apr 5th, 2006 at 12:26 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width