Jump to content

unexpected '<'


jakebur01

Recommended Posts

try

echo "{$myrow['Dealer']}<br />{$myrow['Address']}<br />{$myrow['City']} {$myrow['State']} {$myrow['Zip']} <br /> {$myrow['Phone']}<br />You are $value miles away from this $dname dealer.";

 

if its for testing

 

try

echo "You are $value miles away from this $dname dealer.<pre>";
print_r($myrow);

Link to comment
https://forums.phpfreaks.com/topic/68704-unexpected/#findComment-345362
Share on other sites

echo $myrow["Dealer"].'<br />'.$myrow["Address"].'<br />'.$myrow["City"].' '.$myrow["State"].' '.$myrow["Zip"].' <br /> '.$myrow["Phone"].'<br />You are $value miles away from this $dname dealer';

 

Take note of the .' and '.

 

I would suggest you to use a php editor (eg: DzSoft PHP Editor)

Link to comment
https://forums.phpfreaks.com/topic/68704-unexpected/#findComment-345382
Share on other sites

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.