Microsoft
Software
Hardware
Network
Question : Insert Line feed in access from php
Hi,
Basically I am trying to inseret line break in access cell whilerunning an sql from php. I know that it has to be chr(10) or char(10) but I am creating a php variable using many, string concatination. what I have tried is somthing like
$comment .= 'comment1: '.$comments1. 'Chr(10)';
$comment .= 'comment2: '.$comments2. 'Chr(10)';
But chr(10) appear as it in access cell rather then the line feed (that wierd character :)).
Can any pleae tell me how to achieve it?
Thanks
Answer : Insert Line feed in access from php
$comment .= 'comment1: '.$comments1. '\r\n'; //if this failes then try the second below option with double quotes
$comment .= 'comment1: '.$comments1. "\r\n";
Hope this helps
Random Solutions
HTML Cellindex showing wrong index while display:none
C# asp.net - Set object visibility based on browser type
Passing PChar parm to DLL
isa 2004 and iis7
Best LAN Network Switch Design?
Crystal cross-tab page numbering
How to determine coaxial cable
office 2003 keeps self installing over 2007
code for an application which can read a portion of the screen and writes it on another portion of the screen.
how can i upload 900 mb file to internet ,is there any website to free upload ?