Jump to content

Educational PHP code


shadowz911

Recommended Posts

hello guys

this is my first post here .. well actually i'm trying to make an educational website about heatexchangers to help some mechanical engineering students in my department

i just have a small problem

I need to grab some values from a file

i have a file with listed temprature and the density of material at this specific temprature

so i want to write a code that opens the file then grab the number infront of this temprature

and if the exact temprature is not found in the file i need it to grab the temprature before and the temprature next and grab their corresponding values .. so i can make interpolation and get the exact value corresponding to this temprature.

can any body help about this ?

thanks in advance guys and sorry for bothering

Link to comment
https://forums.phpfreaks.com/topic/95887-educational-php-code/
Share on other sites

if you've got a fair amount of data, a MYSQL database would be best.

and you don't have to apologize for bothering us, if we felt bothered, we wouldn't ever sign in on these forums :D

 

but there as file open options...

this is a good tutorial to get you started..

http://www.tizag.com/phpT/files.php

Link to comment
https://forums.phpfreaks.com/topic/95887-educational-php-code/#findComment-490904
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.