Monk3h Posted April 29, 2008 Share Posted April 29, 2008 All i want is to be able to use a $example[name] but with a gap. EG $example[name name] This is the code im using so far.. $mytribe = mysql_fetch_array(mysql_query("select * from tribes where id=$stat[tribe]")); and $mytribe[example name] Link to comment https://forums.phpfreaks.com/topic/103477-how-do-i-alow-a-gap-in-a-php/ Share on other sites More sharing options...
p2grace Posted April 29, 2008 Share Posted April 29, 2008 use quotes $mytribe["example name"]; You should always use quotes around strings in arrays Link to comment https://forums.phpfreaks.com/topic/103477-how-do-i-alow-a-gap-in-a-php/#findComment-529867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.