Positioning Elements Properly in CSS

Submitted by Yorkiebar on
Introduction: This tutorial is on how to position elements properly in CSS. Template: Here is the default HTML template containing our head and body for our page... Linking CSS: Next, if we were going to be using an external (from the editing HTML/PHP file) CSS file, we would want to link our CSS file in the head tags, like so... I'm going to be using inline styling in order for it to be easier to

How to Resize Image in PHP

Submitted by GeePee on
This project will show you how to resize image using php. It will let you upload images you want to resize. You have two options; either you change the image size using the width textfield or use the height textfield. If you change the width, the height will automatically change keeping it's aspect ratio. The same goes when you change the height. Hope you learn from this.

Writing your first C program

Submitted by moazkhan on

Writing your first C program

In this part you will learn: 1. C syntax 2. Showing output 3. Tabs and new lines 4. Headers 5. Variables and data types In this tutorial I will teach you how to write your first c program. Writing your first C program: NOTE: Whenever I write something after // or in between /* */ it means I am writing comments. Comments are not read by the compiler they are just a way to write your own notes after some statement.

Registering Via IP (Continuation) in PHP/MySQLi

Submitted by Yorkiebar on
Introduction: This tutorial is on how to allow our users register via their unrecognised IP (Continued from http://www.sourcecodester.com/php/7539/auto-recognise-users-ip-address-through-phpmysqli.html). Important: I highly recommend that you read through the linked tutorial above, it will allow you to get the same source I am going to be using throughout this tutorial! Validation: So before we

How to Create an Image Converter in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will convert an image to its file extension in jpeg, bmp, png, and gif. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add one PictureBox named picbox, two buttons named btnBrowse and btnconvert, and one ComboBox named cbformats.

Understanding headers, variables and functions

Submitted by moazkhan on

Understanding headers, variables and functions

In this part you will learn: 1. Pseudo code 2. Headers 3. Functions 4. Variables and data types In this tutorial I will teach you the basic stuff that is need for programming in c. First thing to learn is pseudo code. Pseudo code: When you want to start coding a problem the first thing before writing an algorithm is to write the solution of the problem that is in your mind in simple English. Pseudo code has no specific pattern it’s just a way to writing the solution of the problem in simple English.

Add / Multi Delete & Edit Data in one Page

Submitted by ifeco on
Coded in Php. This is a simple example on how to make multiple modifications of database content without navigating from one page to another. If you follow it carefully, you will get to know how I achieved this. In this application, you can add content, check all, uncheck all, delete and edit all checked boxes in one single page. To get exactly the layout shown on the screenshot, use Google Chrome

How to Count and Limit Characters

Submitted by GeePee on
This is the updated version of the comment box I have made previously. The main purpose of this update is to show you on how to limit the text count in the textarea. It displays the remaining text to be entered. I also added line breaks by using .replace in javascript code. Now it displays what we exactly wrote in the textarea. And I also updated the plain text url. It is now clickable and