Troxy Posted June 27, 2007 Report Share Posted June 27, 2007 echo '<img border="0" src="../map/'.$q_karte.'.jpg" width="80" height="60"/>'; ir folderis maps/ shite vis ok bilde tiek izvadiita. Kaa panaakt ja piemeram bilde ko padot no db ( respektiivi bildes nosaukumu padod) ja nav folderii taa vietaa uzchiniitu bildi No image bija viens posts pachakarejos izproveju nesanaaca man kaukaa, lidzgalam nesaprotu ka ar tiem if else riikoties varbut kads var pamest domau kaaaa? Padies Link to comment Share on other sites More sharing options...
andrisp Posted June 27, 2007 Report Share Posted June 27, 2007 if (is_file('../map/'.$q_karte.'.jpg')) { echo '<img border="0" src="../map/'.$q_karte.'.jpg" width="80" height="60"/>'; } else { // bilde nav } Link to comment Share on other sites More sharing options...
Troxy Posted June 27, 2007 Author Report Share Posted June 27, 2007 andrisp Alinsh no manis :)\ Paldies Link to comment Share on other sites More sharing options...
Recommended Posts