Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-18 Thread Saravanan K
$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:

Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-18 Thread Shrayas rajagopal
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

Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread kavin raj
?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

[Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread kavin raj
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 *==

Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread kavin raj
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

Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread kavin raj
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

Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread Rajesh kumar
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

Re: [Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread Shrinivasan T
> $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

[Ilugc] [IIugc]REG: MySQL Error

2014-10-14 Thread kavin raj
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"; }

Re: [Ilugc] [IIugc]

2014-09-08 Thread Noorul Islam Kamal Malmiyoda
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

Re: [Ilugc] [IIugc]

2014-09-08 Thread Arun Khan
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

[Ilugc] [IIugc]

2014-09-06 Thread kavin raj
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

Re: [Ilugc] [IIugc] problem in installing Tiny OS in Ubuntu 14.04

2014-06-18 Thread Ajeya Anand
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