Vb to PHP to HTML
ON a vb form I have:
Line1 & Then
Now the form passes this text to a php script using webrequest and POST method.
The PHP script then reads this into a variable and stores the value into a MYSQL database.
No when a visitor presses view button on a website it opens another PHP script which then get that text from MYSQL database and creates HTML website output using echo statement.
echo "<B>".$input."</B><BR />";
So the same text is being handled by VB.NET, PHP, MYSQL and HTML.
Now I know different languages have different chars for new line etc.. So thats one problem.
The other is symbols.
For example in the text above. After the text has entered into mysql table by php, if that text value is retrieved back into the vb program using PHP script all the text after the "&" on line 1 is not shown. I assume at some point the "&" was processed as a special character of some sort which meant the rest of the text was truncated. I check the text stored in the mysql table and it was truncated after the & ( so the problem occurred in the PHP script). I tested it by changing the "&" to a "and" and it worked.
so what best way to handle multiline text in this setup.
Hey, Looking for entry level job in VB net programming. Got basic qualification, years of programming experience (mainly self taught) and good portfolio. (UK)