Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2016 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b654f496128089f3f3ebcf28b1178365 to your computer and use it in GitHub Desktop.
Save anonymous/b654f496128089f3f3ebcf28b1178365 to your computer and use it in GitHub Desktop.
<?php
$text = 'Der zu verschickende Text kommt hier rein.';
echo '<a href="whatsapp://send?text='. urlencode($text). '">Send</a>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment