Jump to content


Photo

how to show a pic while useing a variable Help!


  • Please log in to reply
2 replies to this topic

#1 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 26 June 2006 - 06:37 AM

Well i am trying to show a image with url but the url comeing from a variable :

<img src="<? $MMO_PRINGD['PIC']?>" width="154" height="113">

Is that the right way to do it ?

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 26 June 2006 - 06:42 AM

<img src="<?php echo $MMO_PRINGD['PIC']?>" width="154" height="113">
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

#3 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 26 June 2006 - 06:46 AM

thanks mate its WORKING thaaanxxx::__))




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users