shortkid422 Posted December 14, 2003 Share Posted December 14, 2003 How can i insert more than one value per variable WITHOUT using arrays? Quote Link to comment Share on other sites More sharing options...
triphis Posted December 15, 2003 Share Posted December 15, 2003 umm, you cant... you can ADD to a variable... $variable = \"I like\"; $variable .= \"pizza!\"; echo $variable; would look like: I like pizza! But no, you can\'t have more than one value per variable without usuing arrays Quote Link to comment Share on other sites More sharing options...
shortkid422 Posted December 15, 2003 Author Share Posted December 15, 2003 k, thanks i, i just didnt want to do 78 queries, which is what i did. I love copy and paste! Quote Link to comment Share on other sites More sharing options...
Barand Posted December 15, 2003 Share Posted December 15, 2003 umm, you cant... You can so long as you a means of separating them :- Eg a colour value which has red, green and blue values in separate bytes or \"abc|def|ghi|jkl\" using a delimiter. Quote Link to comment 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.