Lost products in Database
In Local Database using MAMP, All products are not there. I am able to use Products_Insert to add new products, and Product_Search, alt F12 hit search button to change the new products. The remote Database has all of the products and I edited them there. Would like to see them also back at local. I did synchronize remote Database to local and did not see the products.
What am I not doing? Also, This happened after I Put file from local to testing server when I was offline and MAMP was on, but I had no wireless signal. Local Database still had users in there and they were not erased or disappeared. Looks like MAMP is creating a new database, Which I cannot use since I need the old one back and the new one created deleted. I did back-up the Remote Database and then used that back-up to synchronize to local.
site: californianatural.net.previewdns.com/
This is code on Products_Search page that only allows me to add and create a new database.
<p align="center" class="MsoNormal" style="margin: 0in 0in 0pt; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;"> </p>
<p align="center" class="MsoNormal" style="margin: 0in 0in 0pt; color: #060;"> </p>
</blockquote>
<div class="WADASearchContainer">
<form action="products_Results.php" method="get" name="WADASearchForm" id="WADASearchForm">
<div class="WADAHeader">Search</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<table class="WADADataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th class="WADADataTableHeader">Name:</th>
<td class="WADADataTableCell"><input type="text" name="S_ProductName" id="S_ProductName" value="" size="32" /></td>
</tr>
<tr>
<th class="WADADataTableHeader">Category:</th>
<td class="WADADataTableCell">
<select name="S_ProductCategoryID" id="S_ProductCategoryID">
<option value="">Choose a category</option>
<?php
do {
?>
<option value="<?php echo $row_WADADynListproductcategories['CategoryID']?>"><?php echo $row_WADADynListproductcategories['CategoryName']?></option>
<?php
} while ($row_WADADynListproductcategories = mysql_fetch_assoc($WADADynListproductcategories));
$rows = mysql_num_rows($WADADynListproductcategories);
if($rows > 0) {
mysql_data_seek($WADADynListproductcategories, 0);
$row_WADADynListproductcategories = mysql_fetch_assoc($WADADynListproductcategories);
}
?>
Thanx, Cathy