php array functions

Cancelled Posted Feb 24, 2010 Paid on delivery
Cancelled Paid on delivery

**I need help writing some PHP code. I need to use the FANN library ([url removed, login to view]). Specifically I need help on how to retrieve data from MySQL and pass it into the arrays which are required by the functions. The specific functions to be called are fann_create, fann_train, fann_save, and fann_run. More specifically the fann_train and fann_run are the ones that require arrays as input and the array must be populated from MySQL. The data must be retrieved using "SELECT * FROM $argv[1]". The PHP code must auto-detect the column names which will be returned from the "SELECT", because the column names will not be known in advance by the program. In fact, the program may be invoked at different times with different values for $argv[1], corresponding to different tables which will have different columns. The program must also detect the data type (integer, decimal, double, enum, set, or varchar) for each column, and call an appropriate conversion function for each one (convert_numeric() or convert_string(), as appropriate). I will provide definitions for convert_numeric() and convert_string(). I am a database and mathematics expert. But I know very little PHP, so the coder must provide 100% working, tested code. I cannot help debug the PHP. Since I don't understand the code, the program must provide very clear error messages in case anything is wrong. The convert_numeric() and convert_string() functions are very simple and involve only math, so it was easy for me to write them.

**

## Deliverables

**PROJECT DETAILS

**the $argv[2] value should determine whether to call fann_train or fann_run

the $argv[3] value will be a comma-separated list of column names to indicate which columns go into the 2nd array of fann_train (instead of 1st array)

**DATABASE CONNECTION INFORMATION

**the database host, port, dbname, user, and password will be passed as ":" separated parameters in $argv[4]. Coder must call explode() function.

* * *This broadcast message was sent to all bidders on Wednesday Feb 24, 2010 11:25:58 PM:

### WHAT IS FANN

It is a famous PHP library, you may find more info at:

[url removed, login to view]

Please open link in your browser to find out more.

Engineering MySQL PHP Project Management Software Architecture Software Testing

Project ID: #3209624

About the project

6 proposals Remote project Active Mar 7, 2010

6 freelancers are bidding on average $51 for this job

brightsolnslx

See private message.

$85 USD in 14 days
(301 Reviews)
6.4
cse031sust02

See private message.

$34 USD in 14 days
(67 Reviews)
5.7
gamasoftware5

See private message.

$127.5 USD in 14 days
(142 Reviews)
5.7
omalb

See private message.

$21.25 USD in 14 days
(51 Reviews)
4.7
setiawanutama

See private message.

$21.25 USD in 14 days
(53 Reviews)
4.2
ruwanpathmalal

See private message.

$17 USD in 14 days
(14 Reviews)
3.0