On Nov 19, 2014, at 1:35 AM, Vasa <[email protected]> wrote:
> 
> Thank you for pointing out the bug. I am new to PHP :).  I fixed it and my 
> PHP is working fine retrieving the data and charting.  But i am trying to 
> move the db queries to my nodejs. So that when a request is made, it queries 
> the db and then tries to chart the data. I have attached my node server. 
> Please help me out.
>  

Vasa,

I am curious why you have or need both PHP and NodeJS? Ignore this if you have 
already proceeded past that point and Aria might have a quick answer for your 
question above.

Is there a typo in the above? Did you mean NodeJS where you write PHP, above?

        —ravi



> 
> On Tuesday, November 18, 2014 1:21:53 PM UTC+5:30, Vasa wrote:
> Hello noders
> 
> i am trying to generate a chart (using highcharts) with queried data from 
> Mysql. 
> I have my data.php file to query the database and create a JSON file. This 
> JSON file is used by index.php file to draw the chart. 
> This is not working because the chart is drawn before the sql data is 
> retrieved. 
> 
> I am trying to create a nodejs for the same and i assume this is the solution 
> to my requirement
> 
> Any advice here
> 

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/6F0D26B5-A459-440B-B6AC-96AB631BB3B1%40g8o.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to