The following code doesn't replace the ? with data when running using call back function. But works when not using call back function. I would prefer not to use synchronize mode to avoid looking stalled when waiting. Can you help?
URL: http://dbno.us/finance/ajindex.php?index=dji
<?php
function...
How do you get stock quote from the client side (javascript)?
Here is the PHP (server side) version
$file = fopen("http://finance.yahoo.com/d/quotes.csv?s=IBM&f=noc1&ex=.csv", "r");
$stocks = fgetcsv($file);
I have a simple question which I do not know the answer.
I have two programs: A.php and B.php.
From within A.php I call B.php.
B.php will return a random number.
A.php will then write that random number into a file.
My trouble is in passing the random number back into A.php.
Help!
I copied an example from the web, but I can't get it to work.
Here is the code.
function CheckForm ()
{
// ** START **
if (document.ClientInfo.x_terms_conditions != "agreed") {
alert( "Please read the Terms and Conditions and agree to it." );
return false;
}
else
return true ;
//...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.