Add code to debug the recordset after it opens like:
<?php
var_dump($rs_po);
die();
?>
The result might give you the necessary clues to figure out at least whether the issue is with the recordset or the add to cart.
Then try running the SQL statement in the recordset in phpMyAdmin directly to see if there is an issue with the database.