I checked error log and found following php errors/warning,

1) File CODE:

<a href="http://<?php  echo $esrow_off['fld_company_url']."".stripslashes()?>" target="_blank"><img src="<?=$domain_url?>/admin/partnerimages/<?=$esrow_off['fld_partners_image']?>" border="0"  height="42" /></a>
PHP error / Warning:    [17-Jun-2013 23:31:59 Europe/Minsk] PHP Warning:  stripslashes() expects exactly 1 parameter, 0 given 

2) File CODE:

$esq_row2=mysql_fetch_array(mysql_query("select * from esb2b_products where es_id=$id"));
[16-Jun-2013 00:29:51 Europe/Minsk] PHP Warning:  mysql_fetch_array() expects parameter 1 to be resource, boolean given 

Why i am having these errors/ warning? what is the solution. I will be thankful to you.


Recommended Answers

All 2 Replies

<?php  echo stripslashes($esrow_off['fld_company_url'])?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.