forked from science-ation/science-ation
replace both \r and \n when exporting
This commit is contained in:
parent
3a26881149
commit
e19cb49b3e
@ -93,6 +93,8 @@ $q=mysql_query("SELECT
|
||||
firstname");
|
||||
while($r=mysql_fetch_object($q))
|
||||
{
|
||||
$expertise_other=str_replace("\n"," ",$r->expertise_other)
|
||||
$expertise_other=str_replace("\r","",expertise_other)
|
||||
$table['data'][]=array(
|
||||
$r->id,
|
||||
$r->lastname,
|
||||
@ -117,7 +119,7 @@ while($r=mysql_fetch_object($q))
|
||||
$r->years_national,
|
||||
$r->willing_chair,
|
||||
$r->attending_lunch,
|
||||
str_replace("\n"," ",$r->expertise_other)
|
||||
$expertise_other
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user