Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 03-12-2013, 10:41 PM   #1
smithoptimizer
Registered User
 
Join Date: Mar 2013
Posts: 49
What is array_flip()?

What is array_flip()? please tell me ...
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
smithoptimizer is offline   Reply With Quote

Old 04-12-2013, 12:29 PM   #2
davidmerinas
Registered User
 
Join Date: Apr 2013
Location: Cordoba (Spain)
Posts: 8
if your array is

array('key'=>'value')

This function array_flip returns
array('value'=>'key')

I hope this helps. Bye!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidmerinas is offline   Reply With Quote
Old 04-19-2013, 03:48 AM   #3
vivekaryan
Registered User
 
Join Date: Apr 2013
Posts: 58
well........... i have no idea
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
vivekaryan is offline   Reply With Quote
Old 04-22-2013, 10:40 PM   #4
Jack Hard
Registered User
 
Join Date: Dec 2012
Posts: 25
An array_flip() is the Function of returns an array in flip order, i.e. keys from trans become values and values from trans become keys.
Jack Hard is offline   Reply With Quote
Old 04-23-2013, 12:11 AM   #5
RohanJaiswal
Registered User
 
Join Date: Apr 2013
Posts: 8
array_flip function used to exchange all keys with their associative values in a array.
syntax- array_flip(array);
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
RohanJaiswal is offline   Reply With Quote
Old 11-06-2013, 12:18 AM   #6
mridul
Registered User
 
Join Date: Sep 2013
Posts: 92
dont know about this u can find this on w3schools.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
mridul is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:56 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.