Warning: mysql_fetch_assoc()

Hi,
I have been trying to create a forum using the online Adobe
Tutorial . Following is the link :
http://www.adobe.com/devnet/dreamweaver/articles/forum_pt3_03.html"
My Specifications are:
Windows Xp
Apache
MySql
Php
I have followed every set of instructions specified by the
developers who have posted the tutorial, but still posting a
message in the forum does not work. I have used the wizard as per
specified by them and its after that i get 2 warning messages :
Warning: mysql_fetch_assoc(): supplied argument is not a
valid MySQL result resource in H:\Program
Files\xampp\htdocs\M3forum\post_message.php on line 48
Warning: mysql_num_rows(): supplied argument is not a valid
MySQL result resource in H:\Program
Files\xampp\htdocs\M3forum\post_message.php on line 49
Im really confused, the above specified warnings are
displayed on the form called postmessages.php page.
After i post data on the form just to try out if it works, i
get another Fatal error:
Fatal error: Call to a member function Execute() on a
non-object in H:\Program
Files\xampp\htdocs\M3forum\includes\tng\tNG.class.php on line 396
Do help me regarding this as quick as possible.
Thanks

On Sun, 26 Nov 2006 17:23:25 +0000 (UTC), "Flashvivek"
<[email protected]> wrote:
> $rsmessage_msg = $tNGs->getRecordset("message_msg");
Is this tutorial by Interakt?
What include or require files are in the code at the top of
the page?
Steve
steve at flyingtigerwebdesign dot com

