Okay I have tried your but it is giving this notice below
Notice: Trying to get property of non-object in C:\xampp\htdocs \adslonline\reg .php on line 48
Line 48 is where the if construct is located
User Profile
Collapse
Profile Sidebar
Collapse
georget
Last Activity: Nov 21 '15, 07:47 PM
Joined: Nov 21 '15
Location:
-
-
Matching a textbox value with column value using php
Hie programmers.I am still new to web development. I am trying to match a textbox value to the one in the database. Here is my script below :
...Code://Payments verification $sql = "SELECT Econet_num FROM ecocash"; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { if($myecocash ==$row['Econet_num']{Last edited by Rabbit; Nov 23 '15, 05:36 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: