Title problem in php
Moderator: General Moderators
Title problem in php
Hi,
I had given the title in the head section but doesnt displayed in the title bar of the browser..i dont know why,
but it is saved as .php only.
I had given the title in the head section but doesnt displayed in the title bar of the browser..i dont know why,
but it is saved as .php only.
Re: Title problem in php
what?
Re: Title problem in php
form.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php require 'dbcon.php';?>
<html>
<head>
<title>FORM</title>
but in the browser title as a untitled
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php require 'dbcon.php';?>
<html>
<head>
<title>FORM</title>
but in the browser title as a untitled
Re: Title problem in php
work for me... maybe something incorrect or not properly closed in your included file
Re: Title problem in php
mikosiko wrote:work for me... maybe something incorrect or not properly closed in your included file
no,all tags are closed correctly
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Title problem in php
Try putting the require statement before ANY output (even the html header)
Code: Select all
<?php require 'dbcon.php';?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>FORM</title>“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: Title problem in php
wat to do now
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Title problem in php
Have you tried any of the suggestions you received?, If so, what results did you get?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: Title problem in php
ya i got the result
i am inducing the include function in the first line itself thats the problem..
now i cleared it
i am inducing the include function in the first line itself thats the problem..
now i cleared it