View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How does Universal Email handle multi-lingual websites?

Thread began 10/25/2009 4:08 pm by Roxana | Last modified 11/13/2009 7:23 pm by Roxana | 3415 views | 21 replies

Roxana

Hi Eric,

Thank you for getting back.

I created the recordset like this:
$colname_rsShip_country = "-1";
if (isset($_SESSION['segufix_OrderID'])) {
$colname_rsShip_country = (get_magic_quotes_gpc()) ? $_SESSION['segufix_OrderID'] : addslashes($_SESSION['segufix_OrderID']);
}
mysql_select_db($database_connSegufix, $connSegufix);
$query_rsShip_country = sprintf("SELECT OrderShipCountryID FROM orders WHERE orders.OrderShipCountryID = %s", GetSQLValueString($colname_rsShip_country, "int"));
$rsShip_country = mysql_query($query_rsShip_country, $connSegufix) or die(mysql_error());
$row_rsShip_country = mysql_fetch_assoc($rsShip_country);
$totalRows_rsShip_country = mysql_num_rows($rsShip_country);

And I put the if/else statement at the very bottom of the php-section, like this:
<?php
if($row_rsShip_country['OrderShipCountryID'] == 'Deutschland'){
header("Location: checkout_success.php");
} else {
header("Location: checkout_success2.php");
}
?>

Like you said it redirects directly to the success page, in each case (Germany or other shipping country) I am redirected to checkout_success2.php.

So I put both the recordset and the if/else statement on checkout_success.php. This will bring me to the confirm page first, and when I hit confirm, I am redirected to checkout_success2.php when "Deutschland" is selected, with another country I am redirected to an empty cart page. I guess that is to be expected, because the session is destroyed.

For the most part I have no idea what I am doing, so I would like to take you up on your offer to look at my pages. Where would you like me to send the confirm and the checkout success pages?

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...