Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
php x 31
Member Avatar for tgr0ss83

I have a problem w/ the Below code, that when I view the table, it repeats the Headers for each row. : For instance: [CODE] comed_zone chicagogen_hub chicago_hub nillinois_hub 10 30.8 30.4 30.8 30.6 comed_zone chicagogen_hub chicago_hub nillinois_hub 11 29.0 28.2 29.2 28.8 comed_zone chicagogen_hub chicago_hub nillinois_hub 12 28.2 27.5 …

Member Avatar for veedeoo
0
194
Member Avatar for tgr0ss83

[url]http://www.iso-ne.com/markets/hrly_data/selectHourlyLMP.do[/url] I'm trying to parse a CSV generated from the above link. From what i gather the link is : [url]http://www.iso-ne.com/markets/hrly_data/selectHourlyLMP.do?locationType=HUB&node=4000&startDate=12%2F20%2F2011&endDate=12%2F20%2F2011[/url] My problem is it seems half the tiem it downloads, half the time it doesn't, almost as if it gets cached in my system. Is there a way to …

Member Avatar for tgr0ss83
0
86
Member Avatar for tgr0ss83

Not the prettiest edits, but does the job, and it's fast :) Sorry Cereal, i know it's like taking crayon to a Picasso :) [CODE]<?php $file = "http://mis.nyiso.com/public/realtime/realtime_gen_lbmp.csv"; $f = fopen($file, "r"); $ln= 0; $theData=array(); $nyc = array(); $millwood = array(); $hudvl = array(); $dunwood = array(); $nycLmp = array(); …

0
74
Member Avatar for tgr0ss83

I have a CSV that i can parse no problem at 10am.. But by 5pm it does grow to over 100,000 lines that cuases the script to hang. I have to parse the CSV into an array that i can then shape. If anyone has any idea how i can …

Member Avatar for cereal
0
4K
Member Avatar for lagoni123

Hey Daniweb, can somebody explain to my how to call a value from my database after i logged in? Like i log in with the username and password, then i want on my member page to show what email this user has or any other thing from the database. What …

Member Avatar for diafol
0
137
Member Avatar for tgr0ss83

[B]I have an array that looks like this:[/B] [CODE] array 0 => array 0 => string '12/08/2011' (length=10) 1 => string '00:00' (length=5) 2 => string '34.83' (length=5) 3 => string '12/08/2011' (length=10) 4 => string '00:00' (length=5) 5 => string '34.83' (length=5) 1 => array 0 => string '12/08/2011' …

0
61
Member Avatar for tgr0ss83

I'm trying ot query the same table twice, with different Name's for the values. [CODE]$query_rt_lmp ="(SELECT rt_lbmp.lbmp as nyc FROM rt_lbmp WHERE rt_lbmp.`date`='$date' and name='N.Y.C.') UNION ALL (SELECT rt_lbmp.lbmp as millwd FROM rt_lbmp WHERE rt_lbmp.`date`='$date' and rt_lbmp.name='MILLWD')";[/CODE] when i do [CODE]<?php echo $row_rt_lmp['nyc'];?> <?php echo $row_rt_lmp['millwd'];?>[/CODE] I get this: array …

Member Avatar for diafol
0
54
Member Avatar for tgr0ss83

I have an array that looks like this: [CODE]array 0 => array 'Time Stamp' => string '11/22/2011 00:05:00' (length=19) 'Name' => string 'CAPITL' (length=6) 'PTID' => string '61757' (length=5) 'LBMP ($/MWHr)' => string '48.24' (length=5) 'Marginal Cost Losses ($/MWHr)' => string '1.13' (length=4) 'Marginal Cost Congestion ($/MWHr)' => string '0.00' …

Member Avatar for cereal
0
93
Member Avatar for tgr0ss83

cant figure out why i'm getting this error: Warning: implode() [function.implode]: Invalid arguments passed in C:\Users\Travis\Documents\choicegrid\dam_spp.php on line 67 [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php require_once('dom/simple_html_dom.php'); $url = "http://www.ercot.com/content/cdr/html/"; // The simple url $name = …

Member Avatar for tgr0ss83
0
987
Member Avatar for tgr0ss83

I have the following PHP code [CODE]<?php // SimpleHTMLDom Library require_once('simple_html_dom.php'); // Source Data $source = 'table-array-data.htm'; // Displays Extra Debug Info $dbg = 1; // Read DOM $html = file_get_html('http://www.ercot.com/content/cdr/html/real_time_system_conditions'); // get the table. Maybe there's just one, in which case just 'table' will do //$table = $html->find('#theTable'); // …

Member Avatar for Stefano Mtangoo
0
283
Member Avatar for tgr0ss83

I get the following Error from the code below: Warning: require_once(JS/Extractor.php) [function.require-once]: failed to open stream: No such file or directory in C:\Users\gross.t\Desktop\choicegrid\jsextractor.php on line 12 Fatal error: require_once() [function.require]: Failed opening required 'JS/Extractor.php' (include_path='.;C:\Users\gross.t\Downloads\pear\;/library/') in C:\Users\gross.t\Desktop\choicegrid\jsextractor.php on line 12 [code]<?php $path = '/library/'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once …

0
117
Member Avatar for tgr0ss83

I'm trying to integrate [url]http://www.ercot.com/content/cdr/html/hb_lz[/url] using PHP and MYSQL... but i cant figure out the easiest way to go about this. Can someone offer me some advice on if i'm doing this wrong? Was trying to figure out how to pull the data to put in MYSQL to display in …

Member Avatar for chrishea
0
102