Saturday 24 September 2011

I need help with a PHP website page?

I need to help my sister with her company website, but don't have any PHP knowledge. I can't work out where the index.php page directs to. The website is www.eastcottvets.com %26amp; the code in the page shows:



%26lt;?php

// $Id: index.php,v 1.91 2006/12/12 09:32:18 unconed Exp $



/**

* @file

* The PHP page that serves all page requests on a Drupal installation.

*

* The routines here dispatch control to the appropriate handler, which then

* prints the appropriate page.

*/



require_once './includes/bootstrap.inc';

drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL鈥?br>


$return = menu_execute_active_handler();



// Menu status constants are integers; page content is a string.

if (is_int($return)) {

switch ($return) {

case MENU_NOT_FOUND:

drupal_not_found();

break;

case MENU_ACCESS_DENIED:

drupal_access_denied();

break;

case MENU_SITE_OFFLINE:

drupal_site_offline();

break;

}

}

elseif (isset($return)) {

// Print any value (including an empty string) except NULL or undefined:

print theme('page', $return);



}



drupal_page_footer();



All I need to do for now is change the map link within the right-hand OPENING HOURS navigation.



Please help :)I need help with a PHP website page?The first thing that my help you is you do not change the index.php in a drupal install. It should stay the same other wise you could cause some extreme errors if you do not know what you are doing. Drupal uses .tpl files to associate items like links and content. You will need to have access to the .tpl template files to change the information you are asking to change.
I need help with a PHP website page?
Can you please elaborate more on what you want, the question is really vague.

Do you mean you want to change the link of %26quot;Click here for Directions%26quot;?



I visited the site, and i am not sure what you want.



the index.php page is the main page of the website, this is the homepage of your sisters website, meaning that:



http://www.eastcottvets.com/



is exactly the same as :



http://www.eastcottvets.com/index.php





PHP is basically a language similar to HTML, but the difference is that it PHP is used to display dynamic content with some html codes to help in the layout of the overall page, i.e. Most probably uses a MySQL databases to store and display the relevant data depending on inputs that users enter in a form.



HTML on the other hand is only used to display Static content which is content that never changes no matter what information users enter in a form.
  • Comforters
  • rctc.edu
  •