joshspaulding Posted December 12, 2012 Share Posted December 12, 2012 (edited) I'm learning the very basics of PHP. I understand how html forms work, I understand what else, elseif, switch statements are and I understand variables and arrays. I should say I understand what they are. What I'm TRYING to understand is how the html file and php file communicate with one another. I know that you tell the html form where the php file is with the form action and that communicates the form data to the php file. But when I try to create a working example, using simple questions that have two answer options using radio buttons, I can't figure out how to echo the user's answer to the questions over to the php output file. So I think my confusion is in the actual communication between the html form file and the php file. And I'm trying to accomplish this in the SIMPLEST way possible. Right now I'm just learning the BASICS of PHP, so I'm not worried about creating the absolute best and most efficient code... just trying to make it functional. Does anyone know of a basic tutorial or article that might explain this? Or maybe you could explain in in a reply if it doesn't require much time? If so I would REALLY appreciate it! Thanks! Edited December 12, 2012 by joshspaulding Quote Link to comment https://forums.phpfreaks.com/topic/271914-html-to-php-form-communication-question/ Share on other sites More sharing options...
mrMarcus Posted December 12, 2012 Share Posted December 12, 2012 See here. Quote Link to comment https://forums.phpfreaks.com/topic/271914-html-to-php-form-communication-question/#findComment-1398946 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.