PHP question involving variables?
$sql="INSERT INTO content (category)
VALUES
('$_POST[category]');
and somewhere else I want the variable $data['category'] to be what was just posted in the form. What would $data['category'] have to equal for this to be true?
-
Cwantwm -
Thanks
{{ DiscussionBoard.errors[4412444].message }} -
-
Jonas B -
Thanks
SignatureProud owner of the most flexible mobile app builder. Check it out at http://bit.ly/hybrica!Mobile Web Expert & Android Developer{{ DiscussionBoard.errors[4412675].message }} -
-
leppozdrav -
Thanks
Signaturewww.seorockstars.net{{ DiscussionBoard.errors[4416924].message }} -
-
Cwantwm -
Thanks
{{ DiscussionBoard.errors[4417151].message }} -
-
leppozdrav -
Thanks
Signaturewww.seorockstars.net{{ DiscussionBoard.errors[4424362].message }} -