#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    0
    Rep Power
    0

    is this possible at all? would make
    things a lot more flexible but i
    don't know if this is parsed at all
    after getting some html code from
    a mysql blob.

    any feedback appreciated,

    ------------------
    joempie
    -//-
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    That is not possible..because the script should execute from your webserver....but you may save the code in BLOB...that can't can't be parsed their....


    ------------------
    SR -
    webshiju.com
    www.jobxyz.com-IT Career Portal
    ezipindia.com--WebStudio


    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,646
    Rep Power
    4492
    You can store HTML in a blob, but not PHP because it won't get parsed. How about saving it to a file and including it?

    ---JH
  6. #4
  7. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,646
    Rep Power
    4492
    I take that back, use the eval() statement.

    eval($string) evaluates $string as a PHP code.

    If you want to include PHP and HTML in the string variable, you'll have to provide a closing php tag, because eval() starts off in PHP mode

    Hope that helps, refer to the manual if you have anymore questions.

    ---John Holmes...

Similar Threads

  1. php script won't work inside "cgi-local" directory
    By Volitics in forum PHP Development
    Replies: 5
    Last Post: April 26th, 2004, 10:50 PM
  2. javascript inside php tags
    By andy123 in forum JavaScript Development
    Replies: 5
    Last Post: February 5th, 2004, 04:34 PM
  3. keeping results from a db inside php
    By gallafrax in forum PHP Development
    Replies: 6
    Last Post: February 5th, 2004, 06:26 AM
  4. getting results from a db inside php
    By gallafrax in forum PHP Development
    Replies: 1
    Last Post: February 4th, 2004, 12:53 PM
  5. How to show BLOB image data from PHP
    By celebx in forum PHP Development
    Replies: 1
    Last Post: January 28th, 2004, 02:05 PM

IMN logo majestic logo threadwatch logo seochat tools logo