how do i do that ? please help me some more :)
how do i do that ? please help me some more :)
please see my query and tell me if something is wrong with it...
or if i did not include some require(xxxx.php) file in order to connect with my database.
btw the php file i created is in my root folder
What is "or sqlerr(__FILE__, __LINE__)" intended to do?
Is sqlerr() a valid function in PHP?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
yes it is... it tracks any errors and return it to me...
i have removed that piece of code but still nothing... still blank...
i have made some debugging.... the problem is in this part i think :
This does not return anything so i guess that my vars may not populate correct.PHP Code:
while ($gal_sql_result = mysql_fetch_array($gal_sql)) {
$gal_prod_id = $gal_sql_result[T0.products_id];
$gal_prod_name = $gal_sql_result[T1.products_name];
$gal_prod_model = $gal_sql_result[T0.products_model];
$gal_prod_img = $gal_sql_result[T0.products_image];
$gal_prod_prc = $gal_sql_result[T0.products_price];
echo "<TR><TD>$gal_prod_id</TD><TD>$gal_prod_name</TD><TD>$gal_prod_model</tr><tr><td>$gal_prod_img</td></tr><tr><td> $gal_prod_prc</td></tr>";
}
i have defined another var and populate it manually and it shows ok.
and i get the hello only....PHP Code:
$hi='hello';
<td align='center'><?=$hi?></td>
So any ideas why my other vars may not get populated ????
Bookmarks