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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...