Simple PHP form - Can't perfect the format of the message
Posted: Sat Aug 22, 2009 12:35 pm
Moved to Programming | Miscellaneous. This has nothing to do with PHP.
There seems to be two 'dead spots' in the message that adds line breaks when I don't want them. Here is a snippet of the code and the results.
code---------
."<br>"
."<br>"
."AIREDALE PREFERENCES"
."<br>"
."Gender preference? = " . $sex
."<br>"
."Age preference?=" . $age
."<br>"
."Size preference? = " . $size
."<br>"
-------------
results
--------------
-------------AIREDALE PREFERENCES----------------------------
Gender preference? =
No
preference
Age preference?=undefine
Size preference? = No preference
--------------
ISSUE IS
see the word NO that is supposed to be to the right of the equal sign? There is an unrequested line break.
Anyone know how this is happening. You see the code and the result.
Thx
There seems to be two 'dead spots' in the message that adds line breaks when I don't want them. Here is a snippet of the code and the results.
code---------
."<br>"
."<br>"
."AIREDALE PREFERENCES"
."<br>"
."Gender preference? = " . $sex
."<br>"
."Age preference?=" . $age
."<br>"
."Size preference? = " . $size
."<br>"
-------------
results
--------------
-------------AIREDALE PREFERENCES----------------------------
Gender preference? =
No
preference
Age preference?=undefine
Size preference? = No preference
--------------
ISSUE IS
see the word NO that is supposed to be to the right of the equal sign? There is an unrequested line break.
Anyone know how this is happening. You see the code and the result.
Thx