Table heights inconsistent - Please help!

I'm not at all savvy with web programming. I have lots of
experience creating HTML e-mails in DreamWeaver but this is the
first complete site I've designed and built using DW8.
http://www.10speedstudio.com/testsite
I'm almost done except I cannot figure out why two of the
pages, "contact" and "creative brief", are taller than the other
pages.
http://www.10speedstudio.com/testsite/about_brief.html
http://www.10speedstudio.com/testsite/about_contact.html
Everything checks out in DW layout mode; every container
table adds up to 561 pixels high. However, when I look at these two
pages live (or in browser preview) they are not only taller than
the portfolio pages, they're off by different amounts.
I thought perhaps I had added top/bottom margins in CSS that
weren't showing in DW layout mode but my brief moment of
inspiration was proven to be incorrect.
I'd appreciate your input as to what I can do to fix this.
Thanks in advance!

Yeah - it's not really good news.
Layout Mode makes such a godawful mess on your pages it's
very hard to just
offer a concise solution that doesn't involve the words
"start over". For
example, read this page -
http://apptools.com/rants/spans.php
Then look at the code on your page, and count how many
instances of
'colspan' and 'rowspan' you see. My quick look came in at
more than 10.
Let me just say that your DESIGN for the pages is very
pleasant. It's clear
that you do this well.
And looking at your code, there is ANOTHER huge problem with
this page - you
have not used DW's templates properly. I can see that what
you have done is
to open a template page, insert unique content for this page,
and then
resave the page with an *.html extension. That's just not
going to work.
How do I know this? Look here -
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>10 speed | contact</title>
This is from the Contact page - note the "Template" in the
comment above the
title tag?
The same thing is true on the other page -
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>10 speed | creative brief</title>
I really don't know what to suggest to you other than to
either take the
time to learn the tool, or hire a developer to work with you
on these
projects.
For what it's worth, I removed the HEIGHT="209" from one of
the table cells
at the bottom of the table, and you can see the result here -
http://murraytestsite.com/10speed-contact.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"tenspeedsf" <[email protected]> wrote in
message
news:[email protected]...
>>> Everything checks out in DW layout mode
>
> >There's problem #1 - using layout mode to build your
pages.
>
> >> every container table adds up to 561 pixels
high.
>
> >There's problem #2 - using table heights (invalid
HTML).
>
> >> I'm not at all savvy with web programming.
>
> >There's problem #3 - and the root of the other two
problems.
>
> Ouch.
>
> Frankly, I'm not that interested in learning web
programming. I'd rather
> leave
> that stuff to the folks that enjoy it and spend more of
my own time doing
> print
> design work. Thanks for pointing out everything I don't
know. Would you
> mind
> offering some solutions?
>
> I removed the offending heights from my code and, as you
predicted, it
> threw
> my lay-out out of whack.
>
> Aside from spending a big chunk of time I don't have
learning CSS box
> model
> for lay-out (and growing gray in the process) what would
you suggest?
> Should I
> use another table-based mode other than Layout Mode? Or
a WYSIWYG
> application
> other than DW? I mean, if it were any good would it
allow me to use Layout
> Mode
> in the first place?
>
> I would like to fix this issue and launch my site as
quickly as possible
> so
> that I may go back to my billable work. If you can help
me out, I'd
> appreciate
> it.
>

