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
Simple PHP form - Can't perfect the format of the message
Moderator: General Moderators
Re: Simple PHP form - Can't perfect the format of the message
Excuse me? Nothing to do with PHP?? Have you looked at the code? It's PHP code that creates an email message. Care to elaborate on your decision?
Re: Simple PHP form - Can't perfect the format of the message
The only PHP you showed is concatenating a string, which has nothing to do with your problem.squarkman wrote:Excuse me? Nothing to do with PHP?? Have you looked at the code? It's PHP code that creates an email message. Care to elaborate on your decision?