Jump to content

tyrant1337

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by tyrant1337

  1. If you want to rewrite a url you would need to add the following to your htaccess [code] RewriteEngine on RewriteRule ^main/([A-Za-z0-9-]+)/?$ /main.php?cmd=$1 [nc] [/code] You'll end up with the url mysite/main/help/
  2. Hi, Im trying to find out whether a value contains a numerical character in it i.e. If FY1 1AL then ill do something with it or if its Bleakpool for instance I wont The code ive found doesnt seem to work [code]if(preg_match('[0-9]', $value))[/code] Any comments would help Cheers
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.