Results 1 to 2 of 2

Thread: PHP Question - Daily Image Include?

  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635

    PHP Question - Daily Image Include?

    Does anyone know how to change this code..

    PHP Code:
    <?include("directory/4/0".date("w").".php");?>
    So that an image will appear in the cell where the code is placed?

    I have tried this..

    PHP Code:
    <?include("directory/4/0".date("z").".jpg");?>
    But it spews out a bunch of crap as if it reading the encoding for the image itself.

    Anyone know enough about php to answer this?

    Regards,

    Lee


  2. #2
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Got it fixed thanks to some help from GFY :thumbsup:

    Here is the code in case anyone is wondering..

    PHP Code:
    <img src="daily/1/0<?=date("z")?>.jpg" border="1">
    Regards,

    Lee


Posting Permissions

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