User input example

view the php | view the css | view the pipe

Make sure that the names on your user input modules in the pipe...

...match up with the name attributes in your input tags in your html form...

...and also with the GET parameters which grab the user input after the submit button is pressed...


For more information about HTML forms, check out the HTML Forms section at w3schools.com


Example starts here


Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cselin/cassieselin.com/tutorialresources/Feedreadingexamples/user_input/index.php on line 42

Warning: file_get_contents(http://pipes.yahoo.com/pipes/pipe.run?_id=a1a120f7e1865ea7b9d0d34febe9d038&_render=php&search=&location=&limit=): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cselin/cassieselin.com/tutorialresources/Feedreadingexamples/user_input/index.php on line 42

See below how the request url changes when you enter different information in the input fields then click the search button

$req = http://pipes.yahoo.com/pipes/pipe.run?_id=a1a120f7e1865ea7b9d0d34febe9d038&_render=php&search=&location=&limit=


Search for: Near location: Limit to this many results:

Warning: Invalid argument supplied for foreach() in /home/cselin/cassieselin.com/tutorialresources/Feedreadingexamples/user_input/index.php on line 63