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.'; Quote 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); Quote 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) Quote Link to comment https://forums.phpfreaks.com/topic/68704-unexpected/#findComment-345382 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.