Jump to content

[SOLVED] preg_match(help me);


TheFilmGod

Recommended Posts

		
<?php
if (preg_match("1", "$code")) {
		$one = "Aluminum Foil,";
	}

?>

 

What's wrong with this?

 

I get this:

 

Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/content/i/n/t/internetknight/html/2010/wall_view.php on line 153

 

 

Link to comment
https://forums.phpfreaks.com/topic/69518-solved-preg_matchhelp-me/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.