Menu
when I use this code, I get more then I am asking for…
[code=php]
$line = “(Q1) Some Data”;
if(preg_match(“(Q1)”,$line)) $Q1[] = $line;
when I var_dump the Q1 array preg_match has added (Q10)… (Q11)… (Q13) and so on to the array.
What I want added is lines with an EXACT match to (Q1). What am I doing wrong?
Thanks.