Skip to content

Mubu Design

Nikolai Bird

  • Home
  • UX Survival Handbook
  • Portfolio

Category: PHP & MySQL

JavaScript, PHP & MySQL

MVC Simple Explanation

July 6, 2019July 6, 2020 by Nikolai

ModelViewController The user of a website clicks a button or submits a form. This data is sent to the Controller which sends the form or […]

PHP & MySQL

What is a function?

March 16, 2010 by Nikolai

In programming a function is a bit of code that waits around until its service is called upon. When called it performs a pre-programmed task. […]

PHP & MySQL

How do you force a number to have 2 decimal points in PHP?

March 16, 2010 by Nikolai

The function you need is called number_format(). Using number_format (9876.54321, 2) would return 9876.54. Just change the second number (2) to change the number of […]

PHP & MySQL

How do you store decimal numbers in MySQL?

March 14, 2010 by Nikolai

There are various ways to store decimal numbers in MySQL but the simplest is probably to make the Datatype = float and the Length or […]