in reply to Re: problem checking availability
in thread problem checking availability
i tried that already before. bt still was getting same results
if ($PHONE) { $CHECK_PHONE = $DBH->prepare("SELECT COUNT(*) FROM tbl1 WHERE PHONE = +?"); $CHECK_EMAIL->execute($PHONE); $P = $CHECK_PHONE->fetchrow_arrayref(); if($E->[0]) { $error_phone = "phone exits"; } $CHECK_ID_NUMBER = $DBH->prepare("SELECT COUNT(*) FROM tbl1 WHERE ID_N +UMBER = ?"); $CHECK_ID_NUMBER->execute($ID_NUMBER); $ID = $CHECK_ID_NUMBER->fetchrow_arrayref(); if($ID->[0]) { $error_phone = "id exits"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: problem checking availability
by haj (Vicar) on Sep 04, 2018 at 07:47 UTC | |
by bigup401 (Pilgrim) on Sep 04, 2018 at 08:23 UTC | |
by poj (Abbot) on Sep 04, 2018 at 13:02 UTC | |
by bigup401 (Pilgrim) on Sep 04, 2018 at 21:49 UTC | |
by poj (Abbot) on Sep 05, 2018 at 11:13 UTC |