Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]How to make a conditional insert in multiple tables?
#6

[eluser]Sumon[/eluser]
would you please try with
Code:
$this->db->where('name', '$_POST['name']');
EDIT: add this line before if condition and check the value is correct or not
Code:
echo $query->num_rows();
if ($query->num_rows() > 0) //if it was found in wines.name
.......................other codes................


Messages In This Thread
[SOLVED]How to make a conditional insert in multiple tables? - by El Forum - 10-02-2008, 03:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB