Hello,
I'm primarily a Joomla! developer, though I occasionally have to dabble in both PHP and Mysql, but I'm definitely a noob in that regard.
I'm trying to create a form that loads with information from a shopping cart's db. When I query an entry that has a space in it, though, it only returns the characters up to the space. So, for example, if a user has their "address_1" value as "46 Glen Manor Drive", the following:
<input name="add1" type="text" id="add1" size="24" value=<?php $dbbt->p("address_1") ?>>
Only returns a text box with the number "46". Yes, I realize that at least the address should be split up into "street_number" "street_name" "street_type", but even at that, in the above case "street_name" would only return "Glen", not "Glen Manor".
Any help would be very appreciated. Fwiw, the cart in question is Virturemart for Joomla!/Mambo.