Discussion Locked

help with php

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi everyone,
i am new to php and the problem is i cant get it to hold variables for my forms(collect data from a form and post it to a mysql dbase)it just posts zeros which means empty data anything i must add to my php out of the box configuration?
thanx in advance

6 replies

by pbsluvr

Perhaps a posting of the code you're trying (substitute foobars for confidential stuff)?

by degwell

thanx guys i got it it was with the globals parameters it was set to off and about the wrong forum i guess i had no where to go thanx anyways and i will make sure i post in the correct forum the nex time..nice week

by tony hopkinson

But as a fellow newbie to PHP, I used
$_POST[param] to access a posted parameter.
where param is the name of a field in the form.
Not quoted, which did catch me out at first.
Got all the info I needed via google.

by deepsand

This is a tech. problem, in search of a solution.

It properly belongs in "Technical Q&A," not in "Discussions."

Please re-post there.

Thank you..

by deepsand

in many discussions.

The structure of TR makes no attempt to guide one to the proper forum, particularly when an article prompts the reader to seek Tech. support from the members.

As a result, the Discussions listings are a jumbled mix of true Discussions and Tech. Questions.

As TR has not yet deemed it worthy of their attention, it falls to the memebers to try to steer people to the right area.

This discussion is closed to new replies.