[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Een reken-script !!
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Een reken-script !!

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

Een reken-script !!

Berichtdoor TheNewfy » 01 okt 2006 11:47

Heykes allemaal,

Even kort voor stellen, ik ben Erwin alias TheNewfy en mijn grote hobby's zijn onze Newfoundlanders en website-layouts creeëren.

Nu ben ik mijn eigenste site natuurlijk alles over onze Newfoundlander-kennel weer in een ander jasje aan het steken ( ja ik ben ook de tel kwijt Stef....lollol) en kwam zo op een idee waar wij in de regelmaat als fokker mee geconfronteerd worden de laatste jaren...."het juist berekenen van de hoeveelheid voeding per dag" ?

Ik heb hier over een vraag...na het nodige te hebben geprobeerd en gelezen te hebben.....ben een leek in PHP en weet ook niet of het mogelijk is !!

Om zo een berekening te maken heb ik alle gegevens om dit zo te doen, nu zou ik graag willen proberen om dit in een ...!! reken-script !!...te verwerken zodat men deze via de site kunnen laten uitrekenen en zo automatisch de juiste hoeveelheid voeding per dag krijgen te zien.

Aangezien ik het zo niet voor elkaar krijg heb ik eerst naar Stef gemaild of dit uberhaubt wel mogelijk is. Ik heb alle informatie voor de berekening en een voorbeeldje zo als het er uit zou kunnen zien op mijn hosting gezet.

Mocht er iemand interesse voor hebben....alvast bedankt en wil natuurlijk als het allemaal mogelijk is er ook graag iets tegen over stellen voor de moeite....maar daar komen we dan wel uit...vermoed ik.

Erwin
ééns een Newfy, altijd een Newfy
TheNewfy
wmpr
 
Berichten: 9
Geregistreerd: 30 sep 2006 18:50
Woonplaats: Lommel, België

Berichtdoor Anthony » 01 okt 2006 11:50

Avatar gebruiker
Anthony
wmpr
 
Berichten: 2828
Geregistreerd: 07 aug 2004 14:05
Woonplaats: Brugge - België

Berichtdoor TheNewfy » 01 okt 2006 12:18

ééns een Newfy, altijd een Newfy
TheNewfy
wmpr
 
Berichten: 9
Geregistreerd: 30 sep 2006 18:50
Woonplaats: Lommel, België

Berichtdoor TheNewfy » 05 okt 2006 17:05

ééns een Newfy, altijd een Newfy
TheNewfy
wmpr
 
Berichten: 9
Geregistreerd: 30 sep 2006 18:50
Woonplaats: Lommel, België

Berichtdoor Robin » 05 okt 2006 17:15

Avatar gebruiker
Robin
wmpr
 
Berichten: 66
Geregistreerd: 29 sep 2005 20:30
Woonplaats: Amsterdam

Berichtdoor TheNewfy » 05 okt 2006 18:01

Oké zal het zo proberen;

da wat moet worden in gegeven in de afbeelding (zie afbeelding via de link) is wat deze berekening voor moet zorgen dat men de preciese waarde van de hoeveelheid van de te geven brokken per dag moet verkrijgen.

eiwit [26]+vet[14]+rwu as[6]+vezel[2,5]+vocht[8]=56,5%- 100%=43,5%

eiwit 26 x 3,5 = 91
vet 14 x 8,5 = 119
koolh 43,5 x 3,5 = 152,25

TOTAAL =362,25

HOND 44 KILO , ACTIEF

145 x 12,62 = 1.640,6 : 362,25 = 466 gram per dag



Dit is de berekening die er voor nodig is, de tabel met de waardes per 5 kg lichaamsgewicht die men ook moet kunnen ingeven en de activiteit van de hond zijn vaste waardes die op de pagina in de link uit mijn begin bericht vermeld staan.
De % van de eiwitten,ruwe as, ruwe celstof en vocht zijn per brok verschillend

Ik hoop dat ik het zo duidelijk moegelijk en makkelijk heb uitgelegd.

Alvast bedankt, Erwin
ééns een Newfy, altijd een Newfy
TheNewfy
wmpr
 
Berichten: 9
Geregistreerd: 30 sep 2006 18:50
Woonplaats: Lommel, België

Berichtdoor KillerSponge » 06 okt 2006 08:33

Met getalletjes rekenen is in alle scripttalen doodsimpel, dus dat zou geen probleem moeten zijn.
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Berichtdoor TheNewfy » 06 okt 2006 09:29

ééns een Newfy, altijd een Newfy
TheNewfy
wmpr
 
Berichten: 9
Geregistreerd: 30 sep 2006 18:50
Woonplaats: Lommel, België

Berichtdoor Robin » 06 okt 2006 22:44

Avatar gebruiker
Robin
wmpr
 
Berichten: 66
Geregistreerd: 29 sep 2005 20:30
Woonplaats: Amsterdam

Berichtdoor TheNewfy » 07 okt 2006 01:48

ééns een Newfy, altijd een Newfy
TheNewfy
wmpr
 
Berichten: 9
Geregistreerd: 30 sep 2006 18:50
Woonplaats: Lommel, België


Keer terug naar PHP, ASP, SQL



cron