Articles tagged with: PHP
PHP »
From the code below, you can get IP Address, Page name, Browser name, Operating System name, and Page Referrer name. Note: If you directly run this code, you will not get Referrer name. To view referrer information, you can link the page below from any other page.
PHP »
I find timestamp more flexible to use. Using time function which returns current Unix timestamp. We have the flexibility to change the timestamp according to the display requirement for our date and time by using date function.
Javascript »
I had problem giving the back link and I found this solution: Go Back This helped me. Hope this will be useful to you as well.
MySQL, PHP »
Before I had posted an article to add, edit, delete, and display contents. I had also included sessions there. There was the facility to login and register users too. But i got feedback that it was a bit complex for novice users of PHP (users who have just started PHPing). It was a kind of [...]
PHP »
Explaining/Illustrating different ways to generate random numbers and strings in PHP
PHP, Regular Expression »
In this article, you will find php validation code for: 1) Interger Validation 2) String Validation 3) Decimal Validation (two digits after decimal)
HTML, PHP »
Problem: I want to create a dynamic table with a row starting after certain number of columns, i.e. like, i want to create an html table which automatically generate new row after 3 columns in a row. Solution:
MySQL, PHP »
Problem: Concatenate and fetch data from two fields of database and then break it again. Solution:
PHP »
Below is the code with sufficient comments on making a tree navigation menu in PHP. A single page holding different links. :-D Download link below:
MySQL, PHP »
Hello everyone! here is a simple and complete tutorial to add, edit, delete, login, and register in PHP with MySQL database. The description is present in the code.. in comments :D I hope those comments are sufficient to describe the code. The database part is in the sql file named ‘database.sql’.
PHP »
Here is the php code for file upload (image upload in this case) with description included within the code: There are two files. ‘fileupload.html’ contains the form to upload file and ‘upload.php’ contains the php code.
PHP »
< ?php /* creating a class with two variables and a function */ class abc { var $name = "Ram"; var $surname = "Sharma"; function greet() { echo “Welcome! $this->name $this->surname”; } } class xyz extends abc { var $middlename = “Kumar”;
