jakebur01 Posted September 10, 2007 Share Posted September 10, 2007 I need help with this. I don't know how it's supposed to be. 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.'; Link to comment https://forums.phpfreaks.com/topic/68704-unexpected/ Share on other sites More sharing options...
MadTechie Posted September 10, 2007 Share Posted September 10, 2007 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 More sharing options...
hackerkts Posted September 10, 2007 Share Posted September 10, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.