Tag Archives: Foreach

Stuck for months need help.

Okay first of all I want to express hi…. " hi". La and orange county Bob and this is certainly my first publish. I very new to web development and am by no means literate in proper web site design. So about this past year I decided to purchase a Developer deal from 1and1. com. It is a templated web page. So now after loads of issues and challenges arising from purchaser service issues and my ignorance, I am trying to complete a vital a part of this website. The shipping area while in the site that We are building relies about php. I have hardly any experience and not much education in php. Right down to the problem. OUR shipping coding will be below: $weight=0; foreach ($basket_items when $i) //Weight counted here. $overall_weight+= item_get_field(‘weight’, $i) * item_get_field(‘count’, $i); in case ($overall_weight > 110) $shipping_fee = THREE MONTHS. 00; elseif ($overall_weight > 80) $shipping_fee = 62. 00; elseif ($overall_weight > 75) $shipping_fee = 61. 00; elseif ($overall_weight > 70) $shipping_fee = SIXTY. 00; elseif ($overall_weight > 65) $shipping_fee = 59. 00; elseif ($overall_weight > 64) $shipping_fee = 58. 00; elseif ($overall_weight > 63) $shipping_fee = 57. 00; elseif ($overall_weight > … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , | Leave a comment

RSS Feed on site

Hi all, I’m trying to add an Rss (I think that is definitely what its called) to a website and am wondering the most beneficial method/software/etc. to use I am looking add a widget/app/program that can automatically list the titles and date on the last four post over a blog. I’m an illustrator/print artist by trade hence I’m relatively new into the web design. I’ll be using Dreamweaver CS3 whenever that makes your difference. Thanks beforehand for the aid! You will be using PHP, therefore the page that it’s on will either need to have the particular file extension connected with. php or your current. htaccess file configured to process most of. html pages as PHP. Uncertain how much you already know about all of these, but let us know. Try this: http: //www. webdesignforums. net/showpost. phpp=226918& postcount=7 Steven… WHEN I used your RSS script again. I discovered an affiliate site that apparently employed UTF-8 for XML encoding, but they need to have lied, because results have bad characters in the container… http: //www. starpointradio. com/rss/max4. php So I’d to add a line to repair the description (see red line)… < php require_once(" RSSIterator. php" ); require_once(" RSSItem. php" ); … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment