$exe="UPDATE tablename SET name='mac',name1='ubuntu',WHERE id=90";
$check=mysql_query($exe) or die(mysql_error("connot executed"));
echo $check;
You can check this format code
Regards with,
saravanan k.
On 10/18/14, Shrayas rajagopal wrote:
> On Tue, Oct 14, 2014 at 1:16 PM, kavin raj wrote:
On Tue, Oct 14, 2014 at 1:16 PM, kavin raj wrote:
>
> $str="UPDATE kncet SET('$name','$email','$password','$mobile' WHERE
> id='$id')";
> $res=@mysql_query($str)or die(mysql_error());
On a side note, it is recommended to not put your query in a string and
execute it. It is a security concern. Pe
?php
$id=$_POST['id'];
$name=$_POST['name'];
$email=$_POST['email'];
$password=$_POST['password'];
$mobile=$_POST['mobile'];
$con=@mysql_connect("localhost","root","") or die(mysql_error());
$db=@mysql_select_db("click",$con)or die(mysql_error());
$sql="UPDATE kncet SET('{$name}','{$email}','{$pass
On Tue, Oct 14, 2014 at 1:35 PM, Kumar wrote:
> echo
> $sql="UPDATE kncet SET id='$id', name='$name', sex='$sex', email='$email',
> password='$password', mobile='$mobile' WHERE name='$name'";
>
> echo $sql; // check output with values.
>
I need to store in data base
*==
On Tue, Oct 14, 2014 at 1:20 PM, Shrinivasan T
wrote:
> > $str="UPDATE kncet SET('$name','$email','$password','$mobile' WHERE
> > id='$id')";
>
> print the entire query to test it.
>
> echo $str;
>
> and execute the same in the mysql shell.
>
>
> --
> Regards,
> T.Shrinivasan
>
>
UPDATE kncet SE
it is showing Query was empty
On Tue, Oct 14, 2014 at 1:22 PM, Rajesh kumar
wrote:
> try the below
>
> UPDATE kncet SET('{$name}','{$email}','{$password}','{$mobile}' WHERE
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
try the below
UPDATE kncet SET('{$name}','{$email}','{$password}','{$mobile}' WHERE
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines
> $str="UPDATE kncet SET('$name','$email','$password','$mobile' WHERE
> id='$id')";
print the entire query to test it.
echo $str;
and execute the same in the mysql shell.
--
Regards,
T.Shrinivasan
My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Sof
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near
'('KAvin','ka...@d.con','df','77' WHERE id='20')' at line 1
can I Know why I am getting this error, code was entered below
=0)
{ echo "Successful"; }
On Sat, Sep 6, 2014 at 1:13 PM, kavin raj wrote:
> I had installed ubuntu-14.04-desktop-i386 from my pendrive as a second os,
> but when I boot my system it is not showing , where it is directly booting
> default os windows 8.1.
> While seeing in msconfig setting, it shows only single os , but I c
On Sat, Sep 6, 2014 at 1:13 PM, kavin raj wrote:
> I had installed ubuntu-14.04-desktop-i386 from my pendrive as a second os,
> but when I boot my system it is not showing , where it is directly booting
> default os windows 8.1.
Change the boot order in BIOS to boot from pen drive. Alternately,
m
I had installed ubuntu-14.04-desktop-i386 from my pendrive as a second os,
but when I boot my system it is not showing , where it is directly booting
default os windows 8.1.
While seeing in msconfig setting, it shows only single os , but I can see
the partition in disk magnet as what i had configu
hey I had followed the easiest two step installation given in tinyos wiki.
Have you tried it?
2014-06-18 8:53 GMT+05:30 :
>
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in
13 matches
Mail list logo