Re: [PHP] I am confused to mysql_query.

2007-08-07 Thread Richard Lynch
On Wed, August 1, 2007 1:23 am, Patrik Hasibuan wrote: > This sql string produces proper output in my MySQL-Query: > select image_src from products where product_id='10'; > the output is: > gambarproduk/0/10/1.jpg > > But my php code does not produce anything. > > Please tell me what is my mistake.

Re: [PHP] I am confused to mysql_query.

2007-08-01 Thread Patrik Hasibuan
Sorry, for my recklessness I missed, "$bdku=mysql_select_db("guru",$konek);" Es ist peinlich It's embarassing. But thanks for your help. = On Wed, 1 Aug 2007 15:15:43 +0700 Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > Hi Sichta, > > That's what I am confused. Quoted or no Quote

Re: [PHP] I am confused to mysql_query.

2007-08-01 Thread Patrik Hasibuan
Hi Sichta, That's what I am confused. Quoted or no Quote makes no effect. mysql_query does not work. I tried to debug with "..or die (mysql_error());" but it seems "mysql_error()" does not exist anymore. Please keep telling me. I've wasted to much time today hanging around with this weird pro