I need a way to store x y height and width in 4 jquery variables I was thinkink about the jquery ajax get but don't know how to achive this.
This is my code
<?php $result = $pdo->query('SELECT * FROM figures');
foreach ($result as $row=>$value)
{
echo '<li>'."My value is" .$value['x'].'</li>';
echo '<li>'."My value is" .$value['y'].'</li>';
echo '<li>'."My value is" .$value['height'].'</li>';
echo '<li>'."My value is" .$value['width'].'</li>';
echo "</br>";
} ?>
Any advice or help is apreciated thank you