SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2001
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    asp in mysql db field

    My colleague is trying to make a database driven web site. He is using asp and mysql with phpmyadmin. He just found out today that a text field that has asp <% if session("OK") = true then.... %> does not work. The asp code just displays.

    Shouldn't the web server be able to parse the asp from this field? Is there something that can be done or is it a no go?

    Thanks
    Last edited by jamesb; Apr 24, 2002 at 14:01.

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2001
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, I guess anything in <% %> does not show at all. php doesn't seem to work either. Interesting.

  3. #3
    \m/ R.I.P. Dimebag! \m/ JimBolla's Avatar
    Join Date
    Dec 2001
    Location
    erie, pa
    Posts
    1,130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the server does not parse the text you retrieve from a database and output to the browser. it only parses the ASP file that is being executed.


Bookmarks

Posting Permissions

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