![show comments gx works 2 show comments gx works 2](https://i.ytimg.com/vi/KLI891lcDQI/maxresdefault.jpg)
Note: I’m following along using PHPDevServer on my Laptop as it’s a little quickerīy saving me the setup process of opening an ftp program, connecting to my site, uploading,downloading etc. Hit a wall while performing the steps in the ‘include’ tutorial. Now I’m no ‘Wiz’ at this (exactly why I’m looking to you for the tutorial) but I’ve Sometimes the teachers become students and Students become the teachers. One of the number one things I always loved about the open source community or organizations such as yours was the desire to share what we know. Keep up the fantastic spirit of sharing guy’s. I’m on my way to get the details now.I’ll post them shortly! It’s been a day or so since I’ve messed with this so I’ll have to recreate the error and get back to you but from what I can recall it’s something to do with the socket? possibly address of the server or something to that effect. Concerning the creation of comments that is the focus of this tutorial, once I had the php in place I open page one and was greeted with the error that essentially came down to the server ‘burping’ at the request. Ive started implementing into other projects.
#SHOW COMMENTS GX WORKS 2 CODE#
Hey Scott, You’re very welcome! I’m a Code ADDICT! Problem is, I’m so into learning, I have trouble staying with ONE language long enough to get all of it before I’m off again grabbing an IDE and starting in on another language!Īnyway. Below is our contact form and what the contact form will look like: Our Example Contact Formīecause our comments form is going to be relatively simple, we will be using text boxes for most of the input. … and my name and email address will be passed behind the scenes. If you use POST (instead of get), the URL will simple read: GET /page.php?name=brad& Īs you can see, my name and email address is passed in the URL. When using GET, all the data is passed in the url, such as: When the data is passed to a script for processing, it can be passed using either GET or POST. It can either send the data back to the same page for processing, or it can send it to a completely different script to handle the processing. For example, they can handle:Īfter the user has filled in the above data and clicks a submit button, it will send all of their data to another script for processing.
![show comments gx works 2 show comments gx works 2](https://www.mymitsubishisupport.co.za/wp-content/uploads/2017/12/ST-Editor-3.png)
HTML forms can handle quite a few different forms of input. For example, if you fill out a comment on a website and hit submit, everything that you typed in is submitted to a script on the server that writes your comment to a database. A quick introduction to HTML Forms Gathering the Form DataĪn HTML form allows a user to type data into a website, and then it submits the data to another page for processing. In our previous article we created a database and setup a table to hold those comments, and now in this article we’ll setup a HTML form that allows a user to enter comments. We’re creating a simple 2 page website that allows users to post comments on either page, and then shows all comments that have been posted.
#SHOW COMMENTS GX WORKS 2 HOW TO#
In this tutorial, we’re showing you how to interact with a MySQL Database using php.