Jump to content

[SOLVED] Syntax Problem? Need another set of eyes


CodeMama

Recommended Posts

This is breaking my page and giving me the blank page of frustration:

<?php

                    if (!empty($row->Photo1)) && file_exists("posters/HiRes/". $row->Photo1)) {
                        cho '<img src="posters/HiRes/'. $row->Photo1 .' " width="200" height="300" border="0" style="border: 1px solid #000000">';
                    }
?>

 

and it had been working, no changes on the server as far as I know but as of friday it stopped and broke the page completely to the blank page, so I figured it must be syntax?

if (!empty($row->Photo1) && file_exists("posters/HiRes/". $row->Photo1)) {
                        echo '<img src="posters/HiRes/'. $row->Photo1 .' " width="200" height="300" border="0" style="border: 1px solid #000000">';
                    }

 

Try that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.