I have 2 JNSERT queries…
I want 1 to run if a SELECT query returns 0 results using
//check if this power strip has a receptacle
try{
$sql = "SELECT receptacle_id FROM power_trails WHERE power_strip_id = ".$power_st…
- READ MORE
By SitePoint
Sun, 11 Dec 2022 02:16:04 GMT