For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > September 2005 > testing a mysql database









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author testing a mysql database
plato

2005-09-23, 9:56 pm

I'm using WAMP but having a problem executing a php script getting an error
'Can't update database' the script seems ok is there a way to examine why
this might be... ie have i set it up incorrectly?

plato


plato

2005-09-23, 9:56 pm


"plato" <platoTAKETHISOUT@telpacific.com.au> wrote in message
news:4334a682$1@news.rivernet.com.au...
> I'm using WAMP but having a problem executing a php script getting an

error
> 'Can't update database' the script seems ok is there a way to examine why
> this might be... ie have i set it up incorrectly?
>
> plato
>

I mean have I set the fields up correctly i know the db is working and can
connect to it OK...


Andy Hassall

2005-09-24, 7:56 am

On Sat, 24 Sep 2005 11:07:04 +1000, "plato"
<platoTAKETHISOUT@telpacific.com.au> wrote:

>I'm using WAMP but having a problem executing a php script getting an error
>'Can't update database' the script seems ok is there a way to examine why
>this might be... ie have i set it up incorrectly?


That's not enough information. What in the script is outputting that message?

If you want to check the database connection then start simple, e.g. with the
examples from the manual. http://uk2.php.net/mysql
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
plato

2005-09-24, 7:56 am


"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:dldaj11ve7983h4aokfaqetk1l1qoh5l35@
4ax.com...
> On Sat, 24 Sep 2005 11:07:04 +1000, "plato"
> <platoTAKETHISOUT@telpacific.com.au> wrote:
>
error[color=darkred]
>
> That's not enough information. What in the script is outputting that

message?
>
> If you want to check the database connection then start simple, e.g. with

the
> examples from the manual. http://uk2.php.net/mysql
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

Thanks Andy it was a php error... I had the wrong value inserted... cheers


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com