Answer the question
In order to leave comments, you need to log in
How to correlate an array (php) and a Mysql DB?
There is a code
$page = array(
"one" => "https://pp.vk.me/c623728/v623728373/36ddc/E2Ljkp7clFM.jpg",
"two" => "https://pp.vk.me/c628122/v628122373/5879/hjedDB3SXS4.jpg"
);
$res = $link->query("SELECT id FROM `photos` where href='$page [one]' ");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question