Page 1 of 1
can anyone tel me ....
Posted: Thu Dec 18, 2003 7:06 am
by kujtim
can anyone tel me what king of funkcion does this thing have....
echo $templateXleftsize
Posted: Thu Dec 18, 2003 9:46 am
by malcolmboston
function?
it is a variable
and not a 'preset' one at that, you (or the guy who wrote the script) has created it, look for a piece of code something like:
Code: Select all
<?php
blahblahblah = $templateXleftsize
?>
or more than likely it will be something from a DB query
Posted: Thu Dec 18, 2003 10:42 am
by JayBird
Posted: Thu Dec 18, 2003 2:59 pm
by JAM
Bech100 wrote:think you mean
Mark
Actually
Code: Select all
$templateXleftsize = 'blahblahblah';
;)
hare is the same problem but...
Posted: Fri Dec 19, 2003 5:52 am
by kujtim
hare is a same problem but is more in detail............
<table width="100%" height="120" border="0" align="center" cellpadding="0" cellspacing="0" class=tableTop >
<tr>
<td align="center" width="<? echo $templateXleftsize; ?>">
<img src="<? echo $url_path; ?>images/logo.jpg">
</td>
<td valign=top align=left>
<table width=100% cellpadding="0" cellspacing="0" class=tableTopRight>
<tr>
<td>
<img src="<? echo $url_path; ?>images/top_img.jpg">
</td>
</tr>
<tr>
<td height=20>
<? include 'includes/menu/main_menu.php'; ?>
</td>
</tr>
Posted: Fri Dec 19, 2003 6:20 am
by patrikG
Variables not declared direclty in a PHP-file can originate from
a) an include file,
b) any kind of array returned by any kind of function (database, class etc.) if used with [php_man]extract[/php_man]
c) an argument passed to a function
In other words:
1. check your include files,
2. check which variables get assigned where in your page,
3. check where "extract" is being used.
4. check if the code you have problems with is part of a function. If so, check which parameters are being passed to it.
Posted: Fri Dec 19, 2003 7:57 am
by m3mn0n
[php_man]echo[/php_man]()