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
Windows Server 2003 Intermittent Freezing Issues
Exchange 2003 - Storage groups are dissmounting with backup softwere
Start applications from command promt
With PHP, what is the best way of detecting a user based on IP and updating it accordingly?
Spell check two languages at the same time
POP UP error in MS-CRM
mcafee 4.5 issue cant see the agent logs
Windows 7 Professional 64 bit hanging on Welcome Screen
how to view/edit server-side rules in Exchange 2003
Print pdf, word, and excel email attachments from inbox folder