try first which i told you than send me mail if you have problem and i think you should come online for solving you problem i am online at 10am to 7pm of indian times. bye ________________________________ From: amit sabhaya <amitsabhaya12@xxxxxxxxx> To: php-objects@xxxxxxxxxxxxxxx Sent: Thursday, April 30, 2009 6:53:09 PM Subject: Re: Call to undefined function: mysql_connect() during execution in PHP command line if you are working on you local machine and you are not getting any error thank it is ok but if you are working on the unix server than you should change the database connection. if any doubt contact to me online bye ____________ _________ _________ __ From: Davide Baglieri <davidonzo@gmail. com> To: php-objects@ yahoogroups. com Sent: Thursday, April 30, 2009 6:43:29 PM Subject: Re: Call to undefined function: mysql_connect( ) during execution in PHP command line What do you type in the console? On Thu, Apr 30, 2009 at 8:37 AM, sourav <sghosh246@gmail. com> wrote: > > > Hi All, > > Can someone help me out in fixing the issue. > While I am running a php script through browser, it runs smoothly withourt > error and giving desired result. > But when I run the script from unix console, it throws error "Call to > undefined function: mysql_connect( ) .. .." and doesn't give the desired > result. > > Thanking You, > > Regards, > Sourav > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]