php code and foreign language

by 7 replies
9
Hi there, altering a php script to work in a foreign language and i need help!

eg i have this line
if(!checkLen('nom'))
$err[]='The name field is too short or empty!';

i want to put something like d'el in the $err[]='area' however of course when i put in the d'el it seems to the script that i am closing off the statement
eg
$err[]='es d'el';

any one help me

thanks again you guys you rock (as always)
#programming #code #foreign #language #php
  • Try
    $err[]='es d\'el';

    or

    $err[]="es d'el";
  • ok tried the first one did not work will try the second one and see what happens
    • Banned
      [DELETED]
      • [2] replies
  • Banned
    [DELETED]
    • [ 1 ] Thanks
  • ok the \ worked a treat thanks guys

Next Topics on Trending Feed