Answer the question
In order to leave comments, you need to log in
What is the difference between render() and print()?
What is the difference between render() and print()?
Answer the question
In order to leave comments, you need to log in
The render() function in Drupal is used to render render arrays using drupal_render(). print() is not nominally a function, but a PHP language construct that prints a string to the screen. In fact, a complete analogue of echo, with the only difference - it always returns 1.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question