| Author |
testing a mysql database
|
|
|
| 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" <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
| |
|
|
"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
|
|
|
|