Put field synopsis in brief area and full text in detail area

I have been making some dynamic sites recently and had a
question about only pulling the first couple lines of data from a
field in the summary page and showing the full text on the detail
page. Currently, i make 2 fields, a brief field and a detail field.
Can i condense these and write code to only show a few lines in my
summary page?

fbcojman wrote:
> Thanks for the reply. I tried that. My SQL statement
looks like this:
>
> SELECT left(tblnews.newsText, 50), tblnews.newsTitle
FROM tblnews
You should use an alias. In MySQL, the SQL statement should
look like this:
SELECT left(tblnews.newsText, 50) AS summary,
tblnews.newsTitle
FROM tblnews
The first 50 characters are then available in the recordset
as "summary".
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Ipad can work as a cellphone by putting a SIM card, reciving calls and messages? The messages are send to other cellphones. that don't belong to apple

    ipad can work as a cellphone by putting a SIM card, reciving calls and messages? The messages are send to other cellphones. that don't belong to apple

    No.  The iPad cannot make/receive cellular calls or send/receive cellular text messages.  It can only send and receive cellular data, if equipped with 3G.

  • Select a small area and then use the selected area to paint other areas of the image

    Hello
    My problem is a little hard to explain but I try.
    What I want is to select a small area and then use the selected area to paint other areas of the image. Do not know how to do it and if it's stamp tools or pen tools to be used?

    Howdy.
    Sounds like you're looking for the Clone Stamp Tool. Set to Aligned, the sampling point resets when you release the mouse after painting. Untic Aligned and the sampling point stays in the original spot for the next stroke. It's a good idea to clone onto a separate layer with Sample All Layers selected. Then you don't lose original pixels. Allows you a do over later.
    FWIW.
    Peace,
    Lee

  • TS3992 my icloud keeps saying "loading" next to storage and says "icloud storage details are currently unavailable. try again later." what does this mean

    my icloud keeps saying "loading" next to storage and says "icloud storage details are currently unavailable. try again later." what does this mean?

    Apple has been having a number of server issues today and this may be related to that.  Give it some time and try again later.

  • In Win 10 technical preview cannot determine the full device display area and aspect ratio; the dimensions are needed to create full-screen bitmap.

    While Windows.Current.Bounds returns the application windows size, in order to create a full-screen bitmap my app would need to retrieve the full display area  of the device. I cannot even get the aspect ratio.
    Pre-Win10, using Windows.Current.Bounds I can create a bitmap of whatever size application window the user is seeing. When the user is showing my app at full screen, I can therefore get the full display area and aspect ratio of the device and create
    a full-screen bitmap.
    With Win10, the user would need to know to hide the taskbar and also display at full-screen before an app can retrieve the display area and aspect ratio using Windows.Current.Bounds.
    Is there any way to get the display area and aspect ratio of the device without asking the user to fully maximize the application window?
    musical9

    Rob, Is this forum best way to get my suggestion to the development team?
    Before Win10 it's obvious to the user that full-screen is or is not being used. When I create the bitmap, I create it to fit the application window. When the app is displayed full screen, the bitmap will be full screen. Also, the app starts full-screen
    so I can detect the display area at startup if I need to.
    With Win10, to the user the app "looks like" it is full screen with the taskbar displayed even though it's not really full screen.
    Yes, Windows.Current.Bounds does work the same, but I believe that in Win10 determining the full display area will be useful and not just the application window.
    musical9

  • Large text with national caracters and full text index

    Hello,
    I have some large portion of string to index. So of these strings contains national characters so I have stored it into a NCLOB column. I would like to put a full text index of this column but I see that it is not possible for NCLOB column.
    Does anybody have the problem as me? If yes, how did you proceed? Could the XMLType be a solution ?
    Thanks for your help.
    Kind regards,
    Fred

    Hi Fred,
    "I do not think that I can manage all these characters with only one character set."
    Sure you can. The main reason for using the NLS characterset has nothing to do with whether you can/cannot support multiple languages with your database charset. It is there primarily in case your db characterset is not some unicode/multibyte charset and you need to add support for it while maintaining your original db charset. A secondary reason is for certain performance considerations, but that is for specific application architectures and doesn't seem to be the case here. One of my apps supports virtually every language on Earth - not using the 'N''s'. I'm using AL32UTF8 - it is up to Unicode 4.0 in version 10gR2 of the db.
    Choose a unicode character set for your db and you're fine unless you have some overwhelming reason why you are unable to do so. Any Text index will work for you and your problem is solved (and ctxxpath and context index will both work - just compare your requirements to the functionality provided by the index type).
    Further reading:
    Here's an OracleMag article from last Fall -
    http://www.oracle.com/technology/oramag/oracle/05-sep/o55global.html
    Here's a white paper -
    http://www.oracle.com/technology/tech/globalization/pdf/TWP_AppDev_Unicode_10gR2.pdf
    Thanks,
    Ron

  • SQL Server 2008 R2 Express Edition and Full Text Indexing

    Hello, we have recently upgraded our web front end server from SQL Server 2005 (Standard Edition) to SQL Server 2008 R2 Express Edition (in conjuction with upgrading our main production servers to SQL 2008 R2 Standard). We have 12 Databases on our production
    SQL Server that are replicated to our web frontend server to the SQL Express instance. One of these databases has a FULL TEXT INDEX. The production database is running the Adobe iFilter version 9 64Bit. The FULL TEXT CATALOG has been created and populated
    and performs searches as intended. However, upon replication, when using the search option on our web page based on that PDF iFilter, it no longer works. After examining the properties of the FULL TEXT CATALOG, we note that the Catalog size on the subscriber
    end is 0MB in size (whereas it is 3MB on the Publication side). Also the Unique Key Count on the subscriber side is '1' whereas on the publisher side it is 30,000+. After examining the FT Indexing logs on the subscriber side shows an error: "Warning: No appropriate
    filter was found during full-text index population" On the subscriber side which is running Windows Server 2003 and SQL Server 2008 R2 Express Edition, Adobe Reader 10.1.1 is installed (all 32Bit) with the Adobe iFilter AcroRdIF.dll. When running the SELECT
    * from sys.fulltext_document_types T-Sql statement, the list returned shows the PDF filter to be installed and shows the correct path. Under the System Environment Variables, that path has also been installed (from previous recommendations in researching this
    problem). After numerous reboots, service restarts and re-attempts to get the FT Daemon to crawl - no success. Can anyone please help with this problem? Is there something I am missing? In an attempt to work around this problem thinking there might be a version
    conflict between the 64Bit version on the publisher and the 32Bit version on the subscriber, I disabled the replication of the FULL TEXT CATALOG and tried to create a new catalog on the subscriber with the same results. Thank you for your answers in advance
    - Fustrated! Sorry, somehow this got posted originally under Server Design

    Hello Jeff hope your still out there.  I wrote this question 2 years ago and upgraded to SQL Express with advanced services.  Full Text replication worked until last week.  We are operating in a virtual environment.  My publisher box
    is a Windows Server 2008 R2 (64bit) with SQL Server Standard Edition.  My Web front subscriber is a Windows 2003 R2 (32bit) Server with SQL Server 2008 R2 Express SP1 with Advanced Services. Now the exact same thing is happening after 2+ years. 
    We are looking for possible updates that might have broken this but I am stretching that.  Any clues please?  32bit vs. 64bit?

  • External URL Mapping and Full-Text Search Generation

    I have a dilemma,
    I can map external URL all fine e.g.
    <map version="1.0">
    <mapID target="Welcome" url="http://docweb.net/help/test.html"/>
    </map>
    but the html files are not contained in the local directory, and thus the jhindexer is unable to (as far as i know anyway) generate full-text search using the externally linked html files
    also from using a decompiler I have found that you can "force" it to generate the help for external urls (as the indexer prefixes all urls with the "file:" protocol, but I can only get this to work under debug mode, else it gives a heapSpace exception, so I wish to avoid having to do anymore unneccesary digging/decompiling.
    Also just as a gripe, why is most of the java help source code unavailable, and the Indexer seems to be very inflexible (ontop of not having any documentation)

    That's the way it worked in X4 and later versions up but not including RH8. RH8 includes phrase searching in webhelp.
    See www.grainge.org for RoboHelp and Authoring tips

  • AIR and full-text search in SQLite

    Hi,
    can I use full-text indexing capabilities of SQLite with my
    AIR app?
    I've created a virtual table in database using fts3 module
    (via command line of sqlite.exe). But when I try to insert a row
    into this table, I get an error message like
    ...SQLError: 'Error #3115: SQL Error.', details:'no such
    module: fts3', operation:'execute', detailID:'2501'...
    Does AIR Data library support FTS in SQLite?

    Yes, Adobe has disabled loadable modules but that does not
    prevent them from including FTS3 in AIR's SQLite.
    PLEASE, statically compile in both the FTS3 module and the
    R*Tree Spatial Index module.
    The beauty of AIR is that you can have an application that
    works offline (duh!, right?). When it's online, you can do a full
    text search in it, using the powerful server-side database's
    functionality. Now when you go offline, you're completely crippled!
    ... Because Adobe didn't put FTS3 in SQLite.
    ' Same with Spatial functionality.
    I'd sure like to know how companies make these decisions.
    >sigh< It is EXTREMELY frustrating to be limited by
    apparently arbitrary decisions like these. I sure hope this was not
    motivated by a desire to "encourage" people to use their commercial
    productions such as BlazeDS. I'd like to think better of Adobe than
    that.
    Again, PLEASE include these modules in the next release.
    Scott

  • Availability groups and full-text indexes.

    Hello,
    I have created an availability group that contains a database. The database is working fine.
    I get a request to create a full-text catalog and to add full-text indexes.
    Is it possible to create full-text indexes on databases that have a primary replica and a number of secondary replicas?
    Best regards,
    Erik

    Hi hcv,
    Microsoft will support full-text search in a clustered environment in SQL Server, so you can create full-text indexes on databases which are in Always on environment. In
    the AlwaysOn Availability Groups, two types of availability replicas exist: a single
    primary and some secondary replicas. To add a database to an availability group, the corresponding secondary database will exist until backups of the new primary database are restored to the server instance that hosts the secondary replica (using
    RESTORE WITH NORECOVERY). You can refer to
    back up and restore Full-Text catalogs and indexes.
    There is an article about Full-Text Indexing in SQL Server, you can review them.
    https://www.simple-talk.com/sql/learn-sql-server/understanding-full-text-indexing-in-sql-server/
    http://technet.microsoft.com/zh-cn/library/aa214780(v=sql.80).aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Regular Expressions and Full-text Requests.

    Hi,
    i have just read that Berkeley DB XML doesnt support regexp in XQuery (what a pity),
    do you know how to look-alike regular expressions in Query?
    for example, i'd like to perform a full-text request, all tags that contains text like "Be.+ley" (it would return tags that contains text like "Berkeley" or "Beverley"), how can i do that?
    Thx.

    Hi,
    A performant way to do something like you want is with a query that mixes use of contains() (index optimized) and matches() (not index optimized). Something like this:
    collection()//tag[contains(., "Be") and contains(., "ley") and matches(., "Be.+ley")]John

  • Apple TV and full episodes of Smithsonian are not playing

    Is anyone else having problems viewing full episodes for the Smithsonian channel?

    It cannot and will not mirror a PC/Macs primary display output.
    A Mac Mini while more expensive is still relatively small form factor and perhaps could be connected permanently to your setup with a wirless keyboard and mouse?
    AC

  • FM to get DDIC field possible values from checktable and corresponding text

    Hi,
    I am developing a web solution that hooks into SAP.  This has some drop-downs in there on some fields that I determine at runtime.  If those fields are defined in the data dictionary and their domain has fixed values then I have a function module that will go and get the possible values and their corresponding texts.
    However, if the domain has a checktable, then I haven't been able to find a function module or class method that will allow me to pass the data dictionary reference and get a list of possible values with texts.
    Does anyone know of such a function module/ method?
    Thanks,
    Tristan

    Hi Rich,
    I've just tested the code, but it does not return any values for domname = 'RFBSK' and also not for domname = 'LAND1', which is the domain I'm looking for.
    My solution is now:
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname   = lv_struc
        TABLES
          dfies_tab = lt_dfies.
    LOOP AT lt_dfies INTO ls_dfies WHERE checktable <> ''.
        CLEAR: ls_checktab_values.
        ls_checktab_values-checktable = ls_dfies-checktable.
        CASE ls_checktab_values-checktable.
          WHEN 'T005S'.
            SELECT bland AS ddlbkey bezei AS ddlbvalue
              FROM t005u
              INTO CORRESPONDING FIELDS OF TABLE ls_checktab_values-key_value
              WHERE spras = sy-langu.
          WHEN 'T005'.
            SELECT land1 AS ddlbkey landx AS ddlbvalue
              FROM t005t
              INTO CORRESPONDING FIELDS OF TABLE ls_checktab_values-key_value
              WHERE spras = sy-langu.
          WHEN 'TSAD3'.
            SELECT title AS ddlbkey title_medi AS ddlbvalue
              FROM tsad3t
              INTO CORRESPONDING FIELDS OF TABLE ls_checktab_values-key_value
              WHERE langu = sy-langu.
          WHEN 'TB912'.
            SELECT pafkt AS ddlbkey bez30 AS ddlbvalue
              FROM tb913
              INTO CORRESPONDING FIELDS OF TABLE ls_checktab_values-key_value
              WHERE spras = sy-langu.
          WHEN 'TB910'.
            SELECT abtnr AS ddlbkey bez20 AS ddlbvalue
              FROM tb911
              INTO CORRESPONDING FIELDS OF TABLE ls_checktab_values-key_value
              WHERE spras = sy-langu.
        ENDCASE.
        APPEND ls_checktab_values TO lt_checktab_values.
      ENDLOOP.
    Regards
    Gregor

  • Why gps maps in Montenegro are not full maps ? There are streets that missing ....

    Why is there no Full Montenegrin maps ??? I feel really disappointed in apple .... Why cant we have serbian latin keyboard ? Is that problem for you too ? The one that is on your software the one that u call serbian latin is english keyboard .... What the f is wrong with you , brain missing somewhere ??? Windows know how much every costumer is important !!! U americans just don't see  farer than your own backyard  .... Really disappointed.... Hope u found someone who do his job   Not doing catastrophic mistakes like putting english to be serbian language ? Because thats a little discriminating is it ? 

    Чао, Цнра Горац!  Ја сам Славко из Канаде.
    О iPad:
    1. Ни је битно али јел твој iPad има картицу за мобилни торан? 
    2. Кој мапа апликација не покаже целу Црна Гору?  Аpple мапа, Tomtom или нека друга?
    O латиница:
    То за латиница азбук је доказ љенство или политика.  Ја сумњам да је због комшије на балкану.  Ја сумњам да већ знаш за обо шта ћу ти објаснити, али ако не онда ево:
    Ако хоћеш слово "ђ,, онда пипни слова D док не покаже оба слова "D и Đ,,.  Немој дигнити прист са екрана док не макнеш прст и покријеш слова "Đ,, и док не појави се плава поља око слова "Đ,,.  Тако ћеш морат урадити са осталним слова Š, Ž, Ć  и Č.
    Како je време, 14 степени?

  • Why does my billing account keep coming up and say my bank details are worng

    Why does my billing account come up and keep saying enter my details. I've entered them loads of times and I still can buy or download of apps

    I had this issue too.  If your apple account doesnt match your bank records exactly it wont work and this isnt always possible.  All i did was open a paypal account with the same card i wanted to use then set up Apple to use the same card through paypal.  Worked perfectly!

Maybe you are looking for