Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sanbhu2105

hello, i have below code and i need to change the status to inactive when i press the delete button. it happens that when i use the code below, the status does not change at all. can anyone tell me where am having an error in the code? <?php session_start(); …

Member Avatar for diafol
0
234
Member Avatar for sanbhu2105

<?php session_start(); include_once("db_connect.php"); if(isset($_POST['update'])) { $ret_id=$_POST['ret_id']; $ret_name=$_POST['ret_name']; $ret_street=$_POST['ret_street']; $ret_city=$_POST['ret_city']; $ret_phone=$_POST['ret_phone']; $ret_fax=$_POST['ret_fax']; $ret_user_fname=$_POST['ret_user_fname']; $ret_user_lname=$_POST['ret_user_lname']; $ret_email=$_POST['ret_email']; // checking empty field if(empty($ret_name) || empty($ret_street) || empty($ret_city) || empty($ret_phone) || empty($ret_fax) || empty($ret_user_fname) || empty($ret_user_lname) || empty ($ret_email)) { if(empty($ret_name)) { echo "<font color='red'>Retailer Name field is empty.</font><br/>"; } if(empty($ret_street)) { echo "<font color='red'> …

Member Avatar for Zagga
0
154
Member Avatar for sanbhu2105

hello guys i have created the below codes. the first one is the mysql select statement which works fine when i echo. the second one is an html/css table i created. i am stuck to the point where i can merge both of them so that i get a nice …

Member Avatar for broj1
0
952
Member Avatar for sanbhu2105

i will explain the scenario as i don't know how to do it and i don't know if someone ever did it before. I am creating a price comparison website. The customers can add products as their favourites from a list of products. They can also add 4 retailers as …

Member Avatar for sanbhu2105
0
241
Member Avatar for sanbhu2105

hey guys, i have created a page called prod_det.php. the page displays the details of the product. below is the code. but it is not working. error message being received when i click the details button is Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean <?php session_start(); ?> <!DOCTYPE …

Member Avatar for sanbhu2105
0
3K
Member Avatar for sanbhu2105

hello guys, i have 2 tables - tblproduct and tblretprod. prod_id is common in both. i am retrieving records from the tables to display with edit and delete options beside each record displayed. i created an update.php and updprod.php (for edit). update.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for sanbhu2105
0
677
Member Avatar for sanbhu2105

i have the below code which is populating my drop down with the product names stored in tblproduct. the price of the products are stored in another table called tblretprod. the common field between the tables is the prod_id. when i am selecting the product name, the price related to …

Member Avatar for EvolutionFallen
0
326
Member Avatar for sanbhu2105

hi guys, i have 2 tables - tblproduct and tblretprod. i insert my product details to tbl product with prod_id being auto increment other fields are prod_name, prod_brand, prod_desc, prod_photo, cat, subcat i hv another table tblretprod with fields id, user_id, prod_id, prod_price i can add my products successfully i …

Member Avatar for sanbhu2105
0
324
Member Avatar for sanbhu2105

hello, am new here and new to php/mysql coding. i have 2 tables - tbl_prodstd and tbl_products tbl_prodstd - std_id, prod_name, prod_desc, prod_photo, prod_brand tbl_product - prod_id, std_id, prod_name, prod_brand, prod_desc, prod_price, cat, subcat, prod_photo i created 3 pages - add_prod.php, addprod.php, func.php the func.php displays prod_name and prod_brand as …

Member Avatar for sanbhu2105
0
332