Jump to content

require_once problem


robert_gsfame

Recommended Posts

I put require_once after session_start() before<html> as i will use it to run certain query when submit button was pressed <form action=<?php echo $_SERVER[php_SELF]?>.

 

The problem is that when i run this on my mozilla browser the <title> was turned into Untitled document though i've changed my <title> into let say <title>This is my first page</title>, but when i remove the require_once then it turned into "this is my first page".

 

So where should i put the require_once then, to have it works properly??

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/180507-require_once-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.