Clinton Posted June 6, 2008 Share Posted June 6, 2008 Ok: This $database = ("clintona_'$location'Inventory"); equals this: clintona_'5555'Inventory This $database = ("clintona_"$location"Inventory"); equals this: Parse error: syntax error, unexpected T_VARIABLE With or without the () it doesn't matter it still gives the same. How do I get it to equal this: clintona_5555Inventory ???? Without the ' ????? Link to comment https://forums.phpfreaks.com/topic/108931-solved-variable-help/ Share on other sites More sharing options...
pocobueno1388 Posted June 6, 2008 Share Posted June 6, 2008 $database = ("clintona_".$location."Inventory"); Link to comment https://forums.phpfreaks.com/topic/108931-solved-variable-help/#findComment-558860 Share on other sites More sharing options...
Clinton Posted June 6, 2008 Author Share Posted June 6, 2008 Those damned dots. I should have known. Thank you very much! Link to comment https://forums.phpfreaks.com/topic/108931-solved-variable-help/#findComment-558861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.