I am receiving the following error in PHP
Notice undefined offset 1: in C:wampwwwincludesimdbgrabber.php line 36
Here is the PHP code that causes it:
<?php
# ...
function get_match($regex, $content)
{
preg_match($regex,$content,$matches);
return $matches[1]; // ERROR HAPPENS HERE
}
What does the error mean?
Question&Answers:os