Jump to content

what is the function of "render()"..?


Ezio

Recommended Posts

Hey guys

I am a beginner in php, i know the basics.

i was going through the DRUPAL themes files & saw :

 

<?php print render($page['header']); ?>

 

can somebody tell me what is the function of render here.

again i am a newbie please explain in simple language.

 

Thanks.

Link to comment
Share on other sites

There is no native PHP function called "render()", it's part of Drupal, and it's probably explained in their documentation.

 

I wouldn't recommend trying to understand large web applications until you're more fluent with PHP.

Link to comment
Share on other sites

Thanks!

well..could you suggest where can i learn more on PHP..?

..i mean i know the basics from w3schools & have done a lot of programs on it..so where can i learn more..?

Edited by Ezio
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...