En cours

Manipulate array returned from MySQL in PHP

Hello,

I have a script that returns all rows in a database.

I need to have my php script manipulate the mysql array that returns by running a defined function on some of the rows of data

Simplified example of return array:

{"data":[{"id":1,"firstname":"Bob","Number":"5","Character":"C"}{"id":2,"firstname":"Joe","Number":"6","Character":"D"}]}

What I need to do is to run function "decrypt($data, $password);" on the columns Number and Character and store this new value in the array, where $data is 5, 6, C, D and $password is defined

Thank you!

Compétences : MySQL, PHP

en voir plus : php mysql fetch array multiple rows, mysql_fetch_row in php, fetch array php, mysqli_fetch_all, php mysqli_fetch_array, mysqli_num, php mysql fetch assoc, mysql fetch object, manipulate text mysql php, php post radio value mysql update, scrape mysql database php, populate web page database php mysql, as400 mysql database php, insert formulier mysql database php, html form changes mysql database php

Concernant l'employeur :
( 2 commentaires ) Chalong, Thailand

Nº du projet : #14842782

31 freelance font une offre moyenne de $40 pour ce travail

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(177 Commentaires)
9.0
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(92 Commentaires)
6.9
hjabeen972

We are extensive experience PHP / angular.JS MYSQL , WORDPRESS , OPENCART , PHP/codeigniter , HTML , CSS , HTML5 , CSS3 , JQUERY , JAVASCRIPT , PHOTOSHOP [login to view URL] http://www.a Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(133 Commentaires)
6.8
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(198 Commentaires)
7.2
geekydeveloper

Hello Sir, We have experienced programmers [login to view URL] have worked in PHP project. How can we discuss about job? Here is the link of feedback "http://www.freelancer.com/u/geekydeveloper.html" We would like to Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(59 Commentaires)
6.6
shayona163

hello sir i am expert in php i am able to do this work you will satisfy with my work i can do this work asap thank you

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(84 Commentaires)
5.9
herpay

Hello, I'm an experienced php/mysql developer and so I can make it within max a few hours after you accept my bid. Regards, Tamas

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(206 Commentaires)
6.1
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(52 Commentaires)
6.2
phpfreelancer86

Hello Sir, I've reviewed your requirement and I'm ready to work with you. I will provide quality work as well full support for any query. I'm giving you trust for good quality work. I have almost 7+ years of expe Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(154 Commentaires)
6.2
imagicaworld

Dear Client , We are Really interested to do work with you , We are Web & Software development company having more than 6 year experience in Software development we totally committed to quality service, Transparen Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(59 Commentaires)
6.0
usmanrana07

Hi! I can do this task right now. Contact me for quick and excellent work. Waiting for response. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(36 Commentaires)
5.8
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(65 Commentaires)
5.9
kasiviswanathan2

Hi, Can you please chat and tell me more about it.. I can start now without waiting. I understand your requirement you need json format result as ouput from your db.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(58 Commentaires)
5.3
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(56 Commentaires)
5.4
testotorko

Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web Developer and Web Designer, and have worked with wide variety of s Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(47 Commentaires)
5.1
abbalove

Hi, I am expert in PHP and MySQL. I can create you a script that match your description. Rocky .

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(43 Commentaires)
5.1
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(8 Commentaires)
5.0
pardhansingh57

Dear Hiring Manager, I CAN STRAT NOW. I have read your requirements very carefully. I am expert in these fields wordpress,woocommerce, html, css/less, bootstrap, presatshop, shopify, joomla,responsive,html to wor Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(50 Commentaires)
4.8
kazimking

Hi cdhnhagen, Hope your are fine. I am Interested in your work to return JSON object. I have 5 year experience in Web Development Service. I am able to this job quickly.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(33 Commentaires)
4.9
satyajeetkeshari

Hello, Warm Greetings If looking for a good experienced web developer, then your are on right place. Development is my skill & passion. I am having more that 9 years experienced in web development of corporat Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(53 Commentaires)
4.5