Original Post
Hi There I was transferring a script that worked fine on my laptop to my host provider, when I discovered that the page wasnt functioning as expected. After examining the source, I discovered it was failing to execute the require() statement. Here is the code itself Questionnaire '; require('questionnaireHeader.php'); echo' The Script require() is calling looks like this '; //Gets the activity from the previous page $activity = $_POST['activity']; //Function which creates the drop down menu for the user to select their //activity function dropDownMenu($db) { $query = "select * from activity"; $result = $db->query($query); $num_results = $result->num_rows; echo''; } ?> Going by the fact it works fine on my own machine but not the host's, im guessing its a configuration setting in php.ini, but if its something simple then please let me know :) Both systems are running PHP 5. Thanks.