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

    Join Date
    Sep 2000
    Posts
    8
    Rep Power
    0
    Hi, I have some if statement where I want have a picture show instead of echoing text. The picture will be saved in another area so just doing the regular "picture.gif" will not work I will need to do the entire address. Does anyone have any recomendations for how I should do this. Can I just do soemthing like:

    echo <img src="http://blah/blah/picture.gif">

    Please let me know..

    thanks!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    Yes I assume it would like this
    if ($something) {
    print '<img src="http://blah/blah/picture.gif">';
    }
    else {
    print "Some text";
    }

Similar Threads

  1. Randomising picture placement
    By Chewie in forum PHP Development
    Replies: 3
    Last Post: January 20th, 2004, 07:28 AM
  2. Saving a picture in mySQL?
    By Phönix in forum MySQL Help
    Replies: 1
    Last Post: October 16th, 2003, 10:20 AM
  3. Check if the cell has a picture
    By malb4uk in forum Visual Basic Programming
    Replies: 1
    Last Post: September 12th, 2003, 11:56 AM
  4. Check if the picture is in the cell?
    By malb4uk in forum Visual Basic Programming
    Replies: 1
    Last Post: September 9th, 2003, 11:48 PM
  5. Refreshing picture
    By Mark Barto in forum HTML Programming
    Replies: 3
    Last Post: September 22nd, 2000, 07:57 AM

IMN logo majestic logo threadwatch logo seochat tools logo