PHP hebrevc() Function

The hebrevc() function converts Hebrew text from a right-to-left flow to a left-to-right flow. It also converts new lines (\n) into. Tip: hebrevc() and hebrev() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires no special right-to-left character support to be displayed properly, making it very useful for displaying […]

PHP next() Function

The next() function is used to advance the internal array pointer. next() behaves like current(), with one difference. It advances the internal array pointer one place forward before returning the element value. Returns the value of the next element in the array on success, or FALSE if there are no more elements Parameter Description array […]

Canvas Clock Start javascrpit

Canvas Clock Start

To start the clock, call the drawClock function at intervals: <!DOCTYPE html> <html> <body> <canvas id=”canvas” width=”400″ height=”400″ style=”background-color:#333″> </canvas> <script> var canvas = document.getElementById(“canvas”); var ctx = canvas.getContext(“2d”); var radius = canvas.height / 2; ctx.translate(radius, radius); radius = radius * 0.90 setInterval(drawClock, 1000); function drawClock() { drawFace(ctx, radius); drawNumbers(ctx, radius); drawTime(ctx, radius); } function […]

How to create login authentication in Codeigniter

This tutorial lays a strong foundation that will help you implement a better and stronger authentication system that will make it difficult for attackers to gain unauthorized entry. The tutorial starts with the theory followed by the implementation. If you are already familiar with the theoretical aspect and authentication best practices then you can skip […]

How to Simple and Best Pagination using PHP and MySQL

Pagination is useful to show large data records into chunks of data.  Its very easy to apply pagination. Its very basic tutorial to teach you how to apply pagination. So you have to give start point and a limit. “Select * from table Limit {starting Point}, Limit”. You may also like How to Ajax Pagination in PHP, How to Ajax Pagination in […]

How to Login System using PHP with MYSQL database

This is a simple login script using php and mysql. In this script, a form will be displayed with two fields, email and password. When user is submitting with valid email and password, then he can access authenticated page. First we will connect to the database. Since we already have our table created “iosr_user_detail”. HTML […]

CSS – Media Queries

@media at-rules, used to target styles at specific media, such as screen or print.A page can then be optimized and laid out completely differently for mobile phones, tablets, and varying browser window sizes. Browser-size specific CSS CSSCopy This is telling a browser to apply a block of CSS when its viewport is 1000 pixels wide or less. You could use this to do something […]