Several PHP repeat regions

Hey kids,

IM currently doing an administration page for a school site, which comes in several forms. Basically, each form has a list/menu which will display the names of class... but these names are derived from the database in a repeat region to complete the lists of list/menu... when I went to do a repeat on the next form region, I learned that I can only use a region on a recordset of repetition... does that mean I have to go on creating a recordset for each menu drop-down , I create, or is there an easier way to use multiple regions of repetition of a Recordset, or another way?

David

You can have several areas of repetition of a single recordset, but DW doesn't like it.  This means that you are on your own for coding, but fortunately, the task is not too difficult.  The trick is to RESET MySQL pointer within the recordset between repeat with mysql_data_seek() regions (see details here - http://us3.php.net/manual/en/function.mysql-data-seek.php )

If you're not a hand coder, it's maybe a bit beyond your reach at the time.

The DW easy to do would be to apply multiple recordsets on the page and use one for each repeat region.

Tags: Dreamweaver

Similar Questions

  • php repeat region

    I have a number of records in a database - holiday destinations

    Is it possible that I can use a repeat as region below: (I need to call in early January 2014, February 2014 etc. from the database maybe as 'SEPARATE' then repeat destinations under the title of months. Can this be achieved by using a repeat region?

    January 2014

    Bournemouth

    Blackpool

    Cotswolds

    Edinburgh Tattoo

    February 2014

    Wexford

    County Donegal

    Isle of Wight

    Lake District

    Obviously, at the moment I have just a continuous list of destinations using a repeat region:

    <? PHP while ($row = $getHolidayList-> fetch_assoc()) {? >}

    <? PHP echo $row ['destination'];? >

    <? PHP}? >

    I need somehow stop the loop after what he said all destinations associated with January 2014 and begin once again to get out all the destinations associated with February 2014 etc by December 2014.

    I could just create 12 sqli queries and their echo in the loops one after the other, but I also have page navigation buttons once 25 records have made this probably can be done.

    Any suggestions?

    <? PHP while ($row = $getHolidayList-> fetch_assoc()) {? >}

    <? PHP echo $row ["month"];? > (how can be returned only on the first case, it appears in the database field 'months')

    <? PHP echo $row ['destination'];? >

    <? PHP}? >

    Operating system

    > I'll work on it and see if I can simplify it a bit.

    You could try a different approach. Instead of using loops nested, I usually use a simple and just test if the column that you want to not repeat has changed since the last iteration. I'm not a php coder, but here is an attempt in php just to give you the idea.

    <>

    $temp_month = "";

    While ($row = {$getHolidayList-> fetch_assoc())}

    If $temp_month! = $row ["month"] {}

    echo $row ["month"];

    $temp_month = $row ["month"];

    }

    echo $row ['destination'];

    }

    ?>

  • repeating region of php email function doesn't work do not

    I have a form which should be sent by electronic mail and like products attached to it. However, I have a repeat region to list all products, but when I send the e-mail Island shows that the first item on the list.


    below is the form set up

    emailer

    E-mail information new tenant

            $to = ' [email protected] ';// . ',' . "$row_rsOrder ['email']";

    $to = $row_rsOrder ['email'];

    $subject = "order details";

    $message ="

    < html >

    < head >

    < title > Dear ".» $row_rsOrder ["FirstName"]. $row_rsOrder ["LastName"]. "Please see the details of your order below < /title >

    < / head >

    < body >

    " < img src =-" http://www.website.com/images/logoBLPP.jpg \" alt=\"" />

    Your order of B < h2 >. $row_rsOrder ["OrderID"]. "< / h2 >

    < table width = "800" border = "0" cellspacing = "0" cellpadding = "0" >

    < tr > < td > < p > thank you for shopping below are you details of the order you placed recently. If you have any questions please contact us < /p >

    < br / >

    < /a > < /p >

    < tr > < td > < table > < /tr > < / table >

    < table width = '980' border = "1" cellspacing = "0" cellpadding = "10" >

    < tr valign = "top" >

    < td bgcolor = "#E9E9E9" class = "header1" > Customer Name < table >

    < class td 'text' = > "." $row_rsOrder ["FirstName"]. $row_rsOrder ["LastName"]. "< table >

    < td bgcolor = "#E9E9E9" class = "header1" > Order ID < table >

    < td bgcolor = "#E9E9E9" class = "text" > "." $row_rsOrder ["OrderID"]. "< table >

    < td bgcolor = "#E9E9E9" class = "header1" > status command < table >

    < class td 'text' = > "." $row_rsOrder ["TransactResult"]. "< table >

    < /tr >

    < tr valign = "top" >

    < td bgcolor = "#E9E9E9" class = "header1" > Email < table >

    < class td 'text' = > "." $row_rsOrder ['email']. "< table >

    < td bgcolor = "#E9E9E9" class = "header1" > < table >

    < class td = "text" > < table >

    < td bgcolor = "#E9E9E9" > < span class = "header1" > </span > < table > Order Date

    < class td 'text' = > '.makeDateTime ($row_rsOrder ["OrderDate"], '%#d %B %Y', true). "< table >

    < /tr >

    < tr valign = "top" >

    < td bgcolor = "#E9E9E9" class = "header1" > shipping address < table >

    < class td = "text" > < p > "." $row_rsOrder ['address']. "< /p >

    < p > "." $row_rsOrder ['city']. "< /p >

    < p > "." $row_rsOrder ['postal code']. "< /p >

    < p > "." $row_rsOrder ['country']. "< /p >

    < p > < /p > < table >

    < td > < table >

    < td > < table >

    "< td colspan ="2"align ="right"valign ="bottom"> < span class ="head"> ORDER TOTAL: DoFormatCurrency ($row_rsOrder ['Total'], 2, ','.', ' £', ""). "". "< br / >"

    "</span > < span class ="text"> shipment: DoFormatCurrency (['shipping'], 2 $row_rsOrder, ','.', ' £', ""). "". "</span > < span class ="head"> < br / >"

    </span > < table >

    < /tr >

    < tr valign = "top" >

    < td bgcolor = "#E9E9E9" class = "header1" > Product ID < table >

    < td bgcolor = "#E9E9E9" class = "header1" > < table > Product Description

    < td bgcolor = "#E9E9E9" colspan = "2" class = "header1" > size < table >

    < td bgcolor = "#E9E9E9" > < span class = "header1" > quantity </span > < table >

    < td bgcolor = "#E9E9E9" align = "right" > < span class = "header1" > price </span > < table >

    < /tr >

          <? php do { ?>

    < tr valign = "top" >

    < class td 'text' = > "." $row_rsOrder ['ProductID']. "< table >

    < class td 'text' = > "." $row_rsOrder ['product']. «, ». $row_rsOrder ["productGroupGUID"]. "< table >

    < td colspan = "2" class = "text" > "." $row_rsOrder ["UnitSize"]. "< table >

    < td > < span class = "text" > "." $row_rsOrder ['quantity']. "</span > < table >

    < td align = 'right' class = "text" > ". DoFormatCurrency ($row_rsOrder ["UnitPrice'"], 2, ','.', ' £', ""). "." "< table >

    < /tr >

          <? php } while ($row_rsOrder = mysql_fetch_assoc($rsOrder)); ?>

    < tr valign = "top" >

    < class td = "text" > < table >

    < class td = "text" > < table >

    < td colspan = "2" class = "text" > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < /table >

    < / body >

    < / html >

    ";

    Content-type always defined when sending HTML email

    $headers = "MIME-Version: 1.0 '. « \r\n » ;

    $headers. = "content-type: text / html;" Charset = UTF-8 ". « \r\n » ;

    $headers. = "from: company name < " [email protected] > '. "\r\n";

    $send = mail ($ $subject, $message, $headers);

    Yes, all THE information in the database was recovered and sent to the email. Only 3 products for test purposes.

    I just tested it down to the do-while loop. After that html table code is absent.

    You have to bare in mind, this is a crude test. The updated database in place the query is not as complex as yours is, so maybe it's why his work, but certainly break the 'message' is the way to go. I can try to get another table products tomorrow if I have time to test.

    Database to html code and column names are the same as you have. the recordeset is "rsOrders" instead of "Mina" that you used.

    <>

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION< 6)="">

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    @mysql_select_db ($database_conDonations, $conDonations);

    $query_rsOrders = "SELECT * FROM orders";

    $rsOrders = mysql_query ($query_rsOrders, $conDonations) or die (mysql_error ());

    $row_rsOrders = mysql_fetch_assoc ($rsOrders);

    $totalRows_rsOrders = mysql_num_rows ($rsOrders);

    emailer

    E-mail information new tenant

    $to = ' [email protected]'; / /. ',' . "$row_rsOrder ['email'];

    $to = $row_rsOrder ['email'];

    $subject = "order details";

    $message ="

    Dear ".» $row_rsOrders ["FirstName"]. "see your order below details

    ' http://www.website.com/images/logoBLPP.jpg-' alt =------"------" / >

    Your order of B. $row_rsOrders ["OrderID"]. »

    Thank you for shopping below are you details of the order you placed recently. If you have any questions please contact us


    Name of the customer «. $row_rsOrders ["FirstName"]. » Command ID «. $row_rsOrders ["OrderID"]. » Status of orders «. $row_rsOrders ["TransactResult"]. »
    E-mail «. $row_rsOrders ['email']. » Order date «. $row_rsOrders ["OrderDate"]. »
    Shipping address

    «. $row_rsOrders ['address']. »

    «. $row_rsOrders ['city']. »

    «. $row_rsOrders ['postal code']. »

    «. $row_rsOrders ['country']. »

    ORDER TOTAL: "." $row_rsOrders ['total']. »

    Shipping: "." $row_rsOrders ["expedition"]. »

    Product ID

    Product description

    Size

    Quantity

    Price

    ";

    ?>

    "?>

    «. $row_rsOrders ['product']. »

    «. $row_rsOrders ["UnitSize"]. »

    «. $row_rsOrders ['quantity']. »

    «. $row_rsOrders ['UnitPrice']. »

    ";

    ?>

    "?>

    Content-type always defined when sending HTML email

    $headers = "MIME-Version: 1.0 '. « \r\n » ;

    $headers. = "content-type: text / html;" Charset = UTF-8 ". « \r\n » ;

    $headers. = "from: company name [email protected]> '."\r\n";"

    $send = mail ($ $subject, $message, $headers);

    mysql_free_result ($rsOrders);

    ?>

  • Horizontal/vertical repeat region PhP/MySQL

    Hi guys,.

    I'm sure that this issue would have been requested many times before. If so, my apologies for the re - this announcement first.

    In any case, what I'm trying to do is create a repeat region that spans 4 columns and then repeat the rest in rows. For example, if I have 100 records in my table (MySQL), so I want to display in a table of 4 columns and 25 rows and (in reality, the number of records would be indeterminate, of course, but still records must be displayed on a 4 X line table column). For example:

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    name

    Comment

    For the moment, I have no problem with displaying the records vertically or horizontally (explicitly) by using the behavior 'repeat region. However, when I have the problem is with displaying records in a table like the one I described above.

    I use PS CS5 with PhP/MySQL.

    Can I still do this in server behavior "repeat region", using the If yes how?

    Otherwise, if not, how could I achieve this (ideally without using extensions)?

    Thanks in advance for any help and support,

    See you soon

    The Horizontal Looper to Tom Muck is perhaps something for you:

    http://www.Tom-Muck.com/extensions/

  • PHP mail - equivalent of the repeat region in the body?

    My client wants a summary of the products registered in the body of an email. My mail script works great, but I don't know how to add the summary of products (what I call a 'repeat region").

    Thanks in advance for your advice and comments

    Hi David,

    Thanks for the help and apologies for not being precise.

    My recordset looks like:

    cust_id product_name order_date
    PRODUCTA 100 23/12/08
    100 PRODUCTB 23/11/07
    100 PRODUCTC 22/09/07

    For example, a client may have 1 or 100 items, so you can see why I want to create the equivalent of a region that is repeated in the body of the message.

    It is more useful to you?

  • Recordset and repeat regions

    Hello world. Is it possible to apply several regions repeated to a Recordset? I use a recordset to search results in a database. I need to return the results in two different places on the same page. A place back the 'name' and 'occupation' and other give details and a photo of the individual. The results contains many records, so I need to apply a repeating region. However, I can only apply a region repeated to a Recordset. I am new to Dreamweaver and would appreciate any assistance. Thank you

    Hello

    You can read this article by David Powers?

    How to reuse a PHP recordset in more of a repeat region? (http://kb2.adobe.com/community/publishing/528/cpsid_52877.html)

  • dynamic rollover image does not work in a repeat region

    I created a dynamic rollover image. It works fine by pulling on the image of the database names. But when I put it inside a repeat region it stops working. Does anyone have clues?

    I shouold have looke before dharder. I'm sorry. There are one bunch of others
    errors:




    onmouseover = "MM_swapImage ('Image3 '", ' images/large /) "
    $row_rsProducts ['image'];? (> ', 1) "><?php echo $row_rsProducts['image']; ?>
    name = 'Image3' border = "0" id = "3" / >

    ?>

     


    You have several nested tags of , your imageswaps are all askin gfor the
    image with id 'Image3 '.

    Thus,.

    (1) remove these tags excess (opening and closing)

    (2) the same kind of thing to increment the image swap AND file names
    for the atrribute 'name', as you did for the ID (do not use attribute
    the ++ operator on both).

    Then send the result of this edition, and we will check again.

    --

    E. Michael Brandt

    www.divaHTML.com
    www.divahtml.com/Products/scripts_dreamweaver_extensions.php
    According to the standard scripts and the Dreamweaver Extensions

    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, and alia

    --

  • List in a numbered repeating region

    Hi guys, im having problems putting a numbered list in a repeating region (dynamic table). I need the list to indicate the position of the teams in the League, so I just need to list go 1,2,3,4,5, ect.

    I use PHP and mainly in design mode.

    Any help is very appreciated!

    Taylor

    <>

    $number = 0;

    {}

    $number ++;

    ?>

    ClubName GoalDiff Points

    We remind you that the code you are using (MySQL) has been deprecated. Since PHP version 7 it is no longer usable. Take a look to use MySQLi or PDO. Google topics for more information.

  • Repeat regions inside the repeat regions

    I don't know how to do this.  Dreamweaver has said that we can not put server inside server behaviors behaviors.   But it seems like a pretty standard thing, someone might want to do.  For example:

    Suppose you want to create a menu online.  And say... you have two tables:

    Elements of array

    • item_id
    • Nom_element
    • item_description
    • item_price

    Ingredients of the table

    • ing_id
    • ing_name
    • item_id

    So, on your page, you want to display a repeat of each menu item region in the database.  In addition, within each menu item, you want to have a repeat region of each ingredient that has the same id of the element.

    Who is?  So, it can look like:

    Fishy lips
    Wonderful lips for all you lovers of the shady lip!  Get 'em today!

    Ingredients

    Fishy lips

    Seasoning ladle

    Herbs fish

    Fishy spices

    Luckity Hoppity
    Legs of amazing rabbit that bring good luck!

    Ingredients

    Rabbit legs

    Spices of rabbit

    Language of cow

    Sorry, I'm not a php programmer, but I can explain the concept.

    First of all, your idea to recover the two recordsets and then display the corresponding data in the inner loop should work. But it looks like you get the wrong records.  If I understand, you obtain a list of healthcare providers and then education for each display. Fix? If so, then the caregiver is the outer loop, and education is the inner loop, yet your inner loop made progress helping RS:mysql_fetch_assoc($getCaregiver)

    You could try just those switching.

    However, it is more common first retrieve the recordset of the outer loop. Then, when you browse, you need to run an internal recordset for each iteration of the outside. Your SQL for the internal RS has a filter so that it contains only the matching records.

  • fadeIn DIV jQuery (or reversal) within the repeat region

    Hey all. I just started using the repeat regions and am stuck creating a substitution effect. I have a database of products/images and am showing images of an inch in the repeat region by using < img src = "images/thumbs / <?" PHP echo $row_Recordset1 ['productId'];? ' > .png ' and everything works fine. What users flipping the thumb, I want a DIV containing a border orange to fade using jQuery so I can't record a second image with a border for each thumbnail. Normally with static images I would say something like... $("#thumbWrap").hover (function () {$("#border").fadeIn etc, but I have no idea how to implement this kind the DIV border fades independently for each inch in the repeat region.}) Can anyone suggest the best way to achieve this? Thank you guys

    The jQuery code you have posted here is based on ID selectors, but an ID can be used only once on a page. Use classes instead. Something like this might work:

    $('.thumbWrap').hover(function() {
        $(this).parent('div').fadeIn();
    });
    
  • Adding images to the repeat region

    Hey guys, I recently started using the features of dreamweaver PHP with MySQL and I have my display of table data in a repeat region. I downloaded images to the database, but if I drag 'image' of the Recordset into the repeat region I just get a lot of binary. I read I should maybe use image URL rather than the traction of the database of images, but I don't understand how to get the images in sequence. How do I know what order to display if they are not in the recordset in PHP?  I wonder if I missed some feature of DW, as I suppose it is quite a common thing to want images in a repeat region. Any advice would be great. Thank you

    > I read maybe I should use the URL of the image

    > rather than pulling images from the database

    Fix. Storage of binary files in the database leads to performance problems.

    > but I do not understand how to get the images in sequence. How would

    > PHP know what order to display if they are not in the Recordset?

    The images are stored in the file system. The path to the image is stored in the database. The fields in the recordset with the path of the image - in order to generate the html code that displays the image in the Recordset loop.

  • getElementById() JavaScript does not work with the repeat regions

    I have tries an onmouseover and onmouseout to exchange all divs that recur in a repeating region of php and javascript doesn't seem to work for the first rehearsal of div. Is it because the repeat region creates a lot of identical divs and javascript code is confused?

    The following is a very simple version of my code setup which explains my problem:

    I create a forum where the individual comments are included in their own div ("commentDisplay"). To do this, I created a div and create a repeating region around it so that php will debit all the comments of each of them to give a copy of this div.

    for example:

    <? PHP {? >}

    < div class = "commentDisplay" >

    <? PHP echo $row_whateverRS ['whatever'];? >

    < / div >

    <? } while...? >

    Now, I wanted to create a simple javascript when the user moved their mouse on the station he would hide this div and display another div that holds the same content, but still had a background of different color and, most important, gave the user a chance to respond to the post (similar to the youtube comments section). So I created the following:

    < script... >

    function hideDiv (id) {}

    document.getElementById (id).style.display = 'none '; }

    function revealDiv (id) {}

    document.getElementById (id).style.display = 'block '; }

    < /script >

    and then I created this another div ("commentSwap"), which held the same information, but with a different background and an opportunity to respond (and with display: no) and insert the javascript code:

    <? PHP {? >}

    < div class = 'commentDisplay' onmouseover = "hideDiv ('commentDisplay'); revealDiv ('commentSwap')"onmouseout ="revealDiv ('commentDisplay'); hideDiv ('commentSwap') ">"

    <? PHP echo $row_whateverRS {'some']:?} >

    < / div >

    < div class = "commentSwap" >

    ... same-except the ability to answer

    < / div >

    <? PHP} while...? >

    the problem is that the code seems to work for the first rehearsal of the div and not the rest. In addition, when I move my mouse over the other div it causes the first div share.

    Why is this? Is it because all the Extensible divs (through the repeating region) all have the same name and confuse the javascript?

    Thank you

    YWSW

    YWSW wrote:

    So what do you suggest what to do instead (to produce the same see the div / hide div div result in a repeat region?)

    As shown by the fact that you can not have more than one ID on a page, my suggestion is to create the unique id in your loop. Database table has a primary key with the numeric IDs. As a result, the loop by adding the unique ID of the recordset object to the id of the div that is played repeatedly. Observe the provided code.

    ... same-except the ability to answer

  • ToolTip does not not repeating region

    HI - trying to apply a ToolTip to a repeating region, but the image of the ToolTip is not displayed. Each thumbnail in the repeating region, supposed to be a trigger. When the thumb is wriggling on, the ToolTip that is supposed to display a larger image, but these large images do not load. The tip box appears, but there is no image in there. Thanks for your help... I am relatively new to this.

    [code]
    function MM_changeProp (objId, x, theProp, theValue) {//v9.0
    var obj = null; (document) {If (getElementById)
    obj = getElementById (objId); }
    If (obj) {}
    If (theValue == true: theValue == false)
    eval ("obj.style" + theProp + "=" + value);
    Another eval ("obj.style" + theProp + "= '" + theValue + ' "'");
    }
    }
    ->
    < /script >
    < link href = "SpryAssets/SpryTooltip.css" rel = "stylesheet" type = "text/css" / > "
    < / head >

    < body class = "twoColElsLtHdr" >

    < div id = "container" >

    <? PHP {? >}
    < b >
    < td width = "147" > <? PHP echo $row_Recordset1 ['name'];? > < table >
    < td width = "48" > < img src = "images/crystal_swatches/thumbs / <?" PHP echo $row_Recordset1 ["imagename"];? ">" name = "sprytrigger1" width = "40" height = "40" id = "sprytrigger1" / > < table >
    < /tr >
    <? PHP} while ($row_Recordset1 = mysql_fetch_assoc ($Recordset1));? >
    < /table >
    </span > < / h1 >
    < h2 > < / h2 >
    <!-end #mainContent--> < / div >
    < br class = 'clearfloat' / >
    < div id = "footer" >
    © 2009 Giavan, Inc. < /p > < p >
    <!-end #footer--> < / div >
    <!-end #container--> < / div >
    < div class = "tooltipContent" id = "sprytooltip1" > < img src = "images/crystal_swatches/full_size / <?" PHP echo $row_Recordset1 ["imagename"];? ">" width = "200" height = "200" class = "tooltipContent" / > < / div >
    "< img src="images/beaded/strung_index_right.jpg "name ="bg_image_upperright_hpproduct"width ="600"height ="830"id ="bg_image_upperright_hpproduct"/ >
    < script type = "text/javascript" >
    <!--
    var sprytooltip1 = new Spry.Widget.Tooltip ("sprytooltip1", "#sprytrigger1");
    ->
    < /script >
    < / body >
    < / html >
    <? PHP
    mysql_free_result ($Recordset1);
    ? >

    When you get an error like this, it helps a lot if you give more details, including the line that the error was on, plus the code section that immediately precedes this line.

    However, a glance at my previous post shows an elementary error in the code I gave you. Sorry about that.

    The closing PHP tag is missing from the first line. This:

    
    

    should be this:

    
    
  • Checkbox question repeat region/Bind ID

    In Dreamweaver CS4, I have a dynamic text field that displays a list of names of my Mysql database, using the repeat region, and I have a few boxes next to the dynamic text field.

    How I assign/link check boxes them so that it will be up to each individual name in the list? I just need some general indications if poss please. Is this something to do with PHP and Bind ID?

    Thank you very much

    Andy

    Yes a single line to repeat region will repeat in the box and add dynamic modules for the value of each entry in the repeating region.

  • A repeating region: display the entries of dubble only once

    I want to do a Recordset where all the 'cities' are shown only once, it should not be like

    The Hague

    The Hague

    The Hague

    Rotterdam

    Rotterdam

    Amsterdam

    But:

    The Hague

    Rotterdam

    Amsterdam

    This is the recordset object:

    SELECT c_city FROM canteen

    It's the repeat region:

    <? PHP {? > <? php echo $row_allCities ["c_city'];? > <? php} while ($row_allCities = mysql_fetch_assoc ($allCities));? >

    Thankx for any help!

    Add a SEPARATE statement to your application.

    SELECT DISTINCT c_city canteen

    --
    Lawrence * Adobe Community Expert *.
    www.Cartweaver.com
    All Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

Maybe you are looking for

  • 7.1 iMac monitor problems

    On restart, the screen saver seems fine... for about a half second.  Something happens which causes become very dark and too saturated colors.  The monitor calibration does not help.  By pressing 'shift' to reboot and then the connection has not help

  • How can I remove toolbars? I have 5 and I only want one.

    I want to remove toolbars. How can I do?

  • E709 only prints blank pages

    I recently installed a new black ink cartridge and now I only get blank pages when you try to print or copy. OS - Windows 7 64 bit I went through all the 9 steps of the Guide Solution HP with no positive results.

  • Help! Screen!

    I used Lysol wipes to clean my computer screen. Next thing you know, my mess of the screen upwards. How can I fix it?

  • Upgrade Ram B520

    Hi all Now I want to add a 4 GB of ram to my B520 (2120 i3, 4 GB ddr3) The problem that the type available in my area is SODIMM DDR3-1600 PC3-12800 memoryNo PC3-10600 DDR3-1333 memory as mentioned in the documents of material. If the type of 1600 MHz