Displaying dynamic data on every page of standard text

Hi All,
I m using standard text (created in SO10) in smartform . I want to display dynamic data on the top of every page of standard text.
Displaying the dynamic data is not the problem, but how would i know where is page finished(or started) as Preview in SO10 may not look the same as smartform output.
I dont want to do this manually by adjusting the size of window. Is there any other way to do the same??
Vanita.

Try to create a text in your SF and write the dynamic data.
To know in which page use &SFSY-PAGE&
this system fields may also be helpful for dynamic text on each page
&SFSY-COPYCOUNT0&   "COPY COUNTER( 0 = ORIGINAL, 1 = 1st COPY)
&SFSY-COPYCOUNT&   "COPY COUNTER( 1 = ORIGINAL,  2 = 1st COPY)
Still you can called DYNAMIC text through your standard text.. but place your conditions.
Regards,
SaiRam
Message was edited by:
        Sai Ram Reddy Neelapu
Message was edited by:
        Sai Ram Reddy Neelapu

Similar Messages

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

  • How to display dynamic datas and double datas (chart)

    Hi all !
    I would like to display dynamic datas and double datas by using charts.
    However, it doesn't work and I don't understand why.
    Can you help me to fix that ?
    Best regards,
    - John
    Attachments:
    double_dynamics_data.vi ‏54 KB

    Hi John,
    the sine looks like it should look with your VI!
    You convert the DDT to a scalar DBL. That conversion will only use the first sample of the generated sine waveform - usually this is always the same (offset) value when you generate full periods… Or to put it in a mathematical expression: sin(0°)+4 = 4!
    When you want to display waveform you should work with waveforms!
    Actually, I have used Dynamic data type in order to simulate an signal.
    Well, I also simulated a signal in my example VI. I didn't use any ExpressVI to do so…
    In a few weeks, I will receive a sensor. I will use in LabView 'DAQ Assistant' whose the ouput is a Dynamic Data.
    Nobody forces you to use the DAQAssistent ExpressVI. There are nice DAQmx functions available and LabVIEW comes with a lot of ready-to-use example VIs…
    That's why, I used in first place, the 'Simulate signal'. So I think I should keep Dynamic Data Type
    I do think you don't need to use the DDT. I think it's better to understand what is going on in your VI. And I think the DDT will be no help for you…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Need to display a field for every page

    Hi All.
    I am trying to display a field <?job_no?> for every page of that job.
    I mean if I select job no from 1 to 10. for Job number 1 the data can be printed in one page or several pages.
    But i need to show this Job number( which we show with BARCODE font) in every page of that job.
    This job is under G_JOB group. In general I used like below
    <?for-each:G_JOB?>
    <?job_no?>
    <?...?>
    <?...?>
    <?...?>
    <?...?>
    <?...?>
    <?end for-each?>
    This is getting printed in first page only. If I put it in header, of RTF file, it is ok if I selected only one job number. But if I select for n number of jobs it is not geting displayed.
    Please help.
    Thanks Vasa.

    Vasa,
    Try this:
    <?for-each@section:g_job?>
    <?job_no?>
    <?start:body?>
    <?data?>
    <?end for-each?>The "start:body" makes everything before that a page header.
    Kurz
    Edited by: Kurzweil4 on Feb 7, 2011 1:15 PM
    Added @section. This will reset the header region for each job.

  • Displaying dynamic data on load

    Hello,
    Being a newb, I am trying to figure all this out. I am trying to figure out how to make my dynamic data display. I am close but it still is not working the way it needs to. As you can see in the code I am trying to create a dynamic radio group, to load data when the page loads, but as it is it loads one radio button with a lable of "[object Operation]" and it should be creating 6 radio buttons. You can also see where I have commented out a button, now, if I uncomment it and run the page, pressing the button will populate the radio controls. What I need to do is get it so that when the page loads the data will load without having to press a button. This is taken from examples on the web and modifying to fit my needs. TIA.
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="554" height="400">
    <mx:Script>
          <![CDATA[
                import mx.controls.Alert;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.Fault;
                import mx.rpc.events.ResultEvent;
                import mx.controls.RadioButton;
                private function result(evt:ResultEvent):void { 
                      productsRepeater.dataProvider = evt.result;
                private function fault(evt:FaultEvent):void {
                      Alert.show(evt.fault.message);                
          ]]>
    </mx:Script>
    <mx:RemoteObject id="mycfc" destination="ColdFusion" showBusyCursor="true" source="flexdemo.src.DemoCFC" result="result(event)" fault="fault(event)">
    </mx:RemoteObject>    
           <!--  <mx:Button label="Button" click="mycfc.GetData()"/> -->
          <mx:HRule/>
          <mx:Repeater id="productsRepeater" dataProvider="{mycfc}">
          <mx:RadioButton id="buttonsArray"
              label="{productsRepeater.currentItem.affiliatetype}"
              data="{productsRepeater.currentItem}"/>
        </mx:Repeater>
    </mx:Application>

    You are getting close to having this correct - there just needs to be a few changes.
    First, the reason that you are getting the [Operation operation] is that you have the dataProvider for the repeater bound to the RemoteObject.  In this case, what you want to do is bind it to the data the RemoteObject returns.  For this example, the first thing you need to do is create a variable that will serve as the dataProvider.  For example, if you have an ArrayCollection (not sure what format your data will be in), our <mx:Script> block would change to be as follows:
    <mx:Script>
          <![CDATA[
                import mx.controls.Alert;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.Fault;
                import mx.rpc.events.ResultEvent;
                import mx.controls.RadioButton;
                [Bindable]
                public var returnedData:ArrayCollection;
                private function result(evt:ResultEvent):void { 
                   // This assumes that an array is being returned by the service
                   // You first tell Flex that this is an array and then use that to create a new ArrayCollection
                   returnedData = new ArrayCollection( evt.result as Array ); 
                   returnedData = evt.result;
                private function fault(evt:FaultEvent):void {
                      Alert.show(evt.fault.message);                
          ]]>
    </mx:Script>
    With that in place, you can now bind the repeater to the correct data.
    <mx:Repeater id="productsRepeater" dataProvider="{ returnedData }">
    Finally, if you want this to happen when the application loads, you need to listen for the creationComplete method of the application.  When this event is dispatched, you want to tell your remote object to go and grab the data.  Now your opening <mx:Application> tag will look like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="554" height="400" creationComplete="mycfc.getData()">
    With those items in place, it should work.

  • Display a field on every page

    Hello
    I have created a layout using BI Publisher Layout editor (not an RTF template) and have an employee number field which is in a repeating group with other employee details. The report displays 1 employee per page and I need the employee number to appear on every page of the report on its own at the end of the page without other details. How can I achieve this?
    Is there a way of making a field to appear on every page in BI Publisher but not as a header or footer? Thanks

    Hi,
    Can you try by calling subtemplate as below at the top of the page.
    <?for-each@section:G_HEADERS?> <?initial-page-number:'AUTO'?>  <?template:header?>EMP_NAME<?end template?> <?template:empnum?>EMPNUM<?end template?>
    Thanks
    Debendra

  • Display processing data ... page when gettting data

    I need to display a page which will display processing data please wait .... till i get the data from the database. How do i implement this in jsp ??

    Instead of going directly to JSP/servlet performing time consuming task, go to an intermediate JSP that has this code...
    <%
         String timeConsumingTask = "absolute URL to actual time consuming task";
    %>
    <META http-equiv="refresh" CONTENT="0; URL=<%= timeConsumingTask %>">
    <br>please wait ....

  • Displaying calculated data in JSP pages

    This is a general question about displaying data in JSP pages which has been calculated through ViewObj Routines. I have exposed the methods to the application level however, I want these methods to automatically run on the launch of the page. I can so this with a data action in the struts file. However, I have lots of these methods (all bringing single values of data), it seems inelegant to have 10 data actions or so. What's the best way to expose and show data on a JSP page automatically which has been calculated from the database rows.
    Thanks in advance

    You could convert the vo row to a hash using BeanUtils and then you could do what you want with it programmaticaly to automatically dissplay the lhash values.

  • Need to display dynamic content on portal page

    I have an htmldb application that a client can upload doctor profiles for the web users to lookup and find a doctor within a certain radius. When they click on the doctor's name, it shows a profile of the doctor. I need to be able to display this information directly on the oracle portal instead of iframing it because i need it to be searchable. I created an xml report in htmldb and linked it to the oracle portal with an omniportlet. The test page can be seen at [http://portal2.bynum.com/portal/page/portal/test/xml%20data%20test]
    I need the link on the go to a page in portal and display the information from the database like it does on htmldb. Is it possible to:
    1. Add a drop down box in the omniportlet that allows me to chose all doctors whose last name begins with the letter in the dropdown box.
    2. Point the link to oracle portal, pass the object_id to the page, and display the doctor profile all in the portal instead of iframing from htmldb.

    Ok, i found the solution. I created a page with the parameters that i want passed in order to display the datbase content. the parameters where created in the page properties section for the page. I created id, first_name, and last_name parameters. Then i created a dynamic pl/sql web page with the dynamic html portlet included with oracle and tied those parameters to the queries. Dynamic content is now displayed when the omniportlet links to the page.

  • Applying unique dynamic stamp to every page

    I am trying to add a dynamic stamp to the bottom of every page (over 70,000 pages) that has the name of the file on the stamp, and also is able to apply a number on that stamp.  I am able to get the stamp to apply to every page, but it is not grabbing my filename.  My bigger issue is seeing if it is even possible for adobe to increment the number of the stamp for each page that it applies a stamp to i.e. AA.001, AA.002, AA.003, BB.001, BB.002 etc.
    i am on acrobat X pro

    Batch Stamp add on worked for me!
    Link:
    http://support.idtplans.com/KB/a46/batch-stamp-utility.aspx

  • How to NOT display header details in every page when printed with PLD

    Hi All
    I am printing a report of all related activities of a business partner using PLD.  in the printout the header details of business partner such as name, phone details are printing in every page along with contents.  how to avoid this situation printing the header details in everypage except first page?
    SV Reddy

    Hi,
    Add a formula field to the page header.  The formula field will need to contain the following text on the Content tab.
    CurrentPage()
    Add another formula field, once again add the following to the Content tab
    Field_101=='1'
    in the example above, Field_101 is the field id for the first formula field you added.
    Now all you need to do is link the fields that you only want printed on the 1st page to the 2nd formula field you added.
    Regards,
    Adrian

  • I need to display the date of every month 1st

    Hi All,
    I need to display the date from 01/01/2007 to 09/01/2008.
    example like this
    01/01/2007
    02/01/2007
    03/01/2007
    01/01/2008
    02/01/2008
    09/01/2008
    could u pls help me
    thanks,
    Dharma.

    This should give you something to work with:
    SQL&gt; SELECT ADD_MONTHS(TO_DATE('01/01/2007','MM/DD/YYYY'),LEVEL-1) AS months from dual connect by level &lt;= 21;
    MONTHS
    01/01/2007 00:00:00
    02/01/2007 00:00:00
    03/01/2007 00:00:00
    04/01/2007 00:00:00
    05/01/2007 00:00:00
    06/01/2007 00:00:00
    07/01/2007 00:00:00
    08/01/2007 00:00:00
    09/01/2007 00:00:00
    10/01/2007 00:00:00
    11/01/2007 00:00:00
    12/01/2007 00:00:00
    01/01/2008 00:00:00
    02/01/2008 00:00:00
    03/01/2008 00:00:00
    04/01/2008 00:00:00
    05/01/2008 00:00:00
    06/01/2008 00:00:00
    07/01/2008 00:00:00
    08/01/2008 00:00:00
    09/01/2008 00:00:00
    21 rows selected.Hope this helps!

  • How to pass the userid to a page and have the page display dynamic data specific to user?

    I am developing a web app and can create a user ID log in page.  The app has a login page, view data page, and a post data page.  I want the user to be able to login and view the data unique to them they have posted.  Also from the view data page is a link to a post data page where they can post more data to be viewed.
    I have 2 tables in the database: one for "people" with a column for email.  ID and email are primary key.  The other table is "datapost" with a column name for email.  Id is primary key and email is a foreign key that references the 'person' table.
    After the user logs in they should go to view data and see their data, the page is going to view data, but it is not pulling up their specific data.  Below is the code for the pages:
    Can anyone point me to a resource where I can view some example code?  ( I tried to paste what I had in this messagae but it wouldn't paste and pages are on server yet to view.)  I have read ALMOST ALL of the Adobe tutorials and tech notes but no answer.

    I am using PHP and MySQL.  I'm using sessions.
    PHP from the login page:
    <?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;
    $colname_statuserlogin = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_statuserlogin = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = sprintf("SELECT email, password FROM people WHERE
    email = %s", GetSQLValueString($colname_statuserlogin, "text"));
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $totalRows_statuserlogin = mysql_num_rows($statuserlogin);
    $colname_statuserlogin = "-1";
    if (isset($_SERVER['email'])) {
      $colname_statuserlogin = $_SERVER['email'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = sprintf("SELECT email, password FROM people WHERE
    email = %s", GetSQLValueString($colname_statuserlogin, "text"));
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = "SELECT * FROM datapost";
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $totalRows_statuserlogin = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $totalRows_statuserlogin = $_SESSION['MM_Username'];
    $colname_statuserlogin = "-1";
    if (isset()) {
      $colname_statuserlogin = ;
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = sprintf("SELECT * FROM datapost WHERE email = %s",
    GetSQLValueString($colname_statuserlogin, "text"));
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $query_statuserlogin = "SELECT email, password FROM people";
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $totalRows_statuserlogin = mysql_num_rows($statuserlogin);
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['email'])) {
      $loginUsername=$_POST['email'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "email";
      $MM_redirectLoginSuccess = "statfatviewdata.php";
      $MM_redirectLoginFailed = "statfatuserlogin.php";
      $MM_redirecttoReferrer = true;
      mysql_select_db($database_statprogram, $statprogram);
      $LoginRS__query=sprintf("SELECT email, password, email FROM people WHERE
    email=%s AND password=%s",
      GetSQLValueString($loginUsername, "text"), GetSQLValueString($password,
    "text"));
      $LoginRS = mysql_query($LoginRS__query, $statprogram) or
    die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
        $loginStrGroup  = mysql_result($LoginRS,0,'email');
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;
        if (isset($_SESSION['PrevUrl']) && true) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    PHP from the view data page:
    <?php
    //initialize the session
    if (!isset($_SESSION)) {
      session_start();
    // ** Logout the current user. **
    $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
    if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
      $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
      //to fully log out a visitor we need to clear the session varialbles
      $_SESSION['MM_Username'] = NULL;
      $_SESSION['MM_UserGroup'] = NULL;
      $_SESSION['PrevUrl'] = NULL;
      unset($_SESSION['MM_Username']);
      unset($_SESSION['MM_UserGroup']);
      unset($_SESSION['PrevUrl']);
      $logoutGoTo = "statfatthankyou.php";
      if ($logoutGoTo) {
        header("Location: $logoutGoTo");
        exit;
    ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable
    MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session
    variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain
    users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their
    username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "statfatuserlogin.php";
    if (!((isset($_SESSION['MM_Username'])) &&
    (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'],
    $_SESSION['MM_UserGroup'])))) {
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
      $MM_referrer .= "?" . $QUERY_STRING;
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" .
    urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?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 (!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;
    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_statviewdata = 1;
    $pageNum_statviewdata = 0;
    if (isset($_GET['pageNum_statviewdata'])) {
      $pageNum_statviewdata = $_GET['pageNum_statviewdata'];
    $startRow_statviewdata = $pageNum_statviewdata * $maxRows_statviewdata;
    $colname_statviewdata = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_statviewdata = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statviewdata = sprintf("SELECT * FROM datapost WHERE email = %s",
    GetSQLValueString($colname_statviewdata, "text"));
    $query_limit_statviewdata = sprintf("%s LIMIT %d, %d", $query_statviewdata,
    $startRow_statviewdata, $maxRows_statviewdata);
    $statviewdata = mysql_query($query_limit_statviewdata, $statprogram) or
    die(mysql_error());
    $row_statviewdata = mysql_fetch_assoc($statviewdata);
    if (isset($_GET['totalRows_statviewdata'])) {
      $totalRows_statviewdata = $_GET['totalRows_statviewdata'];
    } else {
      $all_statviewdata = mysql_query($query_statviewdata);
      $totalRows_statviewdata = mysql_num_rows($all_statviewdata);
    $totalPages_statviewdata =
    ceil($totalRows_statviewdata/$maxRows_statviewdata)-1;
    $pageNum_statviewdata = 0;
    if (isset($_GET['pageNum_statviewdata'])) {
      $pageNum_statviewdata = $_GET['pageNum_statviewdata'];
    $startRow_statviewdata = $pageNum_statviewdata * $maxRows_statviewdata;
    $maxRows_statfatstats = 10;
    $pageNum_statfatstats = 0;
    if (isset($_GET['pageNum_statfatstats'])) {
      $pageNum_statfatstats = $_GET['pageNum_statfatstats'];
    $startRow_statfatstats = $pageNum_statfatstats * $maxRows_statfatstats;
    $colname_statfatstats = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_statfatstats = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statfatstats = sprintf("SELECT * FROM datapost WHERE email = %s",
    GetSQLValueString($colname_statfatstats, "text"));
    $query_limit_statfatstats = sprintf("%s LIMIT %d, %d", $query_statfatstats,
    $startRow_statfatstats, $maxRows_statfatstats);
    $statfatstats = mysql_query($query_limit_statfatstats, $statprogram) or
    die(mysql_error());
    $row_statfatstats = mysql_fetch_assoc($statfatstats);
    if (isset($_GET['totalRows_statfatstats'])) {
      $totalRows_statfatstats = $_GET['totalRows_statfatstats'];
    } else {
      $all_statfatstats = mysql_query($query_statfatstats);
      $totalRows_statfatstats = mysql_num_rows($all_statfatstats);
    $totalPages_statfatstats =
    ceil($totalRows_statfatstats/$maxRows_statfatstats)-1;
    $maxRows_stattotallost = 10;
    $pageNum_stattotallost = 0;
    if (isset($_GET['pageNum_stattotallost'])) {
      $pageNum_stattotallost = $_GET['pageNum_stattotallost'];
    $startRow_stattotallost = $pageNum_stattotallost * $maxRows_stattotallost;
    $colname_stattotallost = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_stattotallost = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_stattotallost = sprintf("SELECT totalincheslost, totalwtlost FROM
    datapost WHERE email = %s", GetSQLValueString($colname_stattotallost,
    "text"));
    $query_limit_stattotallost = sprintf("%s LIMIT %d, %d",
    $query_stattotallost, $startRow_stattotallost, $maxRows_stattotallost);
    $stattotallost = mysql_query($query_limit_stattotallost, $statprogram) or
    die(mysql_error());
    $row_stattotallost = mysql_fetch_assoc($stattotallost);
    if (isset($_GET['totalRows_stattotallost'])) {
      $totalRows_stattotallost = $_GET['totalRows_stattotallost'];
    } else {
      $all_stattotallost = mysql_query($query_stattotallost);
      $totalRows_stattotallost = mysql_num_rows($all_stattotallost);
    $totalPages_stattotallost =
    ceil($totalRows_stattotallost/$maxRows_stattotallost)-1;
    $queryString_statfatstats = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_statfatstats") == false &&
            stristr($param, "totalRows_statfatstats") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_statfatstats = "&" . htmlentities(implode("&",
    $newParams));
    $queryString_statfatstats = sprintf("&totalRows_statfatstats=%d%s",
    $totalRows_statfatstats, $queryString_statfatstats);
    ?>
    Thank you!

  • Alternatives to dynamic tables for displaying dynamic data

    What methods are available for displaying data from MySQL
    with PHP on a web page? Is there any alternative to a dynamic table
    when the the quantity of data will vary? anything CSS based?
    Many Thanks

    On 27 May 2006 in macromedia.dreamweaver, Pingus mum wrote:
    > so i could just output to a div for example?
    Or a paragraph, or an <h4>, or an unordered list, or
    any other container
    tag, or the src attribute on an <img> tag, or any
    combination of the
    above. Consider the case where the database consists of press
    releases -
    date, headline, body. You could, say, make the repeat region
    like this:
    <h1>Press Releases</h1>
    <!-- start of repeat region -->
    <h2><& headlineFromDatabase &></h2>
    <p><& dateFromDatabase &> - <&
    bodyFromDatabase &></p>
    <!-- end of repeat region -->
    <address>Contact Information</address>
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Tutorial Dreamweaver Cs5.5 The Missing Manual (Pg 998 - 1018) about adding dynamic data to your page

    Hallo,
    I did Tutorial: Displaying Database Info in the Missing Manual for Dreamweaver CS5.5.
    My problem is with "Editing a Recordset and Linking to a Detail Page" (which starts at pg 1002:
    I did this exercise ,over 5 times nowe, but every time with "Building the Detailed Product Page" at pg 1007, I get a bad result.
    I only get one page (the default one with productID = 1) for every link on the indexpage.
    In the adressbar (Live View) I see the right adress: for example: http://localhost/cos...hp?productID=16, but for all productID's only the detailspage for productID are shown.
    There is also a message: Notice: Use of undefined constant ‘productID’ - assumed '‘productID’' in E:\xampp\htdocs\cosmo_shop\product.php on line 34
    But I don't understand what could be wrong in this line.
    Here is the code lines 33 -48: is is about the second line:
    $varProduct_rsDetails = "32";
    if (isset($_GET[‘productID’])) {
      $varProduct_rsDetails = $_GET[‘productID’];
    mysql_select_db($database_connCosmo, $connCosmo);
    $query_rsDetails = sprintf("SELECT products.productID, products.productName, products.price, products.`description`, products.inventory, products.image, vendors.vendorName FROM products, vendors WHERE products.vendorID = vendors.vendorID AND products.productID = %s ", GetSQLValueString($varProduct_rsDetails, "int"));
    $rsDetails = mysql_query($query_rsDetails, $connCosmo) or die(mysql_error());
    $row_rsDetails = mysql_fetch_assoc($rsDetails);
    $totalRows_rsDetails = mysql_num_rows($rsDetails);
    mysql_select_db($database_connCosmo, $connCosmo);
    $query_rsCategories = "SELECT * FROM categories ORDER BY categoryName ASC";
    $rsCategories = mysql_query($query_rsCategories, $connCosmo) or die(mysql_error());
    $row_rsCategories = mysql_fetch_assoc($rsCategories);
    $totalRows_rsCategories = mysql_num_rows($rsCategories);
    ?>
    Can someone tell me what is going on here?
    Kind regards, Ans Hekerman

    I can manually type in double brackets, like this:
    $varProduct_rsDetails = "1";
    if (isset($_GET["productID"])) {
      $varProduct_rsDetails = $_GET["productID"];
    this is accepted; no syntax-error report.
    I can manually type in single brackets, like this:
    $varProduct_rsDetails = "1";
    if (isset($_GET['productID'])) {
      $varProduct_rsDetails = $_GET['productID'];
    this is also accepted; no syntax-error report.
    Dreamweaver itself made this code:
    $varProduct_rsDetails = "32";
    if (isset($_GET[‘productID’])) {
    $varProduct_rsDetails = $_GET[‘productID’];
    this was not OK; there was a syntax-error report.
    But strange enough, when I do paste this now from here, it is accepted.
    So the problem has been, that DW created code that gave a syntax error.
    I could repair it by replacing the single qoutes of DW, by typing single quotes in DW manually, or by typing in in DW manually double qoutes!!!
    So maybe everybode was right!!!
    But is was a very bad problem; maybe a "bug" of the program?
    I repeated this about 10 times before I got the solution frome this Forum.

Maybe you are looking for