creating an order fom

wmorri

Visiting Expert, Sysnative Administrator Emeritus
Joined
Apr 2, 2012
Posts
183
I am interested in creating an order form such as:

orderform.jpg


I want to do this with php and mysql. I looked at the code for this and it was written in aspx which doesn't help me very much. I know that it is possible as the html will be pretty much the same, I am just not sure about the php because each form is different.
 
Not sure about the PHP why? Each form is different, however, it's all on the same page with the HTML portion. Each page has different ID's on their textboxes, so which page is selected at that current time shouldn't have a factor really. For example, perhaps the first textbox on the first tab has an ID "sltcountbtn", and the button in the same position on the second tab has an ID "btnsomething". Regardless the PHP takes these values in as input all together and uses them for the submit process. :)

PHP and SQL is pretty simple. This is basically what Laxer does with the DRT, so perhaps he can help you here as well. :) Whenever I do PHP programming, it's usually for creating plugins for my own forum. And sometimes it requires interaction with the MySQL database.
 
I haven't started doing much yet. I am working on this two fold, and both folds for me aren't easy as I don't have a couple of days to just sit down and do it. The website that this screenshot comes from is Order-CommandChannel.com. As I stated above it is all written in asp but structure is still the same.

The other part of this is a bash script that I am working on outside of here, that basically takes the information in the from the form primarily Username to name the folder that holds the server info. SuperUser password for Administration, and Server Password, which will be put into the conf file for murmur. That is where I am at so far. I thought that I would get the hard stuff out of the way first and then work on the easier stuff like creating the basic site second.
 
The form would either be all one form(which I believe the current page is) or a series of forms using sessions...

The core of the form to match the current design would be javascript...

PHP would only jump in after submit is hit to re-verify the input and pass it onto the server.
 
Laxer, thanks for looking at that for me. I think that one big form would probably work best as most people would be signing up and setting up their server at the same time.

I have looked at a bunch of companies that offer the same service as I am looking to provide, and from a purely aesthetic point of view, I have seen sites that run on wordpress, and designs for wordress like WHMCS. To some that totally written from scratch. I guess what I am getting at is should I look at using something like a wordpress backend for ease of access, or would it be better for me to write something different and custom, then add my website as a front end?
 
Last edited:
If your looking into something like this you really should be using a CMS...

You have a few options in my opinion. Firstly, design your own. In the act of designing it you will learn it and it will be truly unique.

Secondly, pick a CMS and learn how to highly customize it.

Wordpress is great for sites and is highly customization. If you are looking for something with a little more power but much more of a pain to work with check out Drupal. They support forums and blogs as well as provide an easy editor to work with.

^^Above is for clients...

As for your site, do whatever you feel is best.

If it's just a site I would avoid the CMS and stick with hard coding as the pages don't really need to be customized. If you want something like live-chat or a forum then I would install the CMS and link into it with static pages you designed...
On a side note, wordpress is very very popular commercially, I see job offers quite frequently looking for a wordpress expert...
 
I think that I am going to give Drupal a try. The worst that happens is that I find that I don't like it on my local machine. I uninstall it and then I move on to something like wordpress, which as you have mentioned there is a market for wordpress experts.
 
it might be, I never really looked at WHM before. From the demo it just looks like a simplified cms for small businesses.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top