Ramadan Posted February 13, 2018 Share Posted February 13, 2018 Hi, I want to create a php form like this site: https://ariananews.co/weather/ how to do this? Thanks Quote Link to comment Share on other sites More sharing options...
ginerjm Posted February 13, 2018 Share Posted February 13, 2018 Since it is ANOTHER LANGUAGE! what exactly are you looking to do? You probably want to use div tags to separate the different sections. Then use proper CSS and HTML to display the contents of each. Be sure to write your script to keep all of this complex html code SEPARATE from the php code that is creating the dynamic parts. Dont' mix php code inside the html - it just makes it too difficult to read and maintain. 1 Quote Link to comment Share on other sites More sharing options...
Solution Psycho Posted February 13, 2018 Solution Share Posted February 13, 2018 The only "form" I see on that site is a group of radio buttons. The only thing special I see is that the radio buttons possibly have custom CSS applied to change their appearance. See this example: https://www.w3schools.com/howto/howto_css_custom_checkbox.asp Or, it could be that they are "plain" radio buttons at all. They also look similar to JQueryUI radio buttons: https://jqueryui.com/checkboxradio/#radiogroup Except that the example above has the button and label within a "button" that changes background color based on the selected state of the radio button. Or, if there is more to the form than the radio buttons, you will need to point it out. That was the only thing I saw as field input on that page. 1 Quote Link to comment 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.