karenk
-
Posts
2 -
Joined
-
Last visited
Posts posted by karenk
-
-
Hi
When attempting to open this file and get a quote (KO) coca cola, NYSE
I get the following error: (Please note that this file is directly from the downloads)
Have I done something wrong?
Tx
Karen
Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/php_advanced/ch10/get_quote.php on line 18
Warning: fopen(http://quote.yahoo.com/d/quotes.csv?s=KO&f=nl1): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/php_advanced/ch10/get_quote.php on line 18
Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /var/www/html/php_advanced/ch10/get_quote.php on line 21
Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/php_advanced/ch10/get_quote.php on line 24The latest value for (KO) is $.Enter a NYSE stock symbol to get the latest price:
For Statement For Create Html Input Boxes Retreived By $_Post Array
in PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
Posted
Hi
I am trying to use a For statement to create multiple input boxes:
<submit type button>
And then retreiv the results using POST
However, I cannot seem to retreive the HTML form input boxes and mainpulate them with the $_POST array.
The error is that the index is undefined?
The problem is that the index is not correctly being passed to the post array upon submission. I have been trying various forms of quotation for the submission but am wondering if I am correctly retrieving / looping through the $_POST form upon submission.
Any thoughts?
Thanks,
Karen