glenelkins Posted August 14, 2006 Share Posted August 14, 2006 Ok and the problem here is??? Its not showing anything in the Textarea, even if i manually type in the info??[code]<? // Split the address $temp_add = explode(",",$companies['company_address']); $company_address = ""; foreach ($temp_add as $ta) { $company_address .= $ta . "<br>"; }?><textarea name="companyaddress" rows="2" cols="5"> <? echo $company_address; ?></textarea>[/code] Link to comment https://forums.phpfreaks.com/topic/17493-not-working/ Share on other sites More sharing options...
shocker-z Posted August 14, 2006 Share Posted August 14, 2006 [code]<? // Split the address $temp_add = explode(",",$companies['company_address']); $company_address = ""; foreach ($temp_add as $ta) { $company_address .= $ta . "<br>"; }?><textarea name="companyaddress" rows="2" cols="5"> <? echo $company_address; ?></textarea>[/code]Where is $companies['company_address'] set?Maby you wanted?[code]<? // Split the address $temp_add = explode(",",$_POST['companyaddress']); $company_address = ""; foreach ($temp_add as $ta) { $company_address .= $ta . "<br>"; }?><form actione="" method="post"><textarea name="companyaddress" rows="2" cols="5"> <? echo $company_address; ?></textarea></form>[/code]RegardsLiam Link to comment https://forums.phpfreaks.com/topic/17493-not-working/#findComment-74414 Share on other sites More sharing options...
glenelkins Posted August 14, 2006 Author Share Posted August 14, 2006 $companies['company_address'] is in the while loop searching through the records with $companies = mysql_fetch_array() Link to comment https://forums.phpfreaks.com/topic/17493-not-working/#findComment-74460 Share on other sites More sharing options...
shocker-z Posted August 14, 2006 Share Posted August 14, 2006 can you post your full code please?Liam Link to comment https://forums.phpfreaks.com/topic/17493-not-working/#findComment-74463 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.