Why is my detail page blank with no data from master page?

Hello,
I created master page that links to detail page - but when I click on the link I see the detail page empty from data.
Do you know why? Thanks!
This is the PHP code I'm using in the detail page:
<?php require_once('../Connections/connection1.php'); ?>
<?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $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;
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "formUpdateSale")) {
  $updateSQL = sprintf("UPDATE neve_sale SET type=%s, area=%s, address=%s, built=%s, lot=%s, BR=%s, floor=%s, floorAll=%s, parking=%s, elevator=%s, price=%s, available=%s, `date`=%s, status=%s, details=%s, myDetails=%s, pic1=%s, pic2=%s, pic3=%s, pic4=%s, pic5=%s WHERE `primary`=%s",
                       GetSQLValueString($_POST['type'], "text"),
                       GetSQLValueString($_POST['area'], "text"),
                       GetSQLValueString($_POST['address'], "text"),
                       GetSQLValueString($_POST['built'], "int"),
                       GetSQLValueString($_POST['lot'], "int"),
                       GetSQLValueString($_POST['BR'], "int"),
                       GetSQLValueString($_POST['floor'], "int"),
                       GetSQLValueString($_POST['floorAll'], "int"),
                       GetSQLValueString($_POST['parking'], "text"),
                       GetSQLValueString($_POST['elevator'], "text"),
                       GetSQLValueString($_POST['price'], "int"),
                       GetSQLValueString($_POST['available'], "text"),
                       GetSQLValueString($_POST['date'], "date"),
                       GetSQLValueString($_POST['status'], "text"),
                       GetSQLValueString($_POST['details'], "text"),
                       GetSQLValueString($_POST['myDetails'], "text"),
                       GetSQLValueString($_POST['pic1'], "text"),
                       GetSQLValueString($_POST['pic2'], "text"),
                       GetSQLValueString($_POST['pic3'], "text"),
                       GetSQLValueString($_POST['pic4'], "text"),
                       GetSQLValueString($_POST['pic5'], "text"),
                       GetSQLValueString($_POST['primary'], "int"));
  mysql_select_db($database_connection1, $connection1);
  $Result1 = mysql_query($updateSQL, $connection1) or die(mysql_error());
  $updateGoTo = "admin-sales1.php";
  if (isset($_SERVER['QUERY_STRING'])) {
    $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
    $updateGoTo .= $_SERVER['QUERY_STRING'];
  header(sprintf("Location: %s", $updateGoTo));
$colname_Recordset1 = "-1";
if (isset($_GET['primary'])) {
  $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['primary'] : addslashes($_GET['primary']);
mysql_select_db($database_connection1, $connection1);
$query_Recordset1 = sprintf("SELECT * FROM neve_sale WHERE `primary` = %s", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $connection1) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>

11) opened iPhoto library package and I now have 'old masters' and 'Masters'
12) several years seem to be missing from these two folders
You got bitten by a nasty bug.
The upgrade of your library got interrupted, and some of your photos are still in the "Old ..." folders.  There is no known fix for this, that can save your iPhoto library. We are still waiting for a bug fix from Apple. What you can do, copy out your original photos, that are still in the "Old Masters" and "Masters", and save these folders.
Then restore your library from your most recent backup and use the saved "Old " folders  to reimport and add the newest photos, that are missing in your backup.
The "years" folders in "Masters" and "Old Masters"  are the years, when the photos have been imported, not necessarily the years when the photos have been taken.

Similar Messages

  • Repeating sub-form with XML data from aspx page

    Hi,<br />I am doing a POC where I have a repeating subform in my Life cycle form.<br /><br />Now I want it to show data based on the XML that I have written, sample is below.<br /><br />My problem is that the sub-form does not repeat. Can you help me with this problem or if you can let me know your experience if this is possible that would be great.<br /><br />Thanks,<br />Manish<br /><br />strXML = "<?xml version='1.0' encoding='UTF-8'?>"; <br />        strXML = strXML + "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"; <br />        strXML = strXML + "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"; <br />        strXML = strXML + "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"; <br />        strXML = strXML + "<xfa:data>"; <br />        strXML = strXML + "<RepeatForm>"; <br />        strXML = strXML + "<emp>name</emp>"; <br />        strXML = strXML + "</RepeatForm>"; <br />        strXML = strXML + "<RepeatForm>"; <br />        strXML = strXML + "<emp>name1</emp>"; <br />        strXML = strXML + "</RepeatForm>"; <br />        strXML = strXML + "</xfa:data>"; <br />        strXML = strXML + "</xfa:datasets>"; <br />        strXML = strXML + "<pdf href='http://servername/projectname/filename.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"; <br /><br />strXML = strXML + "</xdp:xdp>";

    hi this is a sample i created for this check out this link
    http://anilmathewm.blogspot.com/2010/07/how-to-post-data-from-flash-to-php-or.html

  • Referencing a page item with query results from another page

    Hello Gurus,
    Any Idea How to achieve following in APEX.
    Step 1: Page 1, Region A of type SQL report.
    Sql query:
    select employee from emp;Step 2: Page 2, A display item is created on this page, say :P2_X that is intended to source its values from the query/region written in Page1.
    In this example stated above, I need to display :P2_X on PAGE 2 that in receives value from employee column on the query mentioned in step 1.
    Any idea how to achieve this?
    Thank you for reading this post.
    -R

    Hello Rich,
    Edit your SQL Report.
    Under Column Attributes , edit the EMPLOYEE Column.
    Go to LINK Tab.
    In link text : select the first option #EMPLOYEE#
    In Target is - select Page in this application.
    in item type P1_X and in value enter #EMPLOYEE#
    Regards,
    Shijesh

  • Container ID field to list with the data from master in shipment header

    Hi,
    While do the Shipment VT01N, Vehicle number (ZZ05XX1588) is added manually in the field of Container ID in Shipment.
    The requirement is vehicle number should be picked up from the list of possible entries with Vehicle master data. (IE01)
    If is it possible, Please give to me details of the configuration steps and user Exit/other enhancements like BADI/BAPI.
    Please help me in this regards.
    Devendra

    Hi Devendra,
    You may get this functionality in DSD module. In standard LE-TRA its difficult to bring it from IE01.

  • How to update a table (CUSTOMER) on a Report Server with the data from the same table (CUSTOMER) from another server Transaction server?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) From another server ex: Transaction server?
    Set up steps so inset, update or delete operation takes place across the servers.
    It would be great if someone please enlighten me in details about this process in MS SQL Server 2008 R2.
    Also please describe would it be different for SQL Server 2012?
    If so, then what are the steps?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) from another server ex: Transaction server?
    Set up steps so that inset, update or delete operation gets done correctly across servers.
    I was not sure about the answer, it would be great if someone please put some light on this and explain in details about this process in MS SQL Server 2008 R2.
    Also it would be very helpful if you please describe would it be different for SQL Server 2012? If so, then what are the steps?

  • How to make the active save-to-file with the data from GPIB ?

    Hello,,everybody !!
    I want to make the active save-to-file with the data from GPIB since starting the measurement. To save-to-file at the end of measurment is somehow risky for losing the data because my measurment have to take for long time (eg. 24-48 hours).
    Thank you in advance for anybody's help !!

    Thanks Dennis,
    I have already append, I got it but still have one small problem that between each line it has the blank line. Example as below ,
    16:40:33 54.24
    16:40:34 54.23
    16:40:35 54.24
    I want to get rid of the blank line in between.. Do you have the idea about it ?

  • Problems when I copy a text from master page field to body page field

    Hello
    I am developing a electronic form and I have experimented a strange bebehavior.
    When I try to copy a rawvalue of listbox field from master page to textbox field in body page, this works randomly.
    I have this code in the validation of the master page field
    --------------------begin code---------------------
    if (this.rawValue != null && this.rawValue != "")
    if (xfa.form.myform.mysubform.mytextfield.rawValue != this.rawvalue)
    xfa.form.myform.mysubform.mytextfield.rawValue = this.rawValue;
    --------------------end code---------------------
    Somebody know what is wrong?
    I am very confused.
    Thanks a lot for your help.
    Hosting Association
    The low cost quality hosting
    http://www.hostingassociation.biz

    Extra code is one of the pitfalls of using WYSIWYG cutting and pasting,
    and using styling in general.
    So while it may be interesting to try to reduce the amount of code, there
    probably won't be any direct approach without extra steps to get you what
    you want with bare bones code that appears as you want it to or at least acceptable.
    I guess you might have to take a screen image, clip the relevant portion, since
    you can only attach an image file here not a text file.
    Posting a screen shot
    * http://kb.mozillazine.org/Posting_a_screenshot_on_the_forum#Windows

  • Printing Smartform with Table data from PrintProgram

    Hi,
      Can any one explain the steps involved in printing the Smartform with the data from the Print Program table. How to fit table in the Smartform i.e, while designing the Smartforms layout for the table.
    Thanks & Regards

    Hi,
       As  data is coming from the print program in the table. Do the following procedure
    1. In the form interface ---> Declare the internal table as same structure as in the print program. for ex: you r passing MARA table data then declare it as itab type table of mara.
    2. In the window you want to create the table, right click > create> table.
    3. Go to data tab give the internal table name and work area .
    4. Now go to General tab-->Details.
    5. Declare the line types.
    6. Right click on header/main area/footer -->create table line.
    7. Now give the line type which you want to use.
    8. In the displayed columns>right click> create text node.
    9. In the text node &mara-matnr&.
    Procedure to create line type:
    1. Double click on table
    2. Go to table tab --> details
    3. Give the table width (width you want to display on the screen should be less than or equal to the window width).
    4. Line type --> Divide this into no of column you want to have in header/item.
    Note: total length of all columns should be equal to the table width.
    5.save.
    Br,
    Laxmi

  • What to do if my master page is too small for custom master page column, I need to change the papers

    What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *

    My 2nd gen works fine with WPA2 and AES encryption.
    You may need to go back and start over.  Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • Need help in passing data from one page to other page in oaf

    Dear All,
    I have a requirement as below.
    I am doing some selection in one page and populating the data in another page table region, next time when i am selecting another row and pressing the button i need to display the previous row as well as new row, how can i achieve this, currently i am able to see only the first row what i selected first.
    Ex: 1 st scenario: after passing the selected data from one page to base page the data looks like below in base page.
    1 test desc
    2nd scenarios: when i am again selcting data and passing to the base page it should be like that
    1 test desc
    2 test desc
    but currently it is showing
    1 test desc only for the 2nd case, can any one please help me on thsi , its little bit urgent
    Thnaks

    How are you passing the values to the base page? Are you using setting the retainAM parameter to true while doing a forward.

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • Why can't apple user share or take data from Andriod?

    1.why can't apple user share or take data from Andriod?

    I was able to easily move all my data from my Android phone to my iPhone when I switched. But, that could be, because, instead of complaining, I actually asked questions that made sense, listened to the answers, did some reading and figured it out.

  • Why can I no longer scroll with the mouse when using Pages?

    A few days ago, I realized that I am unable to scroll within a Pages document with the mouse.  The scroll bar is not there.  The scroll feature works fine, and after trying to figure this out myself with no success, I thought I'd ask here.  I have Pages '09 and I'm using OS X 10.9.5.

    Thanks.  That's not the problem.  Scrolling works in everything else except Pages.  I used to be able to scroll just by using my finger up or down on the mouse.  Now, I can't do that.  I tried setting the scroll bars to "Always", but then I have to physically click on the scroll bar and move it up and down.  Not like it's that much hassle, lol, but I got used to just scrolling with my finger on the mouse.

Maybe you are looking for

  • White Line Under Images

    Hello, I'm creating a mobile site using Dreamweaver and for some reason any image I place in my document has a white line under it.  I already have my IMG tag set to border: 0 so I have no idea why it's happening.  I have even tried removing all css

  • I am having problems installing Photoshop CS6

    I am trying to download the Photoshop CS6 trial verison, but it tells me there is a error when I try downloading it after installing it. It says "Your installation encounted errors", "A conflicting or prerelease verison of Photoshop CS6 has to be rem

  • Color Quantization by Distinctiveness

    If I do a save for web & devices, I can quantize the colors. The problem that I am having is the Photoshop appears to be quantizing by frequency rather than by distinctiveness. The result is a color table with a lot of similar colors. Colors that are

  • Hotsync problem with desktop 6.2.2

    With regard to Palm Desktop version 6.2.2 (the version written for Vista) the sixth and seventh telephone number contact fields do NOT sync from the handheld unit to the desktop.  (Although it works OK the other way around.)  This is an admitted bug

  • Instantiation of generic type

    Hi. I have an issue with instantiating of generic type. My issue is similar to this Re: creating instance of generic type post. So I have the following class public class VehicleForm<V extends Vehicle>{ private V vehicle; private Double price; privat