close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Lost products in Database

Thread began 5/23/2011 4:45 pm by cicyou421883 | Last modified 5/25/2011 2:59 pm by cicyou421883 | 2186 views | 6 replies

cicyou421883

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;">&nbsp;</p>
<p align="center" class="MsoNormal" style="margin: 0in 0in 0pt; color: #060;">&nbsp;</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

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...