Jump to content

Broad stroke "how to" programming


Recommended Posts

If I were to create this: https://www.w3schools.com/howto/howto_css_contact_form.asp

Obviously, I would result in an email to "me" if I'm the owner of the website.  What additional coding do I have to do to facilitate this?

High level - If I wanted to create a site were I can sell t-shirts and take online payments, how many layers to that programming onion?  Disregarding aesthetics, what would the functionality look like?

Link to comment
Share on other sites

Hey there, if you want to code a backend for your contact form, you might have some luck looking at this: https://www.w3schools.com/php/php_forms.asp

This is the function you'd want to use to send an email: https://www.w3schools.com/php/func_mail_mail.asp

Onto your second question. Sell t-shirts and take online payments?

  • You'd want a payment processor. I'm personally familiar with Stripe and its really good for getting a checkout nice and quickly.
  • Unless you have less than 10 items, you'd probably want your own Database. This will have all the details of your shirts, including images, categories, etc Good for customers and for your payment processor. Manual upkeep of a page for each product gets tedious fast.

Above is the bare minimum. You could look at a couple of other things afterwards (like logins, and accounts) but sticking with the above will get you up the fastest.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...