• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to set $heading on show_error() and show_404()

#1
[eluser]Alpha[/eluser]
general_error.php and error_404.php have this
Code:
<body>
<div id="container">
  <h1>&lt;?php echo $heading; ?&gt;</h1>
  &lt;?php echo $message; ?&gt;
</div>
&lt;/body&gt;

$message is set by passing string
Code:
show_error('this is error')
but how do i set the $heading?

for the show_404
Code:
show_404('/this_page_was_not_found', FALSE)
i can't set the $heading and $message, is something wrong?

tnx


Messages In This Thread
how to set $heading on show_error() and show_404() - by El Forum - 01-05-2012, 11:51 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.