So I am having a bit of an issue getting results from a query.
<?php
$query = "SELECT re_diag_DL
FROM game_win_regex
WHERE game_id = 1
LIMIT 1";
$con = mysqli_connect("localhost",'root','','game');
$result = mysqli_query($con,$query);
$row = mysqli_fetch_all($result,MYSQLI_BOTH);
echo $row['re_diag_DL'][0];
?>
The fields content is a regular expression:
((?<!z,)[1]
But the echo is giving
((?
It is definitely messing with the array structure, a print_r() gives
Array ( [0] => Array ( [0] => ((?
I intend to use this result within a preg_match_all. Any help on this matter would be greatly appreciated.