SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm currently trying to learn Building a Database-Driven Web Site Using PHP and MySQL, and currently at: Putting it all Together I tried copy that finished code and put it into joke.php3, (I created the joke.php3 and added the following code but I cannot view it). Do it required a <?php ? or something. The sources are located at: http://www.webmasterbase.com/article...id=228&pid=846

    Please help, i'm a newbie to this stuff.

  2. #2
    SitePoint Wizard jonese's Avatar
    Join Date
    Jul 1999
    Location
    Powder Springs GA (Atlanta)
    Posts
    1,238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have PHP and mySQL installed on your server?

    If so what versions (check with your host)?

    If not check with your host about getting them installed.

  3. #3
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Of course, I have mySQL and PHP installed, I believed is the Stable version of mySQL and PHP3.

    Without those I couldn't make to [Putting it all Together] lesson.

  4. #4
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it taken care already, the ID# work just fine but is there anyway I can make my text joke filter out in html format. Let say, I'm inserting a new joke, that new joke contains html in it. How can I make it filter out in html format instead of filtering out in text format and showing my html sources?


  5. #5
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $row[elementwithhtml]=urlencode($row[elementwithhtml]);

  6. #6
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Please Help

    Hello James Smith,

    Thank You for replying, where do I place this tag at: in the joke.php3? Anyone that know please help.

    [Edited by confused on 08-31-2000 at 05:57 PM]


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
  •