Similar Messages

  • Warning: mysql_fetch_assoc(): showing in PHP 5.2 but not 4

    I am building a site that was on 1&1 and it was set on PHP4 but now i have moved the cart integration and needed to move it up aand am now running php 5.2 but an error has now come up within the content of and image that is has a Tom Muck repeat region in it
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in/homepages/6/d132436789/htdocs/beta/product-list.php on line 169
            <?php
    $None_endRow = 0;
    } while ($row_None = mysql_fetch_assoc($None));
    if($None_endRow != 0) {
    while ($None_endRow < $None_columns) {
        echo("<td> </td>");
        $None_endRow++;
    echo("</tr>");
    }?>
    the error line being
    if($None_endRow != 0) {
    the page still functions but how do i clear this error?
    thanks in advance

    The problem lies here:
    mysql_free_result($storeresults);
    ?>
    <table border="0">
      <tr>
        <td>str_id</td>
        <td>str_name</td>
        <td>sale_begin</td>
        <td>sale_end</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_storeresults['str_id']; ?></td>
          <td><?php echo $row_storeresults['str_name']; ?></td>
          <td><?php echo $row_storeresults['sale_begin']; ?></td>
          <td><?php echo $row_storeresults['sale_end']; ?></td>
        </tr>
        <?php } while ($row_storeresults = mysql_fetch_assoc($storeresults)); ?>
    </table>
    mysql_free_result() is destroying the recordset resource before the repeat region.
    If you delete mysql_free_result($storeresults); it should work.
    Dreamweaver always puts mysql_free_result() below the closing </html> tag, so it looks as though you have accidentally moved it. When working with server behaviors, it's important to remove them cleanly by clicking the minus button in the Server Behaviors panel. Otherwise, you can be left with stray bits of code that cause problems like this.

  • Mysql_fetch_assoc()

    I created a db and added content to it. Now I want to get it
    out. I created a recordset for a simple search for houses buy
    state.
    It works fine in the test, but when I add the dynamic table I
    get this on the page
    Warning: mysql_fetch_assoc(): supplied argument is not a
    valid MySQL result resource in C:\wamp\www\offers4house\results.php
    on line 12
    I have followed every help page and still cant figure it out.
    Line 12 is the next to last line of this code for the dynamic table
    <table border="1" cellpadding="1" cellspacing="1">
    <tr>
    <td>state</td>
    </tr>
    <?php do { ?>
    <tr>
    <td><?php echo $row_Recordset1['state'];
    ?></td>
    </tr>
    <?php } while ($row_Recordset1 =
    mysql_fetch_assoc($Recordset1)); ?>
    </table>
    I can include the rest of the dreamweaver php for the
    recordset and query if needed.
    Please Please Please! Help
    Michael

    Hey,
    1. What version of PHP are you using to test your pages?
    2. How are you defining your recordsets? Are you using the
    simple or advanced mode of the recordset dialog box?
    If you are manually specifying the runtime value of the
    search filter/s that you are using, make sure that they are
    correct.

  • Dw8+PHP5+MySQL5 problem

    Hi!
    My WEB server was upgraded to Apache/2.0.59 (NETWARE)
    PHP/5.2.6 mod_jk/1.2.15 with Mysql 5.0.67,
    Now, trying to run simple PHP script with query to a MySQL
    table, the server log the following errors:
    PHP Warning: PHP Startup: Unable to load dynamic library
    'sys:/php5/ext/php_xsl.nlm' - (dlfcn) Load failure including
    unresolved symbol in Unknown on line 0
    [18-Sep-2008 12:39:13] PHP Warning: mysql_fetch_assoc():
    supplied argument is not a valid MySQL result resource in
    Applic:/HTDocs/Untitled-1.php on line 13
    I'm using DreamWeaver 8.02.
    Someone told me that I need to disable the possibility to
    load dynamically the PHP_XSL.
    How can I do it?
    Any other opinion?
    Please help
    TIA
    Nanu

    Hi!
    I solved the problem with the non-loaded "PHP_XLS" module.
    Now when runing the PHP script the error.log of PHP script
    says:
    PHP Warning: mysql_fetch_assoc(): supplied argument is not a
    valid MySQL result resource in Applic:/HTDocs/test.php on line 13
    The script is:
    <table border="1">
    <tr>
    <td>s1</td>
    <td>s2</td>
    <td>s3</td>
    </tr>
    <?php do { ?>
    <tr>
    <td><?php echo $row_test['s1']; ?></td>
    <td><?php echo $row_test['s2']; ?></td>
    <td><?php echo $row_test['s3']; ?></td>
    </tr>
    <?php } while ($row_test = mysql_fetch_assoc($test));
    ?>
    </table>
    <?php virtual('/Connections/test.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType,
    $theDefinedValue = "", $theNotDefinedValue = "")
    $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_test = 10;
    $pageNum_test = 0;
    if (isset($_GET['pageNum_test'])) {
    $pageNum_test = $_GET['pageNum_test'];
    $startRow_test = $pageNum_test * $maxRows_test;
    mysql_select_db($database_test, $test);
    $query_test = "SELECT * FROM test1";
    $query_limit_test = sprintf("%s LIMIT %d, %d", $query_test,
    $startRow_test, $maxRows_test);
    $test = mysql_query($query_limit_test, $test) or
    die(mysql_error());
    $row_test = mysql_fetch_assoc($test);
    if (isset($_GET['totalRows_test'])) {
    $totalRows_test = $_GET['totalRows_test'];
    } else {
    $all_test = mysql_query($query_test);
    $totalRows_test = mysql_num_rows($all_test);
    $totalPages_test = ceil($totalRows_test/$maxRows_test)-1;
    mysql_free_result($test);
    ?>
    Did I forget anything?
    TIA
    Nanu

  • Recordset sort

    I have a recordset (responders) that I would like to sort in
    the following manner:
    SELECT *
    FROM responders
    ORDER BY responders.COUNTRY, responders.`STATE`,
    responders.CITY
    After is construct the recordset, I test it and get good
    results (clean).
    When I run a test us the the sorted recordset in a program I
    get the following result:
    Warning: mysql_fetch_assoc(): supplied argument is not a
    valid MySQL result resource in
    /home/content/m/i/l/miltonembs/html/quik_classes/responder_master_unanswered.php
    on
    line 112
    I would appreciate any help that I can get.
    Milt

    Thank you for your response.
    I did notice the same thing and I reviewed the code generated
    in the Dreamweaver program and found the references to 'STATE'. I
    removed the '' from the code generated in the program and reran the
    program and found that I received the same error. In addition, I
    rewrote the entire line of code in the Recordset dialog box and it
    also tested fine ( the table was reproduced in the proper order)
    but the error message again reappeared when I OK'ed the recordset
    dialog box and tested the updated program.
    The problem has to be somewhere in the Dreamweaver code that
    converts the recordset dialog input and places it into the program.
    I am not a strong MySQL programmer either but I suspect that is not
    where the problem is located. I have updated to 8.0.2 and I have
    reviewed all of the known problems but I haven't run across
    anything like this. It would seem that there would be an uproar
    over this problem because I can't conceive of any one writing a
    program that doesn't sort records by more than one field.
    Thanks again for your kind effort.

  • Php connect to dataBase

    ii have being getting erroe messages .. and everything seems
    to ok .. i dont know what the problem is ...this is the error
    {Warning: mysql_fetch_assoc(): supplied argument is not a valid
    MySQL result resource in G:\wamp\www\testApps\dataPage.php on line
    13}

    scriptEater wrote:
    > $sql = "SELECT * FROM friends;";
    Remove the semicolon at the end of the SQL query. You need
    the semicolon
    only if you're submitting the query in the MySQL Monitor. It
    should be:
    $sql = "SELECT * FROM friends";
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Help with message please:  Warning: mysql_free_result() expects parameter 1 to be resource, null given in...... line

    I would really appreciate some help with my search & results page that is now throwing up the following error:
    Warning: mysql_free_result() expects parameter 1 to be resource, null given in...... line (the line number refers to the following code:
    mysql_free_result($RSsearchforsale);
    mysql_free_result($RsSearchForSale2);
    mysql_free_result($RsSearchForSale3);
    mysql_free_result($RsSearchForSale4);
    I am new to php and am setting up a dynamic site in Dreamweaver (thanks to the Missing Manual – very helpful). I apologise in advanced for my lengthy description of the problem (perhaps get yourself a drink before continuing!)
    I have a Search page with 4 list menus where the user can select an option from ANY or ALL of the menus, if a menu is not selected the value posted to the results page will be 'zzz'.
    On the results page I have 4 recordsets, all getting the correct results, only one recordset is required to run depending on how many of the menus from the search page have been selected and a test is run before executing the sql using a SWITCH statement checking how many of the menus had passed the 'zzz' values from the Search page if you see what I mean. The results page  has Repeating Regions, Recordset Paging and Display Record Count. The exact result that I require are generated by this method.
    THE PROBLEM, when a user makes a selection the first page of 10 results is fine, but the error message above is shown at the bottom of the page, AND when the user clicks NEXT to go to the next page of results THERE ARE NO RESULTS.
    This is exactly what happens depending on how many menus selected and which recordset is used:
    4 menus selected from Search: runs RSsearchforsale, results correct but 3 error messages on 1st page relating to mysql_free_result($RsSearchForSale2),mysql_free_result($RsSearchForSale3), & mysql_free_result($RsSearchForSale4). The display record count shows correct results found. NEXT page is empty of results and still shows the correct display record count as if it should be displaying the records, also has the same 3 error messages.
    3 menus selected from Search:  runs RsSearchForSale2, results correct but 3 error messages on 1st page relating to mysql_free_result($RSsearchforsale),mysql_free_result($RsSearchForSale3), & mysql_free_result($RsSearchForSale4). The display record count shows correct number of results. NEXT page shows results from the  DEFAULT setting of the recordset and the Display record count reflects this new set of results. Also still shows the 3 mysql_free_results for RsSearchForSale2, 3 and 4.
    2 menus selected from Search: runs   RsSearchForSale3, results correct but 2 error messages on 1st page relating to  mysql_free_result($RSsearchforsale) & mysql_free_result (RsSearchForSale4). The display record count is correct. NEXT page does exactly the same as described in above 3 menus selected.
    1 menu selected from search: runs RsSearchForSale4, results correct but 1 error meaasge on 1st page, mysql_free_result($RSsearchforsale). Display record count is correct and again when NEXT page is selected does as described in above where 2 or 3 menus selected.
    If you have gotten this far without falling asleep then thank you and well done! I have pasted my code below and I know its a lot to ask but please please can you give me an idea as to where or why I have gone wrong. I felt I was so close at perfecting this search and have been working on it for weeks now. I feel sure the problem is because I have 4 recordsets on the page but I could find no other way to get the exact results I wanted from the menus.
    Looking forward to any help.
    <?php require_once('Connections/propertypages.php'); ?>
    <?php if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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_RSsearchforsale = 10;
    $pageNum_RSsearchforsale = 0;
    if (isset($_GET['pageNum_RSsearchforsale'])) {
      $pageNum_RSsearchforsale = $_GET['pageNum_RSsearchforsale'];
    $startRow_RSsearchforsale = $pageNum_RSsearchforsale * $maxRows_RSsearchforsale;
    $varloc_RSsearchforsale = "mpl";
    if (isset($_POST['location'])) {
      $varloc_RSsearchforsale = $_POST['location'];
    $vartype_RSsearchforsale = "vil";
    if (isset($_POST['type'])) {
      $vartype_RSsearchforsale = $_POST['type'];
    $varprice_RSsearchforsale = "pr9";
    if (isset($_POST['price'])) {
      $varprice_RSsearchforsale = $_POST['price'];
    $varbed_RSsearchforsale = "b5";
    if (isset($_POST['beds'])) {
      $varbed_RSsearchforsale = $_POST['beds'];
    switch (true) {
    case ($varloc_RSsearchforsale != 'zzz' && $vartype_RSsearchforsale != 'zzz' && $varprice_RSsearchforsale != 'zzz' && $varbed_RSsearchforsale != 'zzz'):
    mysql_select_db($database_propertypages, $propertypages);
    $query_RSsearchforsale = sprintf("SELECT DISTINCT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number` FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid WHERE location=%s AND price=%s AND type=%s AND beds=%s ORDER BY detailstable.trueprice ASC", GetSQLValueString($varloc_RSsearchforsale, "text"),GetSQLValueString($varprice_RSsearchforsale, "text"),GetSQLValueString($vartype_RSsearchforsale, "text"),GetSQLValueString($varbed_RSsearchforsale, "text"));
    $query_limit_RSsearchforsale = sprintf("%s LIMIT %d, %d", $query_RSsearchforsale, $startRow_RSsearchforsale, $maxRows_RSsearchforsale);
    $RSsearchforsale = mysql_query($query_limit_RSsearchforsale, $propertypages) or die(mysql_error());
    $row_RSsearchforsale = mysql_fetch_assoc($RSsearchforsale);
    if (isset($_GET['totalRows_RSsearchforsale'])) {
      $totalRows_RSsearchforsale = $_GET['totalRows_RSsearchforsale'];
    } else {
      $all_RSsearchforsale = mysql_query($query_RSsearchforsale);
      $totalRows_RSsearchforsale = mysql_num_rows($all_RSsearchforsale);
    $totalPages_RSsearchforsale = ceil($totalRows_RSsearchforsale/$maxRows_RSsearchforsale)-1;
    $queryString_RSsearchforsale = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_RSsearchforsale") == false &&
            stristr($param, "totalRows_RSsearchforsale") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_RSsearchforsale = "&" . htmlentities(implode("&", $newParams));
    $queryString_RSsearchforsale = sprintf("&totalRows_RSsearchforsale=%d%s", $totalRows_RSsearchforsale, $queryString_RSsearchforsale); } ?>
    <?php require_once('Connections/propertypages.php'); ?>
    <?php if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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_RsSearchForSale2 = 10;
    $pageNum_RsSearchForSale2 = 0;
    if (isset($_GET['pageNum_RsSearchForSale2'])) {
      $pageNum_RsSearchForSale2 = $_GET['pageNum_RsSearchForSale2'];
    $startRow_RsSearchForSale2 = $pageNum_RsSearchForSale2 * $maxRows_RsSearchForSale2;
    $varloc2_RsSearchForSale2 = "mpl";
    if (isset($_POST['location'])) {
      $varloc2_RsSearchForSale2 = $_POST['location'];
    $varprice2_RsSearchForSale2 = "p9";
    if (isset($_POST['price'])) {
      $varprice2_RsSearchForSale2 = $_POST['price'];
    $vartype2_RsSearchForSale2 = "vil";
    if (isset($_POST['type'])) {
      $vartype2_RsSearchForSale2 = $_POST['type'];
    $varbed2_RsSearchForSale2 = "b5";
    if (isset($_POST['beds'])) {
      $varbed2_RsSearchForSale2 = $_POST['beds'];
    switch (true) {
    case ($varloc2_RsSearchForSale2 == 'zzz'):
    case ($varprice2_RsSearchForSale2 == 'zzz'):
    case ($vartype2_RsSearchForSale2 == 'zzz'):
    case ($varbed2_RsSearchForSale2 == 'zzz'):
    mysql_select_db($database_propertypages, $propertypages);
    $query_RsSearchForSale2 = sprintf("SELECT DISTINCT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number` FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid WHERE (location=%s AND price=%s AND type=%s) OR (location=%s AND price=%s AND beds=%s) OR (location=%s AND type=%s AND beds=%s) OR (price=%s AND type=%s AND beds=%s) ORDER BY detailstable.trueprice ASC", GetSQLValueString($varloc2_RsSearchForSale2, "text"),GetSQLValueString($varprice2_RsSearchForSale2, "text"),GetSQLValueString($vartype2_RsSearchForSale2, "text"),GetSQLValueString($varloc2_RsSearchForSale2, "text"),GetSQLValueString($varprice2_RsSearchForSale2, "text"),GetSQLValueString($varbed2_RsSearchForSale2, "text"),GetSQLValueString($varloc2_RsSearchForSale2, "text"),GetSQLValueString($vartype2_RsSearchForSale2, "text"),GetSQLValueString($varbed2_RsSearchForSale2, "text"),GetSQLValueString($varprice2_RsSearchForSale2, "text"),GetSQLValueString($vartype2_RsSearchForSale2, "text"),GetSQLValueString($varbed2_RsSearchForSale2, "text"));
    $query_limit_RsSearchForSale2 = sprintf("%s LIMIT %d, %d", $query_RsSearchForSale2, $startRow_RsSearchForSale2, $maxRows_RsSearchForSale2);
    $RsSearchForSale2 = mysql_query($query_limit_RsSearchForSale2, $propertypages) or die(mysql_error());
    $row_RsSearchForSale2 = mysql_fetch_assoc($RsSearchForSale2);
    if (isset($_GET['totalRows_RsSearchForSale2'])) {
      $totalRows_RsSearchForSale2 = $_GET['totalRows_RsSearchForSale2'];
    } else {
      $all_RsSearchForSale2 = mysql_query($query_RsSearchForSale2);
      $totalRows_RsSearchForSale2 = mysql_num_rows($all_RsSearchForSale2);
    $totalPages_RsSearchForSale2 = ceil($totalRows_RsSearchForSale2/$maxRows_RsSearchForSale2)-1;
    $queryString_RsSearchForSale2 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_RsSearchForSale2") == false &&
            stristr($param, "totalRows_RsSearchForSale2") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_RsSearchForSale2 = "&" . htmlentities(implode("&", $newParams));
    $queryString_RsSearchForSale2 = sprintf("&totalRows_RsSearchForSale2=%d%s", $totalRows_RsSearchForSale2, $queryString_RsSearchForSale2);
    }?>
    <?php require_once('Connections/propertypages.php'); ?>
    <?php if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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_RsSearchForSale3 = 10;
    $pageNum_RsSearchForSale3 = 0;
    if (isset($_GET['pageNum_RsSearchForSale3'])) {
      $pageNum_RsSearchForSale3 = $_GET['pageNum_RsSearchForSale3'];
    $startRow_RsSearchForSale3 = $pageNum_RsSearchForSale3 * $maxRows_RsSearchForSale3;
    $varloc3_RsSearchForSale3 = "mpl";
    if (isset($_POST['location'])) {
      $varloc3_RsSearchForSale3 = $_POST['location'];
    $varprice3_RsSearchForSale3 = "p9";
    if (isset($_POST['price'])) {
      $varprice3_RsSearchForSale3 = $_POST['price'];
    $vartype3_RsSearchForSale3 = "vil";
    if (isset($_POST['type'])) {
      $vartype3_RsSearchForSale3 = $_POST['type'];
    $varbed3_RsSearchForSale3 = "b5";
    if (isset($_POST['beds'])) {
      $varbed3_RsSearchForSale3 = $_POST['beds'];
    switch (true) {
    case ($varloc3_RsSearchForSale3 == 'zzz' && $varprice3_RsSearchForSale3 == 'zzz'):
    case ($varprice3_RsSearchForSale3 == 'zzz' && $vartype3_RsSearchForSale3 == 'zzz'):
    case ($vartype3_RsSearchForSale3 == 'zzz' && $varbed3_RsSearchForSale3 == 'zzz' ):
    case ($varbed3_RsSearchForSale3 == 'zzz' && $varloc3_RsSearchForSale3 == 'zzz'):
    case ($varloc3_RsSearchForSale3 == 'zzz' && $vartype3_RsSearchForSale3 == 'zzz'):
    case ($varprice3_RsSearchForSale3 == 'zzz' && $varbed3_RsSearchForSale3 == 'zzz'):
    mysql_select_db($database_propertypages, $propertypages);
    $query_RsSearchForSale3 = sprintf("SELECT DISTINCT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number` FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid WHERE (location=%s AND price=%s) OR (location=%s AND  type=%s) OR (location=%s AND beds=%s) OR ( type=%s AND beds=%s) OR (price=%s AND type=%s) OR (price=%s AND beds=%s) ORDER BY detailstable.trueprice ASC", GetSQLValueString($varloc3_RsSearchForSale3, "text"),GetSQLValueString($varprice3_RsSearchForSale3, "text"),GetSQLValueString($varloc3_RsSearchForSale3, "text"),GetSQLValueString($vartype3_RsSearchForSale3, "text"),GetSQLValueString($varloc3_RsSearchForSale3, "text"),GetSQLValueString($varbed3_RsSearchForSale3, "text"),GetSQLValueString($vartype3_RsSearchForSale3, "text"),GetSQLValueString($varbed3_RsSearchForSale3, "text"),GetSQLValueString($varprice3_RsSearchForSale3, "text"),GetSQLValueString($vartype3_RsSearchForSale3, "text"),GetSQLValueString($varprice3_RsSearchForSale3, "text"),GetSQLValueString($varbed3_RsSearchForSale3, "text"));
    $query_limit_RsSearchForSale3 = sprintf("%s LIMIT %d, %d", $query_RsSearchForSale3, $startRow_RsSearchForSale3, $maxRows_RsSearchForSale3);
    $RsSearchForSale3 = mysql_query($query_limit_RsSearchForSale3, $propertypages) or die(mysql_error());
    $row_RsSearchForSale3 = mysql_fetch_assoc($RsSearchForSale3);
    if (isset($_GET['totalRows_RsSearchForSale3'])) {
      $totalRows_RsSearchForSale3 = $_GET['totalRows_RsSearchForSale3'];
    } else {
      $all_RsSearchForSale3 = mysql_query($query_RsSearchForSale3);
      $totalRows_RsSearchForSale3 = mysql_num_rows($all_RsSearchForSale3);
    $totalPages_RsSearchForSale3 = ceil($totalRows_RsSearchForSale3/$maxRows_RsSearchForSale3)-1;
    $queryString_RsSearchForSale3 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_RsSearchForSale3") == false &&
            stristr($param, "totalRows_RsSearchForSale3") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_RsSearchForSale3 = "&" . htmlentities(implode("&", $newParams));
    $queryString_RsSearchForSale3 = sprintf("&totalRows_RsSearchForSale3=%d%s", $totalRows_RsSearchForSale3, $queryString_RsSearchForSale3);
    } ?>
    <?php require_once('Connections/propertypages.php'); ?>
    <?php if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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_RsSearchForSale4 = 10;
    $pageNum_RsSearchForSale4 = 0;
    if (isset($_GET['pageNum_RsSearchForSale4'])) {
      $pageNum_RsSearchForSale4 = $_GET['pageNum_RsSearchForSale4'];
    $startRow_RsSearchForSale4 = $pageNum_RsSearchForSale4 * $maxRows_RsSearchForSale4;
    $varloc4_RsSearchForSale4 = "mpl";
    if (isset($_POST['location'])) {
      $varloc4_RsSearchForSale4 = $_POST['location'];
    $vartype4_RsSearchForSale4 = "vil";
    if (isset($_POST['type'])) {
      $vartype4_RsSearchForSale4 = $_POST['type'];
    $varprice4_RsSearchForSale4 = "p9";
    if (isset($_POST['price'])) {
      $varprice4_RsSearchForSale4 = $_POST['price'];
    $varbed4_RsSearchForSale4 = "b5";
    if (isset($_POST['beds'])) {
      $varbed4_RsSearchForSale4 = $_POST['beds'];
    switch (true) {
    case ($varloc4_RsSearchForSale4 == 'zzz' && $vartype4_RsSearchForSale4 =='zzz' && $varprice4_RsSearchForSale4 == 'zzz'):
    case ($varloc4_RsSearchForSale4 == 'zzz' && $varprice4_RsSearchForSale4 =='zzz' && $varbed4_RsSearchForSale4 == 'zzz'):
    case ($varloc4_RsSearchForSale4 == 'zzz' && $varbed4_RsSearchForSale4 =='zzz' && $vartype4_RsSearchForSale4 == 'zzz'):
    case ($varbed4_RsSearchForSale4 == 'zzz' && $vartype4_RsSearchForSale4 =='zzz' && $varprice4_RsSearchForSale4 == 'zzz'):
    mysql_select_db($database_propertypages, $propertypages);
    $query_RsSearchForSale4 = sprintf("SELECT DISTINCT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number` FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid WHERE location=%s OR price=%s OR type=%s OR beds=%s ORDER BY detailstable.trueprice ASC", GetSQLValueString($varloc4_RsSearchForSale4, "text"),GetSQLValueString($varprice4_RsSearchForSale4, "text"),GetSQLValueString($vartype4_RsSearchForSale4, "text"),GetSQLValueString($varbed4_RsSearchForSale4, "text"));
    $query_limit_RsSearchForSale4 = sprintf("%s LIMIT %d, %d", $query_RsSearchForSale4, $startRow_RsSearchForSale4, $maxRows_RsSearchForSale4);
    $RsSearchForSale4 = mysql_query($query_limit_RsSearchForSale4, $propertypages) or die(mysql_error());
    $row_RsSearchForSale4 = mysql_fetch_assoc($RsSearchForSale4);
    if (isset($_GET['totalRows_RsSearchForSale4'])) {
      $totalRows_RsSearchForSale4 = $_GET['totalRows_RsSearchForSale4'];
    } else {
      $all_RsSearchForSale4 = mysql_query($query_RsSearchForSale4);
      $totalRows_RsSearchForSale4 = mysql_num_rows($all_RsSearchForSale4);
    $totalPages_RsSearchForSale4 = ceil($totalRows_RsSearchForSale4/$maxRows_RsSearchForSale4)-1;
    $queryString_RsSearchForSale4 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_RsSearchForSale4") == false &&
            stristr($param, "totalRows_RsSearchForSale4") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_RsSearchForSale4 = "&" . htmlentities(implode("&", $newParams));
    $queryString_RsSearchForSale4 = sprintf("&totalRows_RsSearchForSale4=%d%s", $totalRows_RsSearchForSale4, $queryString_RsSearchForSale4);
    }?>

    Hi David,
    Thank you for your reply and patience, we are getting closer in spite of me!
    Of course i needed to change the name of the recordset, i did that the first time i did it (when i got the error), the when i re did it i forgot, in my defense i was also trying to get a full understanding of the code using the W3Schools php reference and writing by the side of the code on a piece of paper what it meant in English.
    Anyway after re doing the code correctly it still displayed all the records of my database but i realised that was because i was POSTING from the search form and when i changed it to the GET method I now get results when all 4  list menus are selected from and the paging works. After reading about the POST / GET method i chose the POST option, is the GET method a better option in my circumstance?
    On my site now if the user selects from 1,2 or 3 of the menus rather than selecting the relevant records it displays the NO RESULT page, I would like my users to be able to select from all of the menus or ANY combination of the menus and find exact results for their search, for example if they only select a location and a price i want it display all records that match that location and price with any number of bedrooms and any Type of property: Perhaps this is due to how my list menus are set up, for each menu the first Item label is Location (or Beds or Type or Price) and the value i have left blank which i believe means that it will use the item label as the value, the second Item label for all menus is Any and again the value has been left blank. All other item labels have values relevant to database records.  
    I do look forward to your reply and cannot thank you enough for following this through with me, please continue to bare with me just a little more,
    best regards
    Tessimon
    Date: Wed, 11 Nov 2009 06:56:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help with message please:  Warning: mysql_free_result() expects parameter 1 to be resource, null given in...... line
    You're not adding the WHERE clause to the SQL query. My example code uses $query_search. You need to change that variable to match the name of your recordset, i.e. $query_RSsearchforsale.
    Moreover, the WHERE clause needs to go before ORDER BY.
    $query_RSsearchforsale = "SELECT trueprice,`desc`, `propid`, `bathrooms`, `location`, `type`, `price`, `beds`, `photo1`, locationtable.loc, typetable.style, bedtable.`number` FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid ";
    // Set a flag to indicate whether the query has a WHERE clause
    $where = false;
    // Loop through the associatiave array of expected search values
    foreach ($expected as $var => $type) {
      if (isset($_GET[$var])) {
        $value = trim(urldecode($_GET[$var]));
        if (!empty($value)) {
          // Check if the value begins with > or <
          // If so, use it as the operator, and extract the value
          if ($value[0] == '>' || $value[0] == '<') {
            $operator = $value[0];
            $value = ltrim(substr($value, 1));
          } elseif (strtolower($type) != 'like') {
            $operator = '=';
          // Check if the WHERE clause has been added yet
          if ($where) {
            $query_RSsearchforsale .= ' AND ';
          } else {
            $query_RSsearchforsale .= ' WHERE ';
            $where = true;
          // Build the SQL query using the right operator and data type
          $type = strtolower($type);
          switch($type) {
            case 'like':
              $query_RSsearchforsale .= "`$var` LIKE " . GetSQLValueString('%' .
    $value . '%', "text");
              break;
            case 'int':
            case 'double':
            case 'date':
              $query_RSsearchforsale .= "`$var` $operator " .
    GetSQLValueString($value, "$type");
              break;
            default:
            $query_RSsearchforsale .= "`$var` = " . GetSQLValueString($value,
    "$type");
    $query_RSsearchforsale .= ' ORDER BY detailstable.trueprice ASC';
    >

  • Warning: Cannot modify header information..../includes/common/KT_functions.inc.php on line 465

    Hi,
    I've moved a website from a server to another, and have got this little issue,
    I've a form witch gets submit and the user redirects to a "thank you" page, on the submittion I've added mail send so I get an email when the form is submitted, the mail part works fine, I get the emails. but after clicking the submit button this error comes up instead of redirecting to the thank you page.
    Warning:  Cannot modify header information - headers already sent by (output started at ..../index.php:79) in /...../includes/common/KT_functions.inc.php on line 465
    This is the KT_functions.inc.php part,
    function KT_redir($url) {
        $protocol = "http://";
        $server_name = $_SERVER["HTTP_HOST"];
        if ($server_name != '') {
            $protocol = "http://";
            if (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == "on")) {
                $protocol = "https://";
            if (preg_match("#^/#", $url)) {
                $url = $protocol.$server_name.$url;
            } else if (!preg_match("#^[a-z]+://#", $url)) {
                $script = KT_getPHP_SELF();
                if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] != '' && $_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) {
                    $script = substr($script, 0, strlen($script) - strlen($_SERVER['PATH_INFO']));
                $url = $protocol.$server_name.(preg_replace("#/[^/]*$#", "/", $script)).$url;
                    session_write_close();
            $url = str_replace(" ","%20",$url);
            if (KT_is_ajax_request()) {
                header("Kt_location: ".$url);
                echo "Redirecting to: " . $url;
            else {
                header("Location: ".$url);
        exit;
    I'm not a coder and appreciate any help.
    Thanks in advance.

    addField("fornamn", true, "text", "", "", "", "Vänligen skriv ditt namn"); $formValidation->addField("efternamn", true, "text", "", "", "", "Vänligen skriv efternamn"); $formValidation->addField("gatu", true, "text", "", "", "", "Vänligen skriv gatuadress"); $formValidation->addField("postnummer", true, "text", "", "", "", "Vänligen ange postnummer"); $formValidation->addField("ort", true, "text", "", "", "", "Vänligen skriv ort"); $formValidation->addField("telefon", true, "numeric", "int", "5", "", "Vänligen skriv ett giltilgt telefon nummer"); $formValidation->addField("epost", true, "text", "email", "", "", "Vänligen skriv en e-post adress. dit skickar vi status på din service"); $tNGs->prepareValidation($formValidation); // End trigger //start Trigger_SendEmail trigger //remove this line if you want to edit the code by hand function Trigger_SendEmail(&$tNG) {   $emailObj = new tNG_Email($tNG);   $emailObj->setFrom("[email protected]");   $emailObj->setTo("{epost}");   $emailObj->setCC("");   $emailObj->setBCC("[email protected]");   $emailObj->setSubject("Upplåsning: {modell} Nr: {id}");   //WriteContent method   $emailObj->setContent("Hej {fornamn},
    \n");   $emailObj->setEncoding("UTF-8");   $emailObj->setFormat("HTML/Text");   $emailObj->setImportance("Normal");   return $emailObj->Execute(); } //end Trigger_SendEmail trigger if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") {   $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_phone = "-1"; if (isset($_GET['mobil_id'])) {   $colname_phone = $_GET['mobil_id']; } mysql_select_db($database_wd, $wd); $query_phone = sprintf("SELECT * FROM mobiler WHERE id = %s", GetSQLValueString($colname_phone, "int")); $phone = mysql_query($query_phone, $wd) or die(mysql_error()); $row_phone = mysql_fetch_assoc($phone); $totalRows_phone = mysql_num_rows($phone); // Make an insert transaction instance $ins_bestall = new tNG_insert($conn_wd); $tNGs->addTransaction($ins_bestall); // Register triggers $ins_bestall->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1"); $ins_bestall->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation); $ins_bestall->registerTrigger("END", "Trigger_Default_Redirect", 99, "http://domain.com/---------.html"); $ins_bestall->registerTrigger("AFTER", "Trigger_SendEmail", 98); // Add columns $ins_bestall->setTable("bestall"); $ins_bestall->addColumn("fornamn", "STRING_TYPE", "POST", "fornamn"); $ins_bestall->addColumn("deb", "STRING_TYPE", "POST", "deb", "{phone.deb}"); $ins_bestall->addColumn("efternamn", "STRING_TYPE", "POST", "efternamn"); $ins_bestall->addColumn("gatu", "STRING_TYPE", "POST", "gatu"); $ins_bestall->addColumn("postnummer", "STRING_TYPE", "POST", "postnummer"); $ins_bestall->addColumn("ort", "STRING_TYPE", "POST", "ort"); $ins_bestall->addColumn("telefon", "NUMERIC_TYPE", "POST", "telefon"); $ins_bestall->addColumn("epost", "STRING_TYPE", "POST", "epost"); $ins_bestall->addColumn("modell", "STRING_TYPE", "POST", "modell"); $ins_bestall->addColumn("imei", "STRING_TYPE", "POST", "imei"); $ins_bestall->setPrimaryKey("id", "NUMERIC_TYPE"); // Execute all the registered transactions $tNGs->executeTransactions(); // Get the transaction recordset $rsbestall = $tNGs->getRecordset("bestall"); $row_rsbestall = mysql_fetch_assoc($rsbestall); $totalRows_rsbestall = mysql_num_rows($rsbestall); ?>  displayValidationRules();?> getErrorMsg(); ?>
    Modell:
    Pris:
    ------: Kr      -----      ----- ----
    Postförskott (Vi bjuder på postförskotts avgiften)       
    Förnamn:
              displayFieldHint("fornamn");?> displayFieldError("bestall", "fornamn"); ?>
    Efternamn:
              displayFieldHint("efternamn");?> displayFieldError("bestall", "efternamn"); ?>
    Gatuadress:
              displayFieldHint("gatu");?> displayFieldError("bestall", "gatu"); ?>
    Postnummer:
              displayFieldHint("postnummer");?> displayFieldError("bestall", "postnummer"); ?>
    Ort:
              displayFieldHint("ort");?> displayFieldError("bestall", "ort"); ?>
    Telefon:
              displayFieldError("bestall", "telefon"); ?>
    E-Post:
               displayFieldError("bestall", "epost"); ?>
              displayFieldHint("modell");?> displayFieldError("bestall", "modell"); ?>
    IMEI:
                    displayFieldHint("imei");?> displayFieldError("bestall", "imei"); ?>         -----.
    Debranding:
                Ja                        Nej
              ------           ";         }        else{           echo "Denna telefon kan ej debrandas!    Nej";         }?>         
    Here is the complete code for the form page, I've replaced some textes with "-------------"

  • My cs4 mail list sign up has stopped functioning.  Need help to correct "warning" messages

    Don't know what's happening, but I do have a screen shot of the warning messages:
    I'm not code conversant enough to figure this one out.  Help!

    Here ya go:
    <?php require_once('Connections/innerchoice_books.php'); ?>
    <?php require_once('Connections/innerchoice_books.php'); ?>
    <?php require_once('Connections/innerchoice_books.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 (!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;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO email_list (ml_fname, ml_lname, ml_email, ml_job, ml_state) VALUES (%s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['ml_fname'], "text"),
                           GetSQLValueString($_POST['ml_lname'], "text"),
                           GetSQLValueString($_POST['ml_email'], "text"),
                           GetSQLValueString($_POST['ml_job'], "text"),
                           GetSQLValueString($_POST['ml_state'], "text"));
      mysql_select_db($database_innerchoice_books, $innerchoice_books);
      $Result1 = mysql_query($insertSQL, $innerchoice_books) or die(mysql_error());
    mysql_select_db($database_innerchoice_books, $innerchoice_books);
    $query_rsSubscribers = "SELECT * FROM email_list";
    $rsSubscribers = mysql_query($query_rsSubscribers, $innerchoice_books) or die(mysql_error());
    $row_rsSubscribers = mysql_fetch_assoc($rsSubscribers);
    $totalRows_rsSubscribers = mysql_num_rows($rsSubscribers);
    mysql_select_db($database_innerchoice_books, $innerchoice_books);
    $query_rsStates = "SELECT * FROM states ORDER BY state_id ASC";
    $rsStates = mysql_query($query_rsStates, $innerchoice_books) or die(mysql_error());
    $row_rsStates = mysql_fetch_assoc($rsStates);
    $totalRows_rsStates = mysql_num_rows($rsStates);
    mysql_select_db($database_innerchoice_books, $innerchoice_books);
    $query_rsJobs = "SELECT * FROM jobs ORDER BY job_id ASC";
    $rsJobs = mysql_query($query_rsJobs, $innerchoice_books) or die(mysql_error());
    $row_rsJobs = mysql_fetch_assoc($rsJobs);
    $totalRows_rsJobs = mysql_num_rows($rsJobs);
    ?>
    <?php require_once("webassist/email/mail_php.php"); ?>
    <?php require_once("webassist/email/mailformatting_php.php"); ?>
    <?php
    if (!isset($_SESSION))session_start();
    if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)))     {
      //WA Universal Email object="mail"
      set_time_limit(0);
      $EmailRef = "waue_mailList_signup_2";
      $BurstSize = 0;
      $BurstTime = 0;
      $WaitTime = 0;
      $GoToPage = "mailList_signup_thanks.php";
      $RecipArray = array();
      $StartBurst = time();
      $LoopCount = 0;
      $TotalEmails = 0;
      $RecipIndex = 0;
      // build up recipients array
      $CurIndex = sizeof($RecipArray);
      $RecipArray[$CurIndex] = array();
      $RecipArray[$CurIndex ][] = "".((isset($_POST["ml_email"]))?$_POST["ml_email"]:"")  ."";
      $TotalEmails += sizeof($RecipArray[$CurIndex]);
      $RealWait = ($WaitTime<0.25)?0.25:($WaitTime+0.1);
      $TimeTracker = Array();
      $TotalBursts = floor($TotalEmails/$BurstSize);
      $AfterBursts = $TotalEmails % $BurstSize;
      $TimeRemaining = ($TotalBursts * $BurstTime) + ($AfterBursts*$RealWait);
      if ($TimeRemaining < ($TotalEmails*$RealWait) )  {
        $TimeRemaining = $TotalEmails*$RealWait;
      $_SESSION[$EmailRef."_Total"] = $TotalEmails;
      $_SESSION[$EmailRef."_Index"] = 0;
      $_SESSION[$EmailRef."_Remaining"] = $TimeRemaining;
      while ($RecipIndex < sizeof($RecipArray))  {
        $EnteredValue = is_string($RecipArray[$RecipIndex][0]);
        $CurIndex = 0;
        while (($EnteredValue && $CurIndex < sizeof($RecipArray[$RecipIndex])) || (!$EnteredValue && $RecipArray[$RecipIndex][0])) {
          $starttime = microtime_float();
          if ($EnteredValue)  {
            $RecipientEmail = $RecipArray[$RecipIndex][$CurIndex];
          }  else  {
            $RecipientEmail = $RecipArray[$RecipIndex][0][$RecipArray[$RecipIndex][2]];
          $EmailsRemaining = ($TotalEmails- $LoopCount);
          $BurstsRemaining = ceil(($EmailsRemaining-$AfterBursts)/$BurstSize);
          $IntoBurst = ($EmailsRemaining-$AfterBursts) % $BurstSize;
          if ($AfterBursts<$EmailsRemaining) $IntoBurst = 0;
          $TimeRemaining = ($BurstsRemaining * $BurstTime * 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$EmailsRemaining)*$RealWait) - (($AfterBursts>$EmailsRemaining)?0:($IntoBurst*$RealWait));
          if ($TimeRemaining < ($EmailsRemaining*$RealWait) )  {
            $TimeRemaining = $EmailsRemaining*$RealWait;
          $CurIndex ++;
          $LoopCount ++;
          session_commit();
          session_start();
          $_SESSION[$EmailRef."_Index"] = $LoopCount;
          $_SESSION[$EmailRef."_Remaining"] = round($TimeRemaining);
          session_commit();
          wa_sleep($WaitTime);
          include("webassist/email/waue_mailList_signup_2.php");
          $endtime = microtime_float();
          $TimeTracker[] =$endtime - $starttime;
          $RealWait = array_sum($TimeTracker)/sizeof($TimeTracker);
          if ($LoopCount % $BurstSize == 0)  {
            $TimePassed = (time() - $StartBurst);
            if ($TimePassed < ($BurstTime*60))  {
              $WaitBurst = ($BurstTime*60) -$TimePassed;
              wa_sleep($WaitBurst);
            else  {
              $TimeRemaining = ($TotalEmails- $LoopCount)*$RealWait;
            $StartBurst = time();
          if (!$EnteredValue)  {
            $RecipArray[$RecipIndex][0] =  mysql_fetch_assoc($RecipArray[$RecipIndex][1]);
        $RecipIndex ++;
      $_SESSION[$EmailRef."_Total"] = 0;
      $_SESSION[$EmailRef."_Index"] = 0;
      $_SESSION[$EmailRef."_Remaining"] = 0;
      session_commit();
      session_start();
      if ($GoToPage!="")     {
        header("Location: ".$GoToPage);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Join the Innerchoice Network</title>
    <link href="assets/Main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    #apDiv2 {
        position:absolute;
        left:1033px;
        top:965px;
        width:63px;
        height:322px;
        z-index:1;
    -->
    </style>
    <style type="text/css">
    <!--
    a:link {
        color: #060;
        text-decoration: underline;
    a:visited {
        text-decoration: underline;
        color: #006900;
    a:hover {
        text-decoration: none;
        color: #C60;
    a:active {
        text-decoration: underline;
        color: #DC6100;
    #apDiv1 {
        position:absolute;
        left:790px;
        top:506px;
        width:80px;
        height:80px;
        z-index:1;
    #apDiv3 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
    #apDiv4 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
    #featuredCover {
        position:absolute;
        width:136px;
        height:174px;
        z-index:1;
        left: 20px;
        overflow: hidden;
    -->
    </style>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="specials">
      <p>Sign up for the FREE Monday Morning Sharing Circle and More!</p>
    </div>
    <div id="wrapper">
      <div id="header">
        <h1>INNERCHOICE Publishing</h1>
        <h2>Bringing Emotional Intelligence to Life!</h2>
        <!--begin main-nav element-->
        <div>
        <ul>
        <li id="home"><a href="index.html"></a></li>
        <li id="books"><a href="books.php" class="visited"></a></li>
        <li id="training"><a href="circleWorkshops.html"></a></li>
        <li id="resources"><a href="resources.html"></a></li></ul></div>
        <!--begn sub-nave element-->
    <div id="subNav">
             <form method="GET" action="/remsearch.cgi">
                <img src="assets/images/homePage/cart.png" alt="cart.gif" width="25" height="15" style="margin-bottom:-2px;">
                <a href="cart.php">CART</a> | 
                <a href="contactHelp.html">CONTACT US</a> | 
                <a href="contactHelp.html#help">HELP</a> | 
                <a href="aboutUs.html">ABOUT INNERCHOICE</a>  
              </form>
        </div>
        <div id="kids"><img src="assets/images/kids-sans-text.png" width="300" height="442" alt="Happy Kids" />
    </div>
    </div>
      <div id="selResources">
            <p><img src="assets/images/homePage/SELresources.png" width="691" height="66" alt="SEL Resources" /></p>
      </div>
      <div id="mainContent">
        <div id="mailList">
          <h1>Become part of the Sharing Circle Community. Join in the fun!</h1>
          <h2>Sign up now to start enjoying the <span class="free"><br />
          FREE</span> Monday Morning Sharing Circle</h2>
          <p class="introText">As our site  grows,you'll find more and more great resources to support your Social and Emotional Learning efforts. Right now, enjoy a weekly treat as we send  the <a href="circleMonday.html">Monday Morning Sharing Circle Topic</a> your way. This is a sample of the <a href="circleCentral.html">EQ Super Strategy</a> that you can use to bring another dimension to your SEL work with students. Here's this week's<a href="circleMonday.html"> Sharing Circle</a>.</p>
          <p class="introText"><strong>*</strong>Required fields</p>
          <form id="form1" name="form1" method="POST" action=<?php echo $editFormAction; ?>>
            <table width="99%" border="0">
              <tr>
                <td width="606" height="22" valign="bottom" nowrap="nowrap">Email Address: *</td>
              </tr>
              <tr>
                <td align="left" nowrap="nowrap"><span id="spryEmail">
                <label>
                  <input name="ml_email" type="text" id="ml_email" size="60" />
                </label>
                <span class="textfieldRequiredMsg">An email address is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td height="22" valign="bottom" nowrap="nowrap">First Name: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryFirstname">
                  <label>
                    <input name="ml_fname" type="text" id="ml_fname" size="60" />
                  </label>
                <span class="textfieldRequiredMsg">Your first name is required.</span></span></td>
              </tr>
              <tr>
                <td height="22" valign="bottom" nowrap="nowrap">Last Name: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryLastname">
                  <label>
                    <input name="ml_lname" type="text" id="ml_lname" size="60" />
                  </label>
                <span class="textfieldRequiredMsg">Your last name is required.</span></span></td>
              </tr>
              <tr>
                <td height="45"><p>To guide us in giving you the most useful resource please tell us a little more about your role in education and where you are located.</p></td>
              </tr>
              <tr>
                <td height="22" valign="bottom">Please select a category from the following: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryRole">
                  <label>
                    <select name="ml_job" id="ml_job">
                      <?php
    do { 
    ?>
                      <option value="<?php echo $row_rsJobs['job_id']?>"><?php echo $row_rsJobs['job_title']?></option>
                      <?php
    } while ($row_rsJobs = mysql_fetch_assoc($rsJobs));
      $rows = mysql_num_rows($rsJobs);
      if($rows > 0) {
          mysql_data_seek($rsJobs, 0);
          $row_rsJobs = mysql_fetch_assoc($rsJobs);
    ?>
                    </select>
                    <span class="selectRequiredMsg">Please select your role.</span><br />
                  </label>
                </span></td>
              </tr>
              <tr>
                <td height="22" valign="bottom">Please tell us the state in which you work: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryState">
                    <label>
                    <select name="ml_state" id="ml_state">
                      <option value="AA">select...</option>
                      <?php
    do { 
    ?>
                      <option value="<?php echo $row_rsStates['state_id']?>"><?php echo $row_rsStates['state_name']?></option>
                      <?php
    } while ($row_rsStates = mysql_fetch_assoc($rsStates));
      $rows = mysql_num_rows($rsStates);
      if($rows > 0) {
          mysql_data_seek($rsStates, 0);
          $row_rsStates = mysql_fetch_assoc($rsStates);
    ?>
                    </select>
                    <span class="selectRequiredMsg">Please select your state.</span><br />
                    </label>
                </span></td>
                </tr>
              <tr>
                <td height="40" valign="bottom"><label>
                  <input type="submit" name="submit" id="submit" value="Sign me up!" />
                You'll receive an acknowledgment email from Innerchoice shortly.</label></td>
              </tr>
            </table>
            <input type="hidden" name="MM_insert" value="form1" />
          </form>
          <p class="introText">In the coming weeks you'll find other exciting things to enhance your SEL experience. These will include articles and insights about making the most of Social and Emotional Learning, and right away, our new monthly newsletter with even more ideas and interesting, engaging, and fun things to do with your students. You probably get that we're inventing this along the way. So we hope to hear your ideas for broadening the impact of our site and its impact on SEL.  </p>
        </div>
      </div>
    <div id="mlQuote">
      <p>Over the years, Sharing Circles have been one of the best counseling interventions.  They are powerful tools for creating social and emotional learning.</p>
      <p> </p>
    </div>
    <div id="mlUpdate">
      <h5>Current Subscribers—</h5>
      <h5><a href="mailList_updateTrigger.php">Update your information</a></h5>
      <p><em>(Keep Your Email address current)</em></p>
      <h5><a href="mailList_deleteTrigger.php">Unsubscribe</a></h5>
    </div>
      <p> </p>
      <p> </p>
      <div id="events"><a href="icEvents.html"><img src="assets/images/homePage/training_button.png" width="460" height="99" /></a></div>
      <div id="bookBrowse"><a href="titleBrowse.php"></a></div>
      <!--begin for footer content-->
      <div id="footer">
        <div class="left">
          <h5>About Innerchoice</h5>
          <div class="footer-links"> <a href="index.html">Home</a>  |  <a href="aboutUs.html">Mission</a>  |  <a href="aboutUs.html#ourStory">History</a> |  <a href="aboutUs.html#ourCommitment">Commitment to You</a></div>
          <h5>Resources for</h5>
          <div class="footer-links"> <a href="contactHelp.html#writersAuthors">Writers and Authors</a>  |  <a href="resources.html">Those Who Educate</a></div>
        </div>
        <div class="right">
          <div class="icLinks">
            <p><a href="mailto:[email protected]">Send Us Your Ideas</a><a href=""></a></p>
            <p><a href="contactHelp.html">Contact Us</a>  |  <a href="contactHelp.html#help">Help</a>  |  <a href="privacyPolicy.html">Privacy Policy</a>  |  <a href="siteMap.html">Site Map</a>  |  <a href="contactHelp.html#internationalRights">International Rights</a></p>
          </div>
          <div class="copyright"> <a href="aboutUs.html#ourCopyright">Copyright &#169; 2010</a> by <a href="index.html">Innerchoice Publishing, Inc.</a> All rights reserved. </div>
        </div> 
            <hr class="clearing"/>
    </div>
    </div>
    <script type="text/javascript">
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("spryEmail", "email", {validateOn:["change"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("spryFirstname", "none", {validateOn:["change"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("spryLastname", "none", {validateOn:["change"]});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryRole", {validateOn:["change"]});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryState", {validateOn:["change"]});
    //-->
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsSubscribers);
    mysql_free_result($rsStates);
    mysql_free_result($rsJobs);
    ?>

  • Warning: mysql_free_result()

    I have checked and double checked but I still get this error:
    Warning: mysql_free_result(): supplied argument is not a
    valid MySQL result resource in C:\xampp\htdocs\jobs\index.php on
    line 611
    mysql_select_db($database_db, $db);
    $query_jobsR = "SELECT * FROM jobs WHERE completed = 'No' AND
    next_task = 'Ready to Print' OR next_task = 'Awaiting deposit'
    ORDER BY date_required ASC";
    $query_limit_jobsR = sprintf("%s LIMIT %d, %d", $query_jobsR,
    $startRow_jobs, $maxRows_jobs);
    $jobsR = mysql_query($query_limit_jobsR, $db) or
    die(mysql_error());
    $row_jobsR = mysql_fetch_assoc($jobsR);
    <?php
    mysql_free_result($jobs);
    mysql_free_result($jobs0);
    mysql_free_result($jobsR); <-- THIS IS LINE 611
    mysql_free_result($jobsC);
    mysql_free_result($jobsD);
    ?>
    <-- THIS IS LINE 611
    611

    I have checked and double checked but I still get this error:
    Warning: mysql_free_result(): supplied argument is not a
    valid MySQL result resource in C:\xampp\htdocs\jobs\index.php on
    line 611
    mysql_select_db($database_db, $db);
    $query_jobsR = "SELECT * FROM jobs WHERE completed = 'No' AND
    next_task = 'Ready to Print' OR next_task = 'Awaiting deposit'
    ORDER BY date_required ASC";
    $query_limit_jobsR = sprintf("%s LIMIT %d, %d", $query_jobsR,
    $startRow_jobs, $maxRows_jobs);
    $jobsR = mysql_query($query_limit_jobsR, $db) or
    die(mysql_error());
    $row_jobsR = mysql_fetch_assoc($jobsR);
    <?php
    mysql_free_result($jobs);
    mysql_free_result($jobs0);
    mysql_free_result($jobsR); <-- THIS IS LINE 611
    mysql_free_result($jobsC);
    mysql_free_result($jobsD);
    ?>
    <-- THIS IS LINE 611
    611

  • Removing Resolution Warning?

    So I've bought an Apple mini-DVI to video adapter so I can use front row on my TV. One caveat - when I try to use any photos in front row, it will hang indefinately because iPhoto will open and display a warning that my output resolution is too low. No kidding... it's connected to a 10 year old TV. So I was wondering if there was any possible way to disable this warning permanently so I can use front row without having to get up and close the warning every time.
    Thanks!
    -Chris

    Output resolution too low...of the decade old boob-tube, huh? It's a shot in the dark, but apparently the resolution of the TV isn't compatible with the hardware/software mix.
    I've never tried it, but perhaps resizing the images to a lower resolution might help? Maybe make a smart album of a test set of images. Dupe them and resize them to, what? 36ppi or something. Give that a shot?
    Hope that helps!
    Scott

  • I am getting a warning message when i am trying to create a host-named sitecollection.

    Hi guys,
          I am trying to create a host-named site collection. I have created the root site collection. After that i have tried to create customer root site. I have doing this process with the guidance of this link.
    http://technet.microsoft.com/en-us/library/cc424952.aspx#section2a
    When i tried to create a customer root site. I am getting a warning message
    " WARNING: The port specified for the new host header site does not match any known bindings in the specified Web
    Application.  The new site will not be accessible if the Web Application is not extended to an IIS Web Site serving
    this port."
    I couldn't when this warning message comes. I tried to bind the server with webapplication which is created for host-named site collection. No use.
    Can anyone help me to solve. And i wanna know why this error message comes!!!
    Thanks in advance
    Rajendran.

    First, you shouldn't create a host named site collection on a Web app that has host header named.  Doing that implements host names at two different levels and will not work reliably.  Second I'm not sure what you mean when you say you didn't
    use the FQDN but used just the domain name.  A Full url will always be either an FQDN or a shorter Netbios name.  If you use a Netbios name it simply assumes the local AD domain of the workstation to create an FQDN as the url  There is no way
    to use just the domain name.  For example, Contoso.com is the domain name.  Server.contoso.com or WEbsite.contoso.com are FQDNs.  YOu can also use a shorter version that is just server or website, but when those resolve in TCP/IP they would
    still resolve using server.contoso.com or website.contoso.com if the workstation where your browser is was in the contoso.com domain.  What is the URL for your root site and your host named site?
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Warning message in ALV report

    Hi Experts,
    In ALV report i am getting warning like
    " Field string LS_HEADER is not referenced statically"
    Actually i declared this field as "DATA: ls_header TYPE slis_listheader.".
    How to correct this warning message.
    Thanks in advance.
    Thanks,
    Madhu.

    Dear Madhu,
    You are not using LS_HEADER statically that you have defined in the program. You will get a warning message since you have defined a field that you have not referenced statically.
    Are you using this field dynamically? You can delete/comment the code if you are not using it statically and dynamically.
    Moved the thread ABAP forum. Post your queries in relevant forums to get efficient answers.
    Regards,
    Naveen

  • Warning message in BW Report  through Portal

    Friends,
    I really need your help to remove the waring message.
    For the purpose of changing the description on the Selection screen from “Cost Cetnters (Authorised Values)” to “Funds Centers” I had changed the ZCCTRATI variable description to Funds Centers
    Issue:
    When we open the old report we see the following information message.
    " Value if variable ZCCTRAT1 is automatically converted
    I did go to TC RSRT as of Dinesh,Vijay advice ,Just want to know that what message i need to Click .because i could nt find the relevant message
    Can u help me how to remove this ?

    Hi Manohar,
    Edit to add: Here I assume you have a Web Application Designer (WAD) report.
    You can suppress system and warning messages in WAD. Try this and see if it helps.
    - Go to your WAD report
    - In the top part of the properties window there is a drop down box. Open this box and select the top level entry there. This should be the name of your report.
    - Click Web Item
    - Check the following two checkboxes: "Do not Display System Messages" and "Do not Display Warnings".
    Hope this helps,
    Regards,
    Petter
    Message was edited by: M Petter

  • How to disable IE Security Warning on opening a "local" visio file with Visio Viewer ActiveX?

    Hello all,
    Everyone knows that Microsoft released ActiveX based Visio Viewer for free and allow the users to open Visio drawing and view/print via IE browser.
    The problem that I am facing is that some users are complaining about IE browser's security warning on "active content to run in files on My Computer".
    It means that opening .VSD files from the network, internet, intranet would be all OK but if the user wants to open .VSD files from the local hard drive (or open it as a mail attachment, which will extract it to a temp folder), it prompt the user to select "Allow Blocked Content" EVERYTIME they open them.
    I know that I can GLOBALLY disable this warning by going through Tools - Internet Options - Security section and enable "Allow active content to run in files on My Computer" but I hope that there is a way (or workaround) to allow them by file type or location, etc.
    Questions:
    1. Is there any way to disable those warning for all .VSD only while we still UNCHECK the option on Internet Options?
    2. Is there any 3rd party Win32 based viewer which wouldn't have those restriction?
    3. Is it safe assumption that McAfee VirusScan and Host IPS protection is sufficient enough to remove the IE's security warning feature?
    Thanks in advance?
    Young-

    Are you able to host/launch the VSD file via an HTM page? In that case you can format the HTM page as shown below. This will trick IE into thinking it is loading the file off of a website. Commonly called 'mark of the web'.
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html>
    </html>

Maybe you are looking for

  • Calendars not showing on iPad

    I'm trying to set up a shared Gmail calendar on a non tehcy friend's iPad - problem is he's 200 miles away so having to do this over the phone... If he enters his Gmail account in Mail, Contacts, Calendars and turns everything off except the calendar

  • I have ipod shuffle, i have a password i can't remember it so i can't use my ipod what can i do ?

    I have ipod shuffle, i have a password i can't remember it so i can't use my ipod what can i do ?

  • Videos won't play in latest version

    When will I learn that once I find a version of FF that works, not to update it? I was working with v20 for a long time, and it worked fine. Decided to update to latest version, and BAM! Videos don't play. Tried safe mode, still same thing. No videos

  • BAPIthe component to be assigned has not been completely specified

    Hi, I am using the BAPI "BAPI_ROUTING_CREATE" to create a Routing. It works fine creating the operations, Component allocations and updating the Header data Information. The Problem i am facing is with the allocation of components with Phantom assemb

  • Xmlbeans, xmlobject and how to switch between them

    I have a WLI JMS control that I use to send a created xml document to a topic (using the sendTextMessage(XmlObject xmlpayload) method). On the other side I have a standalone java process that reads from the topic. I expected an xmlmessage to come acr