Similar Messages

  • Public Synonyms for Nested Tables - Insertion Problem  - Please Help!!!!!

    Hi,
    we are facing a problem during implementation. Our DB set up
    is , we will be having two schema named OWNR and COPY.
    In the schema, OWNR we have to create all the tables,
    types,procedures, packages and obj.....This schema will have
    both DDL and DML privileges.
    In the schema, COPY we are not supposed to create any tables,
    objects. We have to create public synonyms for all the tables,
    types, procedures... in OWNR and grant ALL privilege to the
    schema COPY.The schema, COPY will have only DML privileges.
    The problem is we have some nested tables in our application.
    When I try to insert into the synonym which is created for the
    nested table, it is not allowing me to insert..The whole
    implementation is stucked..Please help.The scripts are given
    below.......
    We have a type name SITA_ADDRESS_TY which is used by the nested
    table SITA_ADDRESSES_NT.Script used for creating the Type,Nested
    table,Table, Public Synonym and granting all privilege to these
    types and tables are
    CREATE OR REPLACE TYPE SITA_ADDRESS_TY AS OBJECT (
    SITA_ADDRESS VARCHAR2(10),
    REMARKS VARCHAR2(100)) ;
    PROMPT SITA_ADDRESSS_NT...
    CREATE OR REPLACE TYPE SITA_ADDRESSES_NT AS TABLE OF
    SITA_ADDRESS_TY ;
    Using this nested table we have created the table,
    UMS_SITA_ADDRESS
    CREATE TABLE UMS_SITA_ADDRESS (
    COMPANY_CODE VARCHAR2 (6) NOT NULL,
    AIRLINE_CODE VARCHAR2 (6) NOT NULL,
    DESTINATION VARCHAR2 (6) NOT NULL,
    SITA_ADDRESS SITA_ADDRESSES_NT)
    TABLESPACE EKUMDAT
    PCTFREE 5
    PCTUSED 40
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    PCTINCREASE 0
    MINEXTENTS 1
    MAXEXTENTS 505
    FREELISTS 1 FREELIST GROUPS 1 )
    NOCACHE
    NESTED TABLE SITA_ADDRESS STORE AS UMSNT_SITA_ADDRESS ;
    PROMPT SYNONYM SITA_ADDRESS_TY...
    CREATE PUBLIC SYNONYM SITA_ADDRESS_TY FOR SITA_ADDRESS_TY
    PROMPT SYNONYM SITA_ADDRESSES_NT...
    CREATE PUBLIC SYNONYM SITA_ADDRESSES_NT FOR SITA_ADDRESSES_NT
    PROMPT UMS_SITA_ADDRESS...
    CREATE PUBLIC SYNONYM UMS_SITA_ADDRESS FOR UMS_SITA_ADDRESS
    Granting Privileges
    PROMPT SITA_ADDRESS_TY...
    GRANT EXECUTE ON SITA_ADDRESS_TY TO COPY
    PROMPT SITA_ADDRESSS_NT...
    GRANT EXECUTE ON SITA_ADDRESSES_NT TO COPY
    PROMPT UMS_SITA_ADDRESS...
    GRANT ALL ON UMS_SITA_ADDRESS TO COPY
    When I connect to copy and desc UMS_SITA_ADDRESS, the structure
    is
    SQL> desc ums_sita_address
    Name Null? Type
    COMPANY_CODE NOT NULL VARCHAR2(6)
    AIRLINE_CODE NOT NULL VARCHAR2(6)
    DESTINATION NOT NULL VARCHAR2(6)
    SITA_ADDRESS
    OWNR.SITA_ADDRESSES_NT
    Why is it so??. Even though I have a synonym for
    SITA_ADDRESSES_NT, it is not referencing the synonym but instead
    refer the OWNR.SITA_ADDRESSES_NT
    Because of this when I try to insert into ums_sita_address(in
    schema COPY), it is giving the following error,
    SQL> insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_NT());
    insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_NT())
    ERROR at line 1:
    ORA-00932: inconsistent datatypes
    But when the same connect to OWNR and try to insert with the
    same stmt, it is inserting...
    Our middle tier can connect only to COPY schema alone..Is there
    anything to be done in the DBA side to achieve this??.
    Please help from your valuabe experience...Or can you ask your
    collegues if they have got a soln to this probs..We are stucked
    with this...
    Thanks
    Priya

    Hi
    I am not sure but maybe you need to use this command:
    SQL> insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_TY());
    SITA_ADDRESSES_TY() instead SITA_ADDRESSES_NT
    Regards

  • How to have the check box fields in the table ...Please help me out.

    Hi
    can any one give me code save the checkbox field to save in the table.
    I have displayed the checkboxes using the loops from the table but when i am clicking the checkboxes and pressing the button save its not saving in the database table.
    please help me out. Its urgent .
    Thank you very much suneetha

    DOnt duplicate the thread...Reply to the below thread..
    Re: In the loop to display checkboxes.
    Raja T

  • Stuck in IDCS4 Table H*ll--Please Help

    I'm working on updating a parts catalog for my company (800+ pages) and it's my first big project using IDCS4. We've separated each section into an individual document (most between 50-80 pages, but a couple of the sections are 100+ pages).
    Due to the nature of the project, I've attempted to make my documents as flexible as possible.  Over the next few years we will be inserting new information at different places in the catalog, as we begin to carry new items.  Because of this possibilty, the current information for each section is placed in an single table that overflows from the first page through the last page of that document.
    The problem I keep running into, is that the table rows for different parts of the same document have to be formatted differently to achieve a consistent appearance. There are a few parts that have additional information that requires splitting and/or merging table cells.
    Here are a few issues I've come across:
    * When I try to Shift + drag a cell border, ID will not allow me to drag it past the threshhold of another cell in a higher or lower row.  For example, I have a 3 inch cell in Row 2 of my document that begins at 0" and ends at 3".  Further down at row 7, I have divided the 3" row vertically.  The right half of the divided cell has been merged to the adjacent cell (to the right).  When I try to drag the left wall of this cell toward the left, ID won't let me drag it past the 3" mark on the ruler (in fact, it stops about 1/16" short).  Is there a way to override this and freely drag the cell wall to whatever size I want it to be?
    * My other issue is attempting to paste rows from one ID document to another.  Occasionally, ID allows me to do it, but it plays heck with my formatting when it does.  Most times, even when the rows seem to be right at or very close to the same dimensions, the Paste function is not available after I Cut or Copy the rows from the older document.
    Can anyone provide advice/solutions or even explain to me that I'm going about this all wrong, or have I come across an inherent weakness of InDesign's capabilities.  I understand that an application that does every single thing you'll ever want or need isn't out there, but it seems like it's those things I want or need most that ID refuses to do.
    Thanks in advance!
    RW

    Thanks for all of your help.  I checked out catalog plugins and downloaded a couple of the trial versions.  They seem to be a great tool and something I'll probably pursue in the future.  Unfortunately, their parameters weren't compatible with the amount of work I've already put into this project and in the interest of time-saving, I'm going to pursue another path for this version of the catalog so I can take my time working on the prep it would take make the most of the catalog plugins.
    I did some homework on the linked text frames solution and have proceeded down that path.  Due to some of the formatting (some of the pages were a lot more difficult than the sample I uploaded), I'm still using tables to preserve a consistent look, but I've broken down each product section into a separate table (of no more than 20-30 product listings per table).  I don't know why that didn't occur to me earlier, I guess I was in the dark about the reflow feature that keeps objects flowing consecutively.
    One other problem I'm having that I haven't found a suitable answer to:  When pasting rows from one table to another, most help databases I've seen praise the flexibility of InDesign to copy from one table and *as long as there are enough rows to add the new info*, pasting from one table to another is a snap.  However, I've found limited success with this feature.  I'm not sure if it has to do with my tables, some of which became very complex (through splitting and merging cells to preserve a consistent appearance throughout a section), but InDesign will allow me to cut rows from one table and insert them as a new table into a text frame; however, when I try to copy more rows from the first table (formatted the same as the first rows that I cut), the Paste feature is inactive.  Other than the first series of rows being cut from one table and pasted as a new table, their is no difference between them and the next section of rows I'm attempting to add to the end of the table.
    Any thoughts on the seeming inconsistency?
    RW

  • Expandable list - Table of Contents -  Please Help

    I used the code found on the following page to create an expandable list that worked great:        Expandable list :  at www.learningmovabletype.com
    I created a table of contents for our Policies and Procedures that showed the main topics and when clicked listed each policy subcategory.  The following link is for this page:http://bsacapheadstart.com/PoliciesandProcedures.html
    My company bought the Adobe CS4 package that included Dreamweaver several months ago and I am trying to create this same page using it.                          http://grantee.bsacapheadstart.com/Policies%20and%20Procedures.htm
    The problem as you will notice if you go to this page and click on the categories, is that only the first topic will expand and all the others will not.
    I have reviewed the code several times and do not see any differences between the first topic heading and the others; nor between the code that works on the first page and the page I am creating using Dreamweaver.
    I have thought about using the Spry Collapsible Panel or Accordian but it is not exactly what we want.  Besides everyone is already comfortable with this layout.
    If anyone could please help, it would be greatly appreciated! Thanks!

    Start with valid code.  It makes trouble shooting much simpler.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.grantee.bsacapheadstart.com%2 FPolicies%2520and%2520Procedures.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • HOST ROUTING TABLE IS EMPTY please HELP

    HELLO THERE PLEASE HELP ME , MY HOST ROUTING TABLE IS EMPTY
    WHAT DO I DO NOW?

    Hi and Welcome to the Community!!
    With a strong carrier network signal (not WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Resend Service Books
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Batt Pull Reboot
    With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support...it is, after all, your carrier network that must populate these items to your BB.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • BDC - table control - experts please help

    Hi experts,
    Please help. I am in need of your help.
    I am working with BDC and I have a table control in one of the screen. Table control has a check box in the first column. While recording how I entered the data is : I select the check box in a row, enter two values in next two columns of that row and then hit enter then the other columns in that row turn from grey to white (initially these columns are greyed out).
    NOw in BDC when I run my session in foreground, I am able to check(select) the check box and enter the values in next two columns and then I have a Enter OKCODE. But when I hit enter it is not able to recognize the row and its unable to turn the greyed out columns in that particular row to white.
    Is there a way to specify in my program that I am hitting enter in one particular row.
    Please help. Let me know if something is not clear. Very urgent . Pleasee respond. Thanks

    Hi Rich,
    Thanks for the replies. I will try that. I got one more doubt. While manually creating the recipes using C201, there is a screen Recipe header. When I record this transaction, I see a different screen for the Recipe header. Fro example the screen numbers are like 4210(manual) and 4211(recording).
    But my problem is there are two fields which are missing in the screen which I am getting while recording C201. These two fields are present on the screen for manual creation. I need to enter those two fields while I record. But how can I do this.
    Please help.

  • Table Editing Problems--- Please Help!!!

    I have implemented a table model that adds an extra blank row . Now when
    i enter some value into the first row and press enter i find that the value is lost. (the row goes blank and a new row is not added).the table model stores the new value though.
    The table has 1 column and its header is set to null
    here is the code
    class ReportTableModel extends AbstractTableModel
         Object[][] data;
    Vector rows ;
         public ReportTableModel(Vector rows) {
         this.rows = rows;
         setTableData();
         public int getColumnCount() {
                   return 1;
         public int getRowCount() {
    return rows.size()+1;
         public String getColumnName(int col) {
                   return null;
         public boolean isCellEditable(int row,int col)
                   return true;
         public Object getValueAt(int row, int col) {
              if (row == 0)
                   return "";
              return data[row][col];
         public Class getColumnClass(int col) {
                   return "".getClass();
         public void setValueAt(Object value, int row, int col) {
                   data[row][col] = value.toString();
                   rows.add(value.toString());
                   setTableData();
         public void setTableData() {
    data = new Object[rows.size()+1][1];
         for (int i=0,k=1; i < rows.size(); k++,i++) {
                   data[k][0] = rows.get(i).toString();
                   this.fireTableDataChanged();
    Please help!!!!
    Thank you,
    Phani Kanuri

    Do you add the new table to the scrollpane? Generally, it is wise to use table in constructor of JScrollPane.
    JScrollPane jsp = new JScollPane(myTable);
    // assuming myTable has been instantiated already
    Cheers
    DB

  • How to maintain entries in table T158G? Please help!

    Hi Experts,
        We want to maintain new movement type entries in the table T158.
        How do we maintain entries in this table? is there any tcode or FM to do that?
        Please help.
    Thanks
    Gopal

    Hello Gopal,
    You should go through the transaction OMJJ by creating a new movement type as copy from a standard movement.
    Table T158G contains which transactions can be assigned to BAPI_GOODSMVT_CREATE.
    Each transaction has a GM code (assign code) for BAPI_GOODSMVT_CREATE.
    With this method, the system does not support goods movements that are initiated by other application components via BAPI.
    I hope this information helps you.
    Best Regards,
    Fábio Almeida
    MM Support Consultant

  • Pivot table problem. Please help me create this report

    Hi friends..I'm new to OBIEE. We can create the grand total column in pivot table. I need grand total as well as Grand average. How can I create a new column in pivot table that is same as grand total but calculates average.
    My table structure is like this.
    Facility......Date........totaldays
    A..........01/01/08......210
    B..........01/01/08......215
    C..........01/01/08......917
    A..........02/01/08......211
    B..........02/01/08......211
    C..........02/01/08......911
    A..........03/01/08......210
    B..........03/01/08......215
    C..........03/01/08......917
    I need the report like this..
    Facility.....01/01/08......02/01/08....03/01/08...Total....AVG
    A...............210.............211............210.....631......210.3
    B...............215.............211............215.....641.....213.6
    C...............917.............911............917.....2745....915
    For this report..I created pivot table but I'm not able to calculate the average..
    Can you please help..I'm new to OBIEE...
    Thanks in advance

    Please change your username....
    Here is what you need to do...
    1) In the Pivot Table View, click on the Measures column and select New Calculated Item.
    2) In the pop-up window complete as follows:
    Name: type "Total Average"
    Function: Select "Average" from the drop-down window.
    Click on the values in the right pane that you wish OBI to calculate the average for.
    3) Click "OK."
    You now have another column that is the average of the values in each row.

  • Updating data in a table...please help

    Hi,
    I'm having a problem with the following code..
    OracleTransaction myOracleTransaction = null;
    OracleCommand myOracleCommand = conn.CreateCommand();
    myOracleCommand.CommandText = "UPDATE conturi_curente set cod_cont=12 where cod_cont=100000;";
    try
    myOracleTransaction = conn.BeginTransaction();
    int x = Int32.Parse(lstBoxConturiCurente.SelectedItem.ToString());
    MessageBox.Show(x + "");
    // string cmdQuery = "UPDATE conturi_curente set cod_cont=12 where cod_cont=100000;";
    myOracleCommand.ExecuteNonQuery();
    myOracleTransaction.Commit();
    catch (Exception exc)
    MessageBox.Show(String.Format("{0}\r\n{1}", exc.Source, exc.Message));
    and I get the message "ORA-00911 Invalid character", and I have no idea what the problem is..
    Please help...I am new at working with ODP...and there are very few examples on the net..
    thank you.

    remove semicolon (;) from your query command text

  • MySQL error: "Incorrect table name ``": [was: please help me]

    the script language is php & mysql database
    i created 2 files :
    the first : i made in it the following steps :
    1- created recordset
    2- dragged and dropped one field which i need to delete
    3- put ( delete ) word and linked it with the second page by parameter id
    and the second page : i made a blank page with one recordset and made it filter by ( id )
    next, from insert menu clicked on data objects , insert record and delete record
    after that when i preview the the first page in the browser and click in ( delete ) link
    the massege appeared is :
    Incorrect table name ''
    the first page php code :
    <?php require_once('../Connections/dwcon.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (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 "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_rscomment = 10;
    $pageNum_rscomment = 0;
    if (isset($_GET['pageNum_rscomment'])) {
      $pageNum_rscomment = $_GET['pageNum_rscomment'];
    $startRow_rscomment = $pageNum_rscomment * $maxRows_rscomment;
    mysql_select_db($database_dwcon, $dwcon);
    $query_rscomment = "SELECT * FROM `comment`";
    $query_limit_rscomment = sprintf("%s LIMIT %d, %d", $query_rscomment, $startRow_rscomment, $maxRows_rscomment);
    $rscomment = mysql_query($query_limit_rscomment, $dwcon) or die(mysql_error());
    $row_rscomment = mysql_fetch_assoc($rscomment);
    if (isset($_GET['totalRows_rscomment'])) {
      $totalRows_rscomment = $_GET['totalRows_rscomment'];
    } else {
      $all_rscomment = mysql_query($query_rscomment);
      $totalRows_rscomment = mysql_num_rows($all_rscomment);
    $totalPages_rscomment = ceil($totalRows_rscomment/$maxRows_rscomment)-1;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>التحكم في التعليقات</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link href="../styles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    #contmain #main #page #content table tr td div strong {
        color: #0F0;
    -->
    </style>
    </head>
    <body>
    <!-- start header -->
    <div id="contmain">
    <div id="menu">
            <ul>
                <li><a href="#"></a></li>
                <li><a href="#"></a></li>
                <li><a href="#"></a></li>
                <li><a href="#"></a></li>
                <li><a href="../index.php"></a></li>
            </ul>
        </div>
    <div id="main">
    <div id="header">
    <div id="logo">
        <h1><a href="../index.php"></a><a href="" id="metamorph"></a></h1>
        </div>       
    <!-- end header -->
    </div>
    <!-- start page -->
    <div id="page">
      <div align="center">
        <!-- start sidebar two -->
      </div>
      <div id="sidebar2" class="sidebar">
          <ul>
              <li>
                    <h2> </h2>
                    <div class="title_back">
                    <ul>
                      <table width="130" height="136" border="0">
                        <tr>
                          <td height="47" bgcolor="#99CC66"><h1><a href="cp.php">اللوحة الرئيسية</a></h1></td>
                          <td bgcolor="#99CC66"><img src="../images/icons/Dreamweaver.png" width="36" height="35" alt="" /></td>
                        </tr>
                        <tr>
                          <td height="40" bgcolor="#99CC33"><h1><strong>المقالات</strong></h1></td>
                          <td bgcolor="#99CC33"><img src="../images/icons/Dreamweaver.png" width="36" height="35" alt="" /></td>
                        </tr>
                        <tr>
                          <td height="41" bgcolor="#99CC66"><h1><strong><a href="logout.php">تسجيل الخروج</a></strong></h1></td>
                          <td bgcolor="#99CC66"><img src="../images/icons/Dreamweaver.png" width="36" height="35" alt="" /></td>
                        </tr>
                      </table>
                      <li></li>
                    </ul>
                </div>
              </li>
              <li>
                    <h2> </h2>
                    <div class="title_back">
                      <ul>
                      <li><!-- end sidebar two -->
        <!-- start content -->
    </li>
                    </ul>
                    </div>
              </li>
          </ul>
      </div>
      <div id="content">
                <div class="box">
                 <div class="box2">
                <h4 align="right"><a href="#"></a></h4>
                <p> </p>
                <p> </p>
                 </div>
                </div>
                <?php do { ?>
                  <table width="299" border="0" align="center" cellpadding="5" cellspacing="5">
                    <tr>
                      <td colspan="2" bgcolor="#006666"><div align="center"><strong>العمليات</strong></div></td>
                      <td width="154" bgcolor="#006666"><div align="center"><strong>العنوان</strong></div></td>
                    </tr>
                    <tr>
                      <td width="42" bgcolor="#99CC66"><p><img src="../images/icons/Multiply, delete.png" width="43" height="40" alt="hh" /></p>
                        <p><a href="deletecomment.php?comm_id=<?php echo $row_rscomment['comm_id']; ?>">حذف</a></p></td>
                      <td width="53" bgcolor="#99CC66"><p><img src="../images/icons/Configuration Files or Utilities.png" width="44" height="39" alt="yy" /></p>
                        <p><a href="updatecomment.php?comm_id=<?php echo $row_rscomment['comm_id']; ?>">تعديل</a></p></td>
                      <td bgcolor="#99CC66"><?php echo $row_rscomment['comment']; ?></td>
                    </tr>
                  </table>
      <p> </p>
                  <div class="box">
                <div class="box2"> </div></div>
                  <?php } while ($row_rscomment = mysql_fetch_assoc($rscomment)); ?>
      </div>
        <!-- end content -->
        <div id="bottom" style="clear: both;"></div>
    </div><!-- end page -->
    <!-- start footer -->
    <div id="footer">
        <h1>&copy;</h1>
        <h1><a href=http://www.metamorphozis.com/" title="Flash Website Templates"></a>
            </h1>
    </div>
    </div>
    </div>
    <!-- end footer -->
    <div style="text-align: center; font-size: 0.75em;"></div></body>
    </html>
    <?php
    mysql_free_result($rscomment);
    ?>
    the second page php code is :
    <?php require_once('../Connections/dwcon.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (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 "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    if ((isset($_GET['comm_id'])) && ($_GET['comm_id'] != "")) {
      $deleteSQL = sprintf("DELETE FROM ``comment`` WHERE comm_id=%s",
                           GetSQLValueString($_GET['comm_id'], "text"));
      mysql_select_db($database_dwcon, $dwcon);
      $Result1 = mysql_query($deleteSQL, $dwcon) or die(mysql_error());
      $deleteGoTo = "commentcontrol.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
        $deleteGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $deleteGoTo));
    $colname_Recordset1 = "-1";
    if (isset($_GET['comm_id'])) {
      $colname_Recordset1 = $_GET['comm_id'];
    mysql_select_db($database_dwcon, $dwcon);
    $query_Recordset1 = sprintf("SELECT * FROM `comment` WHERE comm_id = %s", GetSQLValueString($colname_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $dwcon) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    $colname_rscomment = "-1";
    if (isset($_GET['comm_id'])) {
      $colname_rscomment = $_GET['comm_id'];
    mysql_select_db($database_dwcon, $dwcon); 
    $query_rscomment = sprintf("SELECT * FROM `comment` WHERE comm_id = %s", GetSQLValueString($colname_rscomment, "int")); 
    $rscomment = mysql_query($query_rscomment, $dwcon) or die(mysql_error()); 
    $row_rscomment = mysql_fetch_assoc($rscomment); 
    $colname_rsdeletecomment = "-1";
    if (isset($_GET['comm_id'])) {
      $colname_rsdeletecomment = $_GET['comm_id'];
    mysql_select_db($database_dwcon, $dwcon);
    $query_rsdeletecomment = sprintf("SELECT * FROM `comment` WHERE comm_id = %s", GetSQLValueString($colname_rsdeletecomment, "int"));
    $rsdeletecomment = mysql_query($query_rsdeletecomment, $dwcon) or die(mysql_error());
    $row_rsdeletecomment = mysql_fetch_assoc($rsdeletecomment);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>حذف التعليق</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link href="../styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <!-- start header -->
    <div id="contmain">
    <div id="menu">
            <ul>
                <li><a href="#"></a></li>
                <li><a href="#"></a></li>
                <li><a href="#"></a></li>
                <li><a href="#"></a></li>
                <li><a href="../index.php"></a></li>
            </ul>
        </div>
    <div id="main">
    <div id="header">
    <div id="logo">
        <h1><a href="../index.php"></a><a href="http://www.metamorphozis.com/" id="metamorph"></a></h1>
        </div>       
    <!-- end header -->
    </div>
    <!-- start page -->
    <div id="page">
      <div align="center">
        <!-- start sidebar two -->
      </div>
      <div id="sidebar2" class="sidebar">
          <ul>
              <li>
                    <h2> </h2>
                    <div class="title_back">
                    <ul><li></li>
                    </ul>
                    </div>
              </li>
              <li></li>
              <li>
                <div class="title_back"> </div>
                </li>
            </ul>
        </div><!-- end sidebar two -->
        <!-- start content -->
    <div id="content">
                <div class="box">
                 <div class="box2">
                <h4 align="right"> </h4>
    <p> </p>
                 </div>
                </div>
    <p> </p>
                <div class="box">
            <div class="box2"> </div></div>        
        </div>
        <!-- end content -->
        <div id="bottom" style="clear: both;"></div>
    </div><!-- end page -->
    <!-- start footer -->
    <div id="footer">
        <p>&copy; </p>
        <p><a href="http://www.metamorphozis.com/" title="Flash Website Templates"></a>
            </p>
    </div>
    </div>
    </div>
    <!-- end footer -->
    <div style="text-align: center; font-size: 0.75em;"></div></body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>--------------------------------------------------------------------

    When posting in a forum like this, please give your post a meaningful subject line. It helps everyone, including others who might have the same problem, and are looking for a solution.
    The cause of your error message almost certainly lies in your second page, which has this code:
    if ((isset($_GET['comm_id'])) && ($_GET['comm_id'] != "")) {
    $deleteSQL = sprintf("DELETE FROM ``comment`` WHERE comm_id=%s",
    GetSQLValueString($_GET['comm_id'], "text"));
    What's causing the problem is the extra pair of backticks around `comment`. It should be this:
    if ((isset($_GET['comm_id'])) && ($_GET['comm_id'] != "")) {
      $deleteSQL = sprintf("DELETE FROM `comment` WHERE comm_id=%s",
                    GetSQLValueString($_GET['comm_id'], "text"));

  • External table - bad row - Please help

    Hi,
    I have one external table which is associated with a LOAN.DAT file.
    If some rows are bad means external table is dumping a bad file with
    the 'bad row' in .bad file. Is there any way to identify what is the reason for
    this or which column caused the row to be bad?
    Regards,
    Mathew Collins.

    Hi Mathew,
    Is there any way to identify what is the reason for this or which column caused the row to be bad?
    Not that know of. I usually just carefully inspect the row and compare it with the format mask:
    I have a reproduceable example, here, this might help:
    http://www.dba-oracle.com/art_ext_tabs.htm
    Hope this helps. . .
    Don Burleson
    Oracle Press author

  • Table format problem - Please help

    Here is what I am trying to do:
    I have a set of documents in xml fomrat following the docbook standard.  In these documents there are too types of table.  The standard table with its element tag TABLE and an informal table with element tag INFORMALTABLE.
    When these are opened and my format file and EDD applied I want the Standard Tables to have a blue shaded header and the Informal Tables to have a grey shaded header.  I have created the appropriate table templates.  I cannot figure a way via the EDD to specify the table format type that works.  When I open an xml and apply the edd and the format all the tables open using the table format that is first in the list.
    What can I do to the EDD to achieve my goal?
    Thank you in advance

    Russ,
         Thanks for letting me know my messages were not getting through. I just replied to the original rather than going through the forums interfaces and had no idea there was a problem. I attempted to post twice on this thread today:
        The messages were:
    Russ,
       You are correct. An EDD can specify an initial table format. The word "initial" is key. It is the format that is used when a new table is created, whether the new table is created interactively by the user or by opening an SGML or XML document. Initial table formats do not affect existing tables. In fact, for a table created interactively, the initial table format determines the format that is highlighted when the Insert Table dialog first comes up. The user is free to choose another format if desired.
        and
    Qualar,
        R/w rules are not context sensitive so that if you are using a tgroup element within FM, they will not be able to help. The definition of tgroup in your EDD can set an initial table format of Format A if the tgroup is within the table element and Format B if the tgroup is within informaltable. Just make sure you have imported the EDD into the template before opening the XML document. As you've noticed, if you open the XML document and then import the EDD, the tables already exist and their format is not affected.
              --Lynne

  • Table View requirement - please help

    Hello,
    This is a sample of what we would want to see in the table view:
    Position                           Name
    - IT Manager                     R. Smith
      - Software Manager         X. Tacy
      - Network Manager          A. Busy
      - Hardware Manger          T. Moore
    Then, when a user clicks on a line (e.g. IT Manager), the table view should collapsed/expand:
    Position                           Name
    + IT Manager                    R. Smith
    I'm new to BSP, so we would really appreciate if you could help us on this requirement.
    Thanks.

    Hi Ricky,
    using client-side scripting does not prevent you from using the same look and feel in any way.
    You can simply embed your own HTML and Javascript inside the BSP layout anywhere you want it. This is one of the great things about BSP - it is totally flexible in this way.
    You could, for example, use SAP's BSP Extensions to render the display and just use scripting to manipulate it - for example to hide and display different parts of the layout.
    You could also use inline HTML and explicitly use the SAP CSS classes so they pick up the look and feel you want.
    Of course if you use Flex over BSP (FLOB) you will have a quite different looking user interface - but very cool to people who are just used to plain old web pages.
    Anyway, when I am embedding client-side scripting in BSP pages I try and use as much of the SAP provided BSP Extensions as possible.
    Look at the online help for the <htmlb:documentHead> tag for a useful piece of sample layout coding.
    Cheers
    Graham Robbo

Maybe you are looking for

  • HT2693 DATA RECOVERY - HELP???!!!!!

    My son deleted my entire life by dragging it into the trash and emptying it. We recovered 100,000 files using FileSalvage and DataRescue but NO NAMES are on any of the files. Does anyone know whether it's possible to recover data with the file names?

  • Reconciliation in OIM11g

    I have a requirement where we need to reconcile some data from lotus notes. For lotus notes we have OOTB connector but this reconciliation is not supported by the connector. The data that we want to reconcile from lotus notes is locations data and af

  • Offset vendor AND the offset customer

    Can i add the offset vendor AND the offset customer in fbl3n or is there any report to give me that if  i give the Gl ACCOUNT

  • Illustrator CS6 stürzt beim Start ab.   Fehlermodulname: MSVCR100.dll

    Illustrator CS6 stürzt beim Start plötzlich ab.  Das Programm funktionierte mehrere Monate. Habe das Programm versucht auf einem anderen Rechner zu installieren. Die gleiche Fehlermeldung. Betriebssystem ist Windows 7 64-Bit. Folgende Fehlermeldung:

  • Found a lost iPhone 4/4s

    I Found a IPhone 4/4s few month ago.. I was thinking to use it since the owner didn't come back.. When I open it.. Have to use the owner Apple ID to open it.. Is there any way to help me? If there's no way to open it I will take it back to Apple Stor