Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default php blank page

    Hi All, Could someone please tell me what's gone wrong. I have php site which
    I'm hosting locally on my machine. I have one form, when submitted goes to
    another php page. On this other php page all I have is a logo and a recordset.
    The page comes up blank. If I delete the recordset the page appears with the
    logo. I've been creating recordsets for a longtime now and I know it's not a
    problem with that. Any help would be appreciated. Cheers

    greekchild Guest

  2. Similar Questions and Discussions

    1. Edit page shows blank page!
      We have a serious problem with Contribute 3: We browse to the page we wish to edit, and then click 'Edit'. Contribute fetches the templates etc;...
    2. Edit page returns a blank draft page
      The connection to my website is validated. I can see the home page as expected. But when I go to "Edit page" online, it comes back with a blank...
    3. PHP PAGE SHOWING BLANK PAGE
      Hi ppl, Am having trouble with Dreamweaver/PHP. I have Sokkit v3.5 (Formerly known as PHPTriad) With Apache/2.0.49 (Win32) PHP/4.3.6 and MySQL...
    4. 1 page (of 220) exports as a blank pdf page
      I am bewildered. I export every page, chapter by chapter. But page number 9 always comes out as a blank white page in the pdf file. Has anybody got...
    5. Link target to blank page and sizing new page
      SimpleQ wrote: :: Hello, :: :: I'm linking a simple thumbnail to open a larger image in a new :: brower page. I'm trying to size the border of...
  3. #2

    Default Re: php blank page

    On 04 Mar 2005 in macromedia.dreamweaver.appdev, greekchild wrote:
    > Hi All, Could someone please tell me what's gone wrong. I have php
    > site which I'm hosting locally on my machine. I have one form, when
    > submitted goes to another php page. On this other php page all I
    > have is a logo and a recordset.
    > The page comes up blank. If I delete the recordset the page appears
    > with the logo. I've been creating recordsets for a longtime now and
    > I know it's not a problem with that. Any help would be appreciated.
    A blank PHP page generally indicates some small dumb item - look for a
    line without a terminal semicolon ";", or mismatched delimiters {}[]() in
    the PHP code.

    --
    Joe Makowiec
    [url]http://makowiec.net/[/url]
    Email: [url]http://makowiec.net/email.php[/url]
    Joe Makowiec Guest

  4. #3

    Default Re: php blank page

    Hi Joe, I've had a look and I really am stumped. I have attached the code, It's
    literally just a logo and the recordset so it's small. Thanks for help on this.


    <?php require_once('Connections/myconnection.php'); ?>
    <?php
    $MMColParam_Recordset1 = "0";
    if (isset(request.querystring("txtsearch"))) {
    $MMColParam_Recordset1 = (get_magic_quotes_gpc()) ?
    request.querystring("txtsearch") : addslashes(request.querystring("txtsearch"));
    }
    mysql_select_db($database_myconnection, $myconnection);
    $query_Recordset1 = sprintf("SELECT * FROM user WHERE mobile = '%s'",
    $MMColParam_Recordset1);
    $Recordset1 = mysql_query($query_Recordset1, $myconnection) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    .style5 {font-family: Tahoma; font-weight: bold; font-size: smaller; }
    .style6 {
    font-family: Tahoma;
    font-size: smaller;
    }
    -->
    </style>
    </head>

    <body>
    <p><img src="logo.JPG" width="194" height="126"></p>
    <p>&nbsp;</p>

    <p>&nbsp; </p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

    greekchild Guest

  5. #4

    Default Re: php blank page

    On 04 Mar 2005 in macromedia.dreamweaver.appdev, greekchild wrote:
    > Hi Joe, I've had a look and I really am stumped. I have attached the
    > code, It's literally just a logo and the recordset so it's small.
    I don't see anything jumping out at me in your code. Is your Connections
    folder 'uploaded' to someplace which is visible to the server?

    --
    Joe Makowiec
    [url]http://makowiec.net/[/url]
    Email: [url]http://makowiec.net/email.php[/url]
    Joe Makowiec Guest

  6. #5

    Default Re: php blank page

    $MMColParam_Recordset1 = '0'; if (isset(request.querystring('txtsearch'))) {
    $MMColParam_Recordset1 = (get_magic_quotes_gpc()) ?
    request.querystring('txtsearch') :
    addslashes(request.querystring('txtsearch')); } This has nothing to do with
    PHP, it seems you copied and pasted it from the ASP version. Felix
    [email]webmaster@felixone.it[/email] [url]www.felixone.it[/url]

    Felix1 Guest

  7. #6

    Default Re: php blank page

    well i made a bloggar and i used the name Greekchild to name it
    that seems that messed up the situation
    ellhn Guest

  8. #7

    Default Re: php blank page

    well i made a bloggar and i used the name Greekchild to name it
    that seems that messed up the situation but the site is name childfromgreece
    ellhn Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139