[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] mySQL / PHP



Have you declared the variables you are using as "global" ??

Phil

http://www.diygear.com THE Online DIY Toolstore For DIY & Business
Infolink Electronic Systems Ltd. Suppliers of:- PC based Computer Systems,
Peripheral & Hardware, Plus Web Design & Cobalt Raq4 Hosting Solutions
Contact the Sales desk at  infolink@xxxxxxxxxxxxxxx or Tel 0121 458 4894
(office) 0121 441 3558 (home)

> 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.
> please help...thanks
> Mel