Open in app

Sign In

Write

Sign In

Steve Sohcot
Steve Sohcot

250 Followers

Home

About

Pinned

OmniSearch Chrome Extension: 2 New Ways to Search Your Favorite Sites

My latest mini-side project is a Chrome Extension that adds two additional methods to search: one via the search bar and one in the right click menu. Similar to my “Search Funnel” Chrome Extension (also an app for Android and iOS), this saves you the step of visiting the website…

Chrome Extension

2 min read

OmniSearch Chrome Extension: 2 New Ways to Search Your Favorite Sites
OmniSearch Chrome Extension: 2 New Ways to Search Your Favorite Sites
Chrome Extension

2 min read


Pinned

PHP Contact Form Tutorial : Part 2 of 2

I previously wrote a tutorial on creating a simple PHP Contact form; this is Part 2 of 2 where I go over some more advanced techniques. Issue: Who is the email from? So far we can send an email, but it comes “from” whatever the default configuration was set up as. By this, I mean that…

AWS

5 min read

PHP Contact Form Tutorial : Part 2 of 2
PHP Contact Form Tutorial : Part 2 of 2
AWS

5 min read


Pinned

Simple PHP Contact Form Tutorial (Part 1 of 2)

This is a basic tutorial will show you how to create a Contact Form for your website that will send you an email. This is commonly used to collect feedback from users without them having to open their email client manually to send you an email. …

Web Development

5 min read

Simple PHP Contact Form Tutorial (Part 1 of 2)
Simple PHP Contact Form Tutorial (Part 1 of 2)
Web Development

5 min read


Pinned

The most valuable trick I know in Excel: a faster way to copy formulas

Using a sequence of keyboard shortcuts to copy a formula across multiple rows/columns in Excel- instead of a mouse- is the greatest time saver I have. My most common use-case is when I have a formula at the top right of my data that I need to paste it downwards…

Excel

5 min read

The most valuable trick I know in Excel: a faster way to copy formulas
The most valuable trick I know in Excel: a faster way to copy formulas
Excel

5 min read


Pinned

Excel Macro: VBA to Get the Row Count and Letter of the Last Column

You can get the last cell in Excel using the following line of VBA code: ActiveCell.SpecialCells(xlLastCell).Select However if your dataset was modified (specifically, if you deleted rows), then doing that won’t get the right value. It’ll return what the value was before the data was modified. Instead, I use the…

Excel

2 min read

Excel

2 min read


Pinned

My #1 Tip for PHP Programmers to Read and Write Code Easier

When I was first starting to write PHP, most tutorials I found placed the HTML output inside of the PHP. It’ll have an entire block of code that is only PHP, and it prints out HTML (and CSS and JavaScript for that matter). There’s a better way though. Take a…

PHP

2 min read

My #1 Tip for PHP Programmers to Read and Write Code Easier
My #1 Tip for PHP Programmers to Read and Write Code Easier
PHP

2 min read


Pinned

Sample basic PHP template for file structure, with example code

A best practice in how to organize your PHP files. A friend of mine needed a PHP template, where he can easily modularize different parts of this site. By this, I mean he’d have a separate file for the “navigation” and he can just include that file in his code…

Web Development

3 min read

Sample basic PHP template for file structure, with example code
Sample basic PHP template for file structure, with example code
Web Development

3 min read


Mar 9

Dates In SQL: You’ll Get What You Ask For

I have a dataset that I needed to compare “current month” against the average of the past three months. In this specific case, I wanted to compare February 2023 vs the average of November 2022 + December 2022 + January 2023. First I wanted to dynamically find the latest date…

Sql

2 min read

Dates In SQL: You’ll Get What You Ask For
Dates In SQL: You’ll Get What You Ask For
Sql

2 min read


Feb 21

I found a use for the SQL COALESCE() Function

I’ve heard about the COALESCE() function, but never had a use for it. As defined by W3 Schools: The COALESCE() function returns the first non-null value in a list. I recently had a situation where it was needed. Why Use COALESCE() ? Let’s assume I have the following dataset of “Points Per Employee,” which…

Sql

2 min read

I found a use for the SQL COALESCE() Function
I found a use for the SQL COALESCE() Function
Sql

2 min read


Jan 21

Tutorial: How to upload a CSV file into a MySQL database with PHP and Ajax Creating a *NEW* Table

Maybe my Google searching skills aren’t as good as I thought; I had trouble finding this exact solution! As indicated by the headline, these were my objectives: Allow the user to upload a CSV file to a MySQL database, with PHP. Bonus points for Ajax. The number of columns are…

PHP

4 min read

Tutorial: How to upload a CSV file into a MySQL database with PHP and Ajax Creating a *NEW* Table
Tutorial: How to upload a CSV file into a MySQL database with PHP and Ajax Creating a *NEW* Table
PHP

4 min read

Steve Sohcot

Steve Sohcot

250 Followers

stevesohcot.com

Following
  • Ayodeji Awosika

    Ayodeji Awosika

  • Nicolas Cole

    Nicolas Cole

  • Jason Fried

    Jason Fried

  • UX Movement

    UX Movement

  • Erik D. Kennedy

    Erik D. Kennedy

See all (9)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech