/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $unparsedText = <<<'EOT' @cowb: Je moet dit en dit gebruiken.... EOT; function replies( $matches ) { $username = $matches[1]; // [1] is de eerste match, [2] de tweede, enz. $sQuery = " SELECT id FROM users WHERE "; { return '@<a href="'.$result['id'].'">'.$username.'</a>'; } }
Comments
