B burkered New Member Jun 10, 2012 #1 \[code\]echo "sed -i 's/NULL/\\N/g' ".$_REQUEST['para'].".sql";\[/code\]The above statement works. But it fail when I use it in exec like this...\[code\]exec("sed -i 's/NULL//\/\/\N/g' ".$_REQUEST['para'].".sql");\[/code\]
\[code\]echo "sed -i 's/NULL/\\N/g' ".$_REQUEST['para'].".sql";\[/code\]The above statement works. But it fail when I use it in exec like this...\[code\]exec("sed -i 's/NULL//\/\/\N/g' ".$_REQUEST['para'].".sql");\[/code\]