Find Jobs
Hire Freelancers

simple concept php and mysql project

$35-75 NZD

Fermé
Publié il y a presque 12 ans

$35-75 NZD

Payé lors de la livraison
Need a script to read from one table called , do some calculations, and write the resulting fields to a second table. I need to have this run on 30 pairs of tables. My idea for the design of the program is that there will be a constant declared at the top of the script which will point to the proper table. The constant will have a value of xxx and the table name wil be tbl_xxx. Each row in Table1 will be data for a day. The script should read the most recent row and make sure that the day is the “right” day. The right day is defined as today as measured by either NYC time or Tokyo time. There will be a constant at the top of the script which is set to either NYC or Tokyo and based on that value the script should use either NYC time or Tokyo time. If the script cannot complete or if it cannot find today’s data it will send an alert mail to the address . myName will be another constant defined at the top of the script. The script should be written so that it will be easy for me to add additional fields to write to. I cannot give you access to the database. You will have to send me the code using a generic database and I will test it. More detail is below Table2 will obtain all of its data from Table1 but will perform calculations like adding and subtracting fields from table1 to obtain a new value for table2. Also some of the values from table2 will be lagged values from table1. By lagged I mean that values for today in Table2 will come from k days prior values of Table1. I suggest creating a function which will look like this fieldWriter(string writeTo, int Lagfield1, double field1, int Lagfield2, double field2, int Lagfield2, double field3, …, int LagfieldN, double fieldN) where writeTo is the name of the field in Table2 to be written to, lagFieldJ is the number of periods back to find the value of fieldJ. using fieldWriter() will allow me to change the calculations later on if I want to. At the moment I want fieldWriter() to have 70 different default values. I will give you these calculations. Many of them are just lags of a single variable. I cannot give you access to the database. You will have to send me the code using a generic database and I will test it. The completion of this project requires documentation although it should be pretty simple since this is a simple script. By the way, By lag I mean 1 period before. So if the lag is -1 then the data from table 1 that I want is one period before the current period (1 row prior to the current row in the table)
N° de projet : 1730571

Concernant le projet

3 propositions
Projet à distance
Actif à il y a 12 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
3 freelances proposent en moyenne $62 NZD pour ce travail
Avatar de l'utilisateur
Hi, I can do that
$75 NZD en 2 jours
5,0 (50 commentaires)
5,8
5,8
Avatar de l'utilisateur
Hi, I am ready for you. Regards.
$75 NZD en 1 jour
4,9 (19 commentaires)
4,8
4,8
Avatar de l'utilisateur
Custom software development - <b><i>Removed by Admin</i></b>
$75 NZD en 1 jour
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Hello wekaman2011 I would like to tackle this project, even if somebody else has done it for you to gain some sort of an entry into freelancing, as this is my first post. I need to ask 3 or 4 questions regarding your detailed explaination as I see you're talking about pairs of tables, with input tables being tbl_xxx and then talking of table2..., different database names? Thanks for your time
$35 NZD en 2 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de JAPAN
Ev, Japan
4,7
2
Membre depuis mai 23, 2012

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.