Search found 11 matches

by amar9450
Tue Sep 27, 2016 5:43 am
Forum: PHP
Topic: How to generate a random number in PHP?
Replies: 3
Views: 4084

Re: How to generate a random number in PHP?

You can use rand() for generate a random number in PHP.

Description:
int rand ( int $min , int $max )


Parameters
min
The lowest value to return (default: 0)
max
The highest value to return (default: getrandmax())

For Example :

<?php
echo rand() . "\n";
echo rand() . "\n";

echo rand(5, 15);
?>
by amar9450
Wed Sep 21, 2016 9:24 am
Forum: PHP
Topic: Where can a PHP newbie go to get help?
Replies: 23
Views: 27244

Re: Where can a PHP newbie go to get help?

For PHP beginners,W3school is the best website to learn every concept regarding web development. Tutorialspoint is another good site for this.
by amar9450
Tue Sep 20, 2016 5:54 am
Forum: PHP
Topic: How To create CRUD functionality in Laravel?
Replies: 0
Views: 1932

How To create CRUD functionality in Laravel?

Can anybody help me to create CRUD functionality In Laravel Framework.
by amar9450
Mon Sep 19, 2016 5:47 am
Forum: Zend Server
Topic: Zend Server 8.5.5 security release
Replies: 1
Views: 2478

Re: Zend Server 8.5.5 security release

This is a Great news For Every PHP developers. I appreciate this post.
by amar9450
Fri Sep 16, 2016 5:59 am
Forum: Zend Server
Topic: Update on long-term support for Zend Server and PHP 5.x
Replies: 3
Views: 3336

Re: Update on long-term support for Zend Server and PHP 5.x

This is a great news for every zend developers.i appreciate this post.
by amar9450
Thu Sep 15, 2016 6:19 am
Forum: PHP Questions / Hints
Topic: How To Create Dynamic DropDownList With Jquery?
Replies: 2
Views: 5028

How To Create Dynamic DropDownList With Jquery?

I try to create dynamic Dropdownlist but still got an error to do this.can anybody help me to build this with appropriate themes?
by amar9450
Wed Sep 14, 2016 6:42 am
Forum: PHP
Topic: How to get difference between two or more arrays in PHP?
Replies: 2
Views: 2661

Re: How to get difference between two or more arrays in PHP?

You can get difference between two arrays from array_diff function.
Syntax of it.
array array_diff ( array $array1 , array $array2 [, array $... ] )
by amar9450
Tue Sep 13, 2016 5:58 am
Forum: Zend Framework
Topic: How to setup a project on Zend platform
Replies: 5
Views: 4642

Re: How to setup a project on Zend platform

First,you need to install Zend server on your system.The include_path will already be configured to include Zend Framework.After This,you can select "create your project" option to start your work.
by amar9450
Mon Sep 12, 2016 6:00 am
Forum: PHP
Topic: How to create and delete zip folders using PHP
Replies: 1
Views: 2084

Re: How to create and delete zip folders using PHP

I understand your problem.you can tray this <?php $directory = "send_sms/"; //create zip object $zip = new ZipArchive(); $zip_name = time().".send_sms"; $zip->open($zip_name, ZipArchive::CREATE); $files = new RecursiveIteratorIterator( new RecursiveDirectoryIterator($directory), RecursiveIteratorIte...
by amar9450
Sat Sep 10, 2016 5:53 am
Forum: Zend Server
Topic: Zend Server 9 with PHP 7 is released!
Replies: 9
Views: 7201

Re: Zend Server 9 with PHP 7 is released!

This is a great news for every PHP developers.This reduces all the complicated task for the developers.