First record in a repeat region

I have a repeat region on my page showing all records in a Recordset. My recordset containing a SORT by Date DESC, so that the most recent recording is displayed first on the page.

I would like to add a static text next to the first record only.

In other words, let's say I have a list of name:

Joe

Frank

Mark

Laura

Linda

I want to display "Winner" next to the first record only, in this case Joe:

Joe [winner]

Frank

Mark

Laura

Linda

You have an already defined recordcounter so use:

<%=(rsShippingAddress.Fields.Item("Address   1").Value)%> <%=(rsShippingAddress.Fields.Item("Address2").Value)%>

<% If recordcounter = 1 Then %>

[Winner]

<% End If %>

or alternatively

<>

If recordcounter = 1 Then

response.write "[winner]".

End If

%>

Tags: Dreamweaver

Similar Questions

  • Number of records in the repeat region

    I have a page with a repeat region, which displays the records in Table1. Table1 is related to the Table2 (one to several, MS Access). I want to do is show the number of records in Table2 that are associated with a given row from Table1 shown in the repeat region.

    Think of how many responses listed next to each message in this forum, because that's basically what I do. As it is now, I get the correct number of records for the first line of Table1 shown in the repeat region, but this number is indicated in each line. In other words, if the first record displayed from Table1 has 3 matching records in table 2, 3 number in each row in the repeat region.

    I appreciate all the help that I'm a complete novice.

    Maybe it is not very effective, but I bet you it will do what you want:


    SELECT *.
    FROM table1
    ORDER BY name DESC


    SELECT *.
    FROM table2
    Where tid = #table1.id #.


    #table1.name #.
    #table1.client #.
    #table1.products #.
    $# numberformat (table1.income, '999,999.99') #.
    #table1.frequency #.
    #table2. RecordCount #.

  • Show hide within a repeat region

    I am trying to apply a show - hide a div within a repeat region.

    The problem is that only the first record of the repeat region seams to work properly, on all other theres no such think as hide. Why?

    Here is the link:
    http://www.Cantinho.org/admin/Cantinho/find_search_result.php

    Hope someone can help me here.


    Thank you


    In the doors pop music: "The End."

    We will make a summary of it:

    OBJECTIVE OF THIS POST 'WHOLESALE ':
    Make a show/hide button details within a repeat region, so when the user clicks on this button the details of this specific record inside the repeat region appear and disappear. (alternating).

    WHAT DID NOT WORK?

    1)
    PROBLEM:
    The effect (in the menu effects of dreamweaver), despite the fact that we click on toggle option, it switches at all.

    SOLUTION:
    It is a known bug in the Spry effects.js file. We need to update the .js file so the .js can switch.
    Download here: http://www.cristic.ro/samples/SpryEffects.js
    Thank you sailor.

    2)
    PROBLEM:
    The effect only occurs on the first record, nothing happens on the other!
    SOLUTION:
    Joris sugestion:
    Apply a php counter.

    PROBLEM 3):
    The initial state of the 'details' div is the SHOW, but we need them to HIDE. (to view the details, only when user whats to see).
    SOLUTION HAS FAILED:
    Apply a CSS like this:

    Why? (don't know, maybe because we cannot apply a name dynamic div inside a CSS or maybe because I don't know how to do)

    A SOLUTION THAT WORKS:
    Suggested by Joris again:
    Apply to the special div eatch that you want to hide (since we have a repeat region it will be only)
    and apply to this div style = "" view: no ' property. "

    Thank you very much!!! JORIS! REALLY!
    Thank you for your time, your patience and your lessons. :)

  • Force a line break in the repeat region

    I have a table that displays data from a query in PHP that I made using a single set of records and the repeat region behavior.  I would really like to be able to break the table (add an empty line) every time that a certain field changes the values.  My code (or the code given to me by DW) is as follows.

    <? PHP {? >}

    < tr bgcolor = "#809E7C" class = "reg_dataview_data" >

    < td > < table >

    < td > <? PHP echo $row_rs_Sum09 ["ChildFirst'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['child age'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ["ChildSex'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['Session'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['Status'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['quarter'];? > < table >

    < /tr >

    <? PHP} while ($row_rs_Sum09 = mysql_fetch_assoc ($rs_Sum09));? >

    I would like for the table to break to the change in the value of Session.

    Advice would be greatly appreciated.

    Steve

    Yes, sorry about that. Simple mistake. I forgot to reset the value each time that the loop runs:

                                                                                                   
    

    By the way, attaching images is very hit and Miss in this forum. It is best to use the camera icon at the top of the message field to integrate the image directly into your message.

  • Display multiple records of repeat region


    I have two sets of data:

    Recordset1, as well as other information, contains the index corresponding recordset2

    I have set up a repeating region and need a field of recordset2 to display data record1. I really tried everything, but it seems no way to control what cs3 order puts the php for mysql read code. I can easily put on a list menu and cs3 doing the code for select recordset2 correctly but it is a display and I don't know there is something simple, I'm missing and appreciate in advance your time and advice.



    I am running php 5 and mysql 5 on my vista IIS machine.

    azunoman wrote:
    > I have two sets of data:
    >
    > recordset1, as well as other information, contains the index of
    > corresponding recordset2
    >
    > I have set up a repeating region and need a recordset2 field to display
    > given record1. I really tried everything, but it does not seem possible
    > control what cs3 order puts the php for mysql read code. I can easily put
    > in a menu list and cs3 will do the code to select recordset2 correctly, but it is
    > a screen and I'm sure there's something simple I'm missing and enjoy
    > to advance your time and advice.
    >
    >
    >
    > I'm using php 5 and mysql 5 on my vista IIS machine.

    You need a set of records, and that we will use what is called a JOIN.
    You implement the join in your SQL statement. Do a google on mysql join
    and see if it makes no sense. Otherwise, post your 2 existing SQL
    statements and we will see if we can do for you.

    Steve

  • 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'];

    }

    ?>

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

  • 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/

  • Problem with layout / repeat region

    Can someone have a look at this please?

    Essentially two versions of a page of details based on a Recordset by using two tables and an interconnection table of choice.

    The idea is to display the details of the person at the top of the page on the left (from the 'Candidates' table) and right any job "profiles" for this person (in a table of 'Profiles'). The page is obviously just showing the details of the candidate, but must be of * all * profiles associated with.

    So, on the first page, the information is correct, but because it shows the first record in the query.

    So I thought it would be a simple case of add a repeat region to the line of 'Profiles' on the right side. But when I do this, most of the coordinates are displayed not only the ID and name fields.

    http://www.searchtechuk.com/database/candidates2.php

    http://www.searchtechuk.com/database/candidates3.php

    Clues?

    Iain

    Scratch that - just rebuilt the table, and turned with the CSS and it's fine.

    Iain

  • 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)

  • 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);

    ?>

  • Repeat region fail in IE7

    Hi all

    I NIF just my first website focused on the database and hit a BIG problem, just before there about to go live! I have a repeat region for each product, containing a form. There is a 'Détails' button (which is actually a submit button) and passes it to a type lightbox popup product data. I've been making sure all the works of this Safari, firefox, and IE8, but just tested on IE7 and only the first 'more info' button works. I have not the slightest idea why. I would be very grateful if someone could take a look at my code and tell me what goes wrong. Having a little panic now!  Thank you guys

    Here's the page http://goo.GL/5rlgc

    Use a counter in the repeat region to add the name of the form and the id. In this way, they will be unique.

  • 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();
    });
    
  • 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:

    
    

Maybe you are looking for

  • Registration

    I had to reinstall QT 7 & now I don't know how to use my registration key for my Pro 7. I hope I don't have to buy it again which is what I see when I go to help. I bought a key, but how to use it?

  • Replacement of keyboard on the Satellite Z930

    Does anyone know a link / instruction on: (1) where can I get a new keyboard for Z930?(2) can I replace it myself? If so, how? Thank you!

  • VI running in several sub-panels

    I am creating an application in which I can run a vi in two sub-panels, simultaneously. The only way I could make it work is by saving the vi as a template, .lives. There are concerns that I should have when using a saw instead of a vi in my applicat

  • How do you dynamically change the enabled state of a control?

    I build a VI whose purpose is to generate a digital signal, post it on a chart and eventually save the data in a file. I have a trajectory control and a checkbox included in my front panel. When the box is checked , I want the State of the path contr

  • Windows XP don't reconise new wireless printer

    My cousin has an old computer that is running Windows XP.  She bought a new wireless printer that works with his cellphone and the Tablet, but the computer does not recognize the printer.  How this can be solved?