Help for this page

Select Code to Download


  1. or download this
    $a = "aaaaa\n";
    $a = $a."bbbbb";
    ...
    
    what it actually runs is 
    insert into test (field1) value 'aaaaa
    
  2. or download this
    $sql="insert into test (field1) value 'aaaaaaa' + Chr(13) + Chr(10) + 
    +'bbbbbbbb';
    
  3. or download this
    $a =~ s/chr(13)chr(10)/' + Chr(13) + Chr(10) + '/;