Amitha Rudrigo

Votes : 3
Male. he is 23 years old.
he is join with us as codratorsince 2015,April.
Last time view at

He asked 10 questions.

How to get randomly 10 elements form array in PHP?
Get more than 10 users in my program. I want to limit to 10 users randomly. How can i do this? Array ( [1] => 'John', [2] => 'Anthony', [3] => 'Iris', [4] => 'Schaffer', ... )
Get the full URL in PHP OR JavaScript
$full_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; This is the code is that i currently use, But there is one problem is that $full_url has always the real path of the file. Basically it is current. But in apache server, used .htaccess...
Intersection between two array in JavaScript
I want clear JavaScript sample code to implementing array intersections between two array in JavaScript.
How can i get expired data records in PHP & MYSQL
I have clients data storage about their adds. Every month end i just want to warn them, who have been expired their adds. I had been saved every client's adds inserted date as normal table TimeSpan.
Get all column names of given table in php from MySQL database
I need to help to build mysql statment to get all column names on given table.
How can i get top result of each group in MYSQL
I wrote mysql query statement has selecting data with group by clause. That query already work, but expected result was not in there. SELECT * FROM TABLE GROUP BY group_id ORDER BY salary DESC ; Return very first lower id ( ASC order ) recode of each...
INSERT multiple records without cycle in CodeIgniter?
I currently use bellow code, but i need to insert records without using looping. foreach($records as $record){ $author = array( 'real_name'=>$record['first_name'].' '.$record['last_name'], 'email'=>$record['email'] ); $this->db->insert('authors'); }...
Get all table names in php from MySQL database
I need to help to build mysql statment to get all table names on given database.
Return all array elements except for a given key
I was wondering if there is a native PHP function for returning all values from an associative array that do not match a given key(s)? //source array $source = array('key_1'=>'value_1','key_2'=>'value_2','key_3'=>'value_3','key_4'=>'value_4','key_5'=...
Returning array of given keys from an array
Simple one, I was just wondering if there is a clean and eloquent way of returning all values from an associative array that do match a given key(s)? Here's what I mean: //source array $source = array('key_1'=>'value_1','key_2'=>'value_2','key_3'=>'v...

Reloaded Codrators


What is the codrate ? is a standard, fast cross browsing and highly versatile site. It is useful for many large number of Program Development Industries. So you can get support form Codrators , who are the codrate's joiners around world to help your program developments, You can answer other codrator's questions. Communicate with them. Share your knowledge with them. Do you have an interest in programming, So publish your articles about programming. It will help to maintain your professional co-profile. Actually is not such as a regular web site. It will be gave new experience, best narrow cross-browser view, reduce processing time to receive browsing request, it's mean do not wasting your time to browsing codrate's web pages because it has been upgrade always modern coding ways. So, what do you waiting for ?. Try your own.

Copyright 2015 Pride - Company. Design by Esila