Jump to content

cedricpc

INpactien
  • Posts

    2,098
  • Joined

  • Last visited

Everything posted by cedricpc

  1. Tu sux ! Y'a pleins d'erreurs ! $ /usr/local/php5/bin/php <?php function ping_pong() { if (preg_match('#ping#i', $derniere_reponse)); { return 'Pong'; } else { return 'Ping'; } } echo ping_pong() , '<br />C'est super ce jeu'; ?> PHP Parse error: syntax error, unexpected T_ELSE in - on line 8 Parse error: syntax error, unexpected T_ELSE in - on line 8 Ping
×
×
  • Create New...