Hi,
It has not been long i started learning php and mysql. Using simple HTML code the same tags show images perfectly. But as soon as i try and integrate them with a php code it has troubles showing the images. As a matter of fact it does not display any images.
This is what i am trying to do. :bemused:
<?php
session_start();
include ( 'functions.php');
?>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css"
href="main.css" />
</head>
<body>
<table align = "center" border="0" cellpadding ="1" cellspacing="1">
<tr>
<td class="header" height="70" colspan ="2" valign="bottom">
<a href="templet.php">Login</a> |<a href="main.php"> Home</a> | Back </td>
<td colspan ="1">
<?
$images = '<img src="/var/www/html/usflag.jpg">';
echo $images;
?></td>
</tr>
<tr>
<!--rest of the code-->
Even tried this
<?php
session_start();
include ( 'functions.php');
?>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css"
href="main.css" />
</head>
<body>
<table align = "center" border="0" cellpadding ="1" cellspacing="1">
<tr>
<td class="header" height="70" colspan ="2" valign="bottom">
<a href="templet.php">Login</a> |<a href="main.php"> Home</a> | Back </td>
<td colspan ="1"><img src="/var/www/html/usflag.jpg">
</td>
</tr>
<tr>
<!--rest of the code-->
What am i doing wrong????
Any help would be a great favor
thanking you in advance...
dynamic_desi