[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] mySQL / PHP
- Subject: Re: [cobalt-users] mySQL / PHP
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Thu May 2 13:14:52 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Mwelwa Mofya" <mmofya@xxxxxxxxxxx> wrote:
> I am trying to use PHP to read from and write to a mySQL database on my
> RAQ3. I have the root user with all prevalages on all databases but I have
> not been successful in having the php write to the database. When I use
> phpMyAdmin, I am able to add or edit tables and so on but it is not
working
> with other scripts. What could the problem be?
> I am trying to use it for user sign up.. it simply refreshes the page when
> the user submits the form and nothing is written to the database. I am
able
> to read from the database as all the information from the database is
> displayed on the apropriate pages but nothing is written when a form is
> submitted or a write query is enter.
This is probably a PHP or MySQL problem, not RaQ specific. In any case, to
help you'll need to post the MySQL connection info. from your PHP script,
the query (echo it to your browser and paste it in so we see the actual
query, not one containing PHP variables), and the appropriate lines for the
user and db from the MySQL database user and db tables.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/