Graphics card is dead! Help with replacement please!

Hi,
I've just been given a Dual core G5 powermac (2.0ghz) model. It works fine with the exception of the graphics card. Previous owner took it to an apple store for testing and they said he would need a new card.
I've got an apple display with the ADC plug.
Can someone please advise me on a suitable replacement please? I guess my options are a card with an ADC plug or and adaptor and a standard DVI card?
I find it all a bit confusing! Most of my work is music related so I don't need a high end card. I really just want a cheap solution to get this machine back up and running!
Any help would be greatly appreciated.
Thanks
Bradley

My graphic card failed and developed strange barcode type lines that flickered intermittently - getting worse the longer the computer was on. The flickering changed when the cable to the graphics card was "jiggled" / moved around. It turned out to be a problem with the ATI Radeon 9800 graphic card that came installed with the G5. There was nothing obviously wrong with the card the fan was fully operational.
This is how I fixed it:
1. Ran a Apple Hardware Diagnostic check from the Startup disk - hold down the Options key, Select Hardware Diagnostic and then select Extended. This confirmed that it was the Graphics board (Video (RAM)) and not the Logic board (contrary to the view of Apple and TechServe - both of whom wanted me to bring the G5 in for their diagnostic ... $150 +)
2. Purchased the new board (I got it from B&H Photo):
http://ati.amd.com/products/Radeon9600/Radeon9600propcmac/index.html
3. Installed the new board - 5 minutes total: remove one screw - carefully remove cooked 9800 board - install new board - replace screw.
4. Install new 9600 software (which the manufacturers suggest you do first) - it automatically overwrites the necessary 9800 files.
5. Purchase and connect the Apple ADC-to-DVI converter - used to connect the new board to my Apple Cinema Display 23".
6. Reboot
I hope this helps anyone else with a similar problem.
Best
Dom

Similar Messages

  • I'm trying to view a site that sends a message that I don't have the most recent graphic card drivers to view with.  It suggests I have the ability to view, but that my drivers might be disable.  I don't know how to check to see what graphic drivers my ma

    I'm trying to view a site that sends a message that I don't have the most recent graphic card drivers to view with.  It suggests I have the ability to view, but that my drivers might be disabled.  I don't know how to check to see what graphic drivers my macbook (end of 2008 model) have enable.  Can someone help?

    You don't need to care about graphic driver on Mac OSX. It includes in OSX and run the driver your MacBook need.

  • What improves Rendering Speed? Processor,Graphics Card,RAM?[HELP]

    Hello people
    I would like to know what will improve my rendering speed,I have a composition at 1024p with many layers and effects in it,It says it will take 33 Hours to render, I think that;s too much,so what to buy to improve my Rendering speed? A new Processor? A new Graphics Card? A new RAM? Please reply as soon as possible.
    PS:I have Windows XP 32 bit and I use CS3
    My System Info:
    Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.100216-1441)
    Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2 CPUs)
    Memory: 2048MB RAM
    Card name: NVIDIA GeForce 8600 GT
    Thanks for your interest

    danaos1996 wrote:
    Anyone guys to tell me about this subject?
    Hello once more,I really gave it a though and I decided:
    The OS will be Windows XP x64 bit so I can use CS5 / Or Mac...
    MAIN USES:
    -After Effects:It's already 3 years that I use Adobe After Effects and I really want to go to Pro with it.
    I want to be able to add HD FX in HD Videos with many layers,and maybe to long movies.
    -Photoshop:I am still a beginner with it,But sure in the future I want to learn some hard things.
    -Of course Be able to surf on the internet.
    SECONDARY USES:
    -Playing the New Games:Like Call of Duty
    Thats the thing I am doing with my current PC and I am pretty sure ill be doing with the new one...
    AAE and PS are the programs I use the most.
    So that's my list,if you think you get what I want,please write back
    And again,Thanks for everything.
    ~Danaos
    What Machine to buy so it can do the above things?I can afford around 2700$ / 2000 Euros
    2000 Euros won't buy you a Mac Pro, although you could buy a 27" iMac.
    You can buy a pretty decent Windows machine for that price.  There are so many variables it's impossible to give you specifics, but here's a basic guide:
    Buy the best CPU you can afford.  Faster CPUs give you better overall performance.  Multiple CPU cores make rendering and previewing faster.
    You need 2GB of RAM for each CPU core, and a bit extra.  So, if you buy a dual Quad core machine, giving you 8 cores, you would be wise to have 16-24GB of RAM. If you buy a single Quad core machine, with 4 cores, you need 8-16GB of RAM.
    You need lots of fast hard drive space to work with HD video, so buy as much as you can afford.  Avoid "green" drives and other 5400RPM drives, which can slow down your workflow.  If you can afford it, buy two drives - one for your system files, and one for media storage.
    The display card is not so important in After Effects - any midrange card will do the job nicely - but because you want to play "new games", you may want a display card with a bit more power.

  • 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';
    >

  • TS3479 I have a iMac mid 2011 with Mac OSx Lion 10.7.4. I was using iMovie suddenly today I found iMovie is not starting a window is popping up saying "iMovie requires a graphics card that is compatible with Quartz Extreme. One or more of your graphics ca

    I have an iMac Mid 2011 model intel i5 with AMD Redeon HD6750M 512 MB graphic card, 8 MB RAM.
    I was using the imovie the other day and down loaded some of the vedio clips from Sony camcorder.
    All of a sudden today while I was trying to open the iMovie it did not a window poped up saying that
    iMovie requires requires a graphic card that is compatible with Quartz Extreme................
    What is these nonsence thing happening ........
    Can any body provide some clue how to resolve the issue
    Thanks and regards in advance
    Bijan

    If it was previously working then try a smc and pram reset.
    If that doesn't fix it then see if vlc can handle the video.

  • Combo box and Check box..help with code please?

    Here is my problem...i have a list of check boxes and according to which one is checked, i need combo boxes to populate different choices.
    as an easy example im only using 2 check boxes and two combo boxes.
    the check boxes are named Choice 1or2 with export values of 1 and 2
    the Combo Boxes are named List A and List B..
    both containing options that say you checked box 1 and you checked box 2
    any help would be greatly appreciated

    Implode wrote:
    "Help with code please."
    In the future, please use a meaningful subject. Given that you're posting here, it's kind of a given that you're looking for help with the code. The whole point of the subject is to give people a high level idea of what KIND of help with what KIND of code you need, so they can decide if they're interested and qualified to help.
    Exception in thread "main" java.lang.NumberFormatException: For input string: "fgg"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at assignment1.Game.Start(Game.java:120)
         at assignment1.RunGame.main(RunGame.java:18)This error message is telling you exactly what's wrong. At line 120 of Game.java, in the Start method (which should start with lowercase "s" to follow conventions, by the way), you're calling Integer.parseInt, but "fgg" is not a valid int.

  • I have need help with something Please respond Quickly :)

    I have need help with something Please respond Quickly  ok so i have the linksys wrt54g Version 2.2 and i upgraded the firmware to V4.21.4 from this site http://homesupport.cisco.com/en-us/wireless/lbc/WRT54G and i clicked V2.2 for the router. So after i upgraded i lost internet ability i can't use the internet so i had to downgrade back to V4.21.1 but i want the things that newer update sloves. Please Help. Everything thing says DNS error? aka Modem.
    $$Cgibbons$$

    Ya i tried that i tried restoring and redoing everything when i downgrade back to .1 it works fine though?
    $$Cgibbons$$

  • Hi I got an email from itunes saying that my pre order was ready and when I click on the link from my ipad it takes me to the itunes store app and then it doesn't do anything help with this please.

    Hi I got an email from itunes saying that my pre order was ready and when I click on the link from my ipad it takes me to the itunes store app and then it doesn't do anything help with this please .
    <Link Edited By Host>

    Thanks for your advice, I went to the apple shop today for a face to face meeting with a tech and he checked everything and could not figure out why I was having this problem so we decided to give up on that account and create a whole new one for me using a different email address.
    Now I can download apps on both my iPhone and ipad2.
    If anyone is reading this in Brisbane Australia go to the Chermside apple shop and ask for Wade. He was fantastic!
    Jan

  • Itunes istallation freezes at 'Publishing Product Information'.  Can anyone help with this please?

    Itunes istallation freezes at 'Publishing Product Information'.  Can anyone help with this please?

    You need more memory. 4 GB is not enough:
      1.12 GB Page-outs
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.CallHistorySyncHelper.plist
      [killed] com.apple.cmfsyncagent.plist
      [killed] com.apple.coreservices.appleid.authentication.plist
      [killed] com.apple.sbd.plist
      [killed] com.apple.security.cloudkeychainproxy.plist
      [killed] com.apple.telephonyutilities.callservicesd.plist
      7 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.icloud.findmydeviced.plist
      [killed] com.apple.softwareupdate_download_service.plist
      [killed] com.apple.wdhelper.plist
      4 processes killed due to memory pressure

  • Graphics card and power supply, can someone please help me?

    Hello everyone so i bought the new game Dragon Age: Inquistion for my pc and the computer is only about 2 months old but the game is running slow so my graphics card isn't powerful enough and I can't figure out which graphic's card  or  power supply to get that will be compatible with my computer. From what i see i'm going to need both.
    pc specs
    »HP Pavilion 500-223w Desktop PC (ENERGY STAR) 
     Product Number:   F3D69AA 
    8 gb of ram
    150mm x 140mm x 86mm (5.9 x 5.5 x 3.4 inches) power supply 300wat (which i want to upgrade)
    This motherboard supports processors with the following Integrated Graphics:
    Intel HD Graphics 4400 (GT2)
    Intel HD Graphics 4600 (GT2)
    Integrated Graphics is combined with the installed processor.
    See the Processor upgrade information section of this document for detailed information.
    One PCI Express x16 slot (Gen 3.0)
    NOTE:Integrated video is not available if a graphics card is installed.
    can someone please help me?
    This question was solved.
    View Solution.

    Hi,
    I ran a simulator for the Dragon Age: Inquisition and the processor and memory in your HP 500-223w meet or exceed the recommended requirements. However, the video in your PC doesn't meet the recommended level even at 1024 by 768 resolution.  The NVIDIA 750 would also not meet the recommended requirements even at 1024 by 768 resolution.
    The power supply will need to be replaced to support a graphics card that will meet the recommended requirements.
    The Corsair CX600 would be an excellent choice as it matches up the existing HP power supply dimensions. $65
    The AMD R9 270 would exceed the recommeded requirements for Dragon Age: Inquisition. These are on sale from $100 and up.  Do some measuring inside yiour PC.  This Sapphire R9 270 model would be a good choice at $130 afer rebate
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • PCIe Graphics cards for G5 - help please

    I have a PowerMac G5 (late 2005) model #M9592B/A
    I am looking for graphics compatible graphics cards that are identical.
    here are my requirements
    1) i need three to fit so must be 1 slot high
    2) must do s-video/composite out
    3) PCIe 4lane
    as cheap as possible around the £70-£100 mark
    can anyone suggest any certain models or know a place i can go to get them, i can't seem to find any anywhere and apple store don't have any to this "low" spec
    any help greatly appreciated
    best regards

    Hi-
    There are none that feature s-video/composite out that are single slot cards.
    The only card that is even close to your specs is the Geforce 6600.
    Check what is available for PCI express graphics G5's at We Love Macs.
    Some alternative thinking.

  • MONITOR MADNESS - Is it Leopard ? My graphics card perhaps ? HELP

    Friends,
    I am going nuts ( no don't answer that one ! ).
    Recently ( possibly after the 10.5.2 graphics update - I can't exactly recall ) my LG flat screen monitor has started to look like a grainy 60's acid art house experiment !!
    It is subtle but most disconcerting as I use my beloved G5 every day with Logic P8.
    I have tried changing settings - calibration the lot... but still it looks strangely weird - like a TV that is not quite tuned in.
    Gradients and shaded areas have weird lines instead of fine tones and artifacts appear around type and lines where was once beautiful and clear graphics.
    When I first bought the LG 204WT 20" monitor 5 months ago it was fine !.
    I have been using the recommended DVI output and tried different cables and the alternative input - the effect is still there but not quite as bad when using connector to RGB input.
    The shaded areas in finder and Logic are almost transparent and grainy with a light blue / pink halo like effect around windows and graphic boxes - *I don't know how to explain it really but I do hope someone out there may have some answers or at least have an inkling of what I'm trying to describe..*
    As if I couldn't make matters worse I did an archive and install to roll back to 10.5.1 early hours of this morning - this didn;'t cure the problem and I lost the use of some music plug -ins and authorizations in the bargain.. Maybe it is time to call it a day and take a long break.
    Really I should get a pen and paper and sit with my guitar an a darkened room for a few days.
    I called the Mac shop where it was purchased then LG but with no help, advice or offers to replace it.
    I guess the monitor basically works but this strange behaviour is arguably quite subtle and may not be considered 'serious' by most people !
    *In the meantime if any of you lovely people could take my situation seriously and offer any practical advise I would be most appreciative.*
    Many thanks - not quite lost it yet - Paul

    Hello,
    Perhaps my problem is related?
    Today, I installed Leopard 10.5.2 on a LaCie Quadra FW disk with my G5 2x2.3, 4.5 GB RAM, GeForce 6600 graphics card with one Samsung 18" and one LaCie 20" monitor. This combination (less the FW disk) has worked (and works) perfectly with Tiger.
    Also, directly after installing, both monitors showed what's expected.
    However, after restarting (also restaring after updating from 10.5.0 to 10.5.2) the image on both monitors is scrambled in vertical bands!
    After learning how to get hold of the Monitors settings panel, just by a fluke I decided to checkmark 'Screen Doubling' (equivalent; sorry, running a Swedish System), which made the scrambled stripes go away. Then, when unchecking Screen Doubling again, everything was back to normal.
    After restarting again, the problem was back, and had to be dealt with as above...
    I'd really appreciate some feedback from anyone with a similar experience.
    Switching back to trusty old Tiger, everything is normal as ususal, so there's apparently no hardware problem involved.
    Best regards,
    Joey

  • Graphics Card/DVI Input help...

    Hello,
    Is someone could help me that would be great. I have a monitor that suppirts both VGA and DVI inputs. I want o use a DVI input but my computer only supports a VGA output, so I need a new graphics card. Could someone please recommend a good graphics card that would be compatible with my computer. My computer is a Gateway GT5674 with a AMD Phenom 9500 Quad-Core Processor 2.20 GHz, 3GB RAM and 32 Bit Operating system. Right mow it has a NVIDIA GeForce 6150SE nForce430 graphics card. Thanks

    upgrade with the 8000 series graphics, your computer i think comes with a 300watt power supply so you shouldn't need to spend any more money. i think the highest you can go is 8600gt/gs for the best quality.
    if you don't play games 8400 is enough. even for high definition viewing.
    if you play games, go with 8600gt/gts.
    if you play games and want to go with the best picture possible, go with the 8800gt/gts (if you can still find one) u can find those really cheap now and they're actually like the best graphics card you can get for the money.
    if you don't have a budget limit, you can get the gtx260/280 and upgrade the power supply to 600 watt or more.

  • A graphics card that will work with my 23' Apple Cinema Screen?

    Hello all,
    My graphics card currently is a Radeon 9700 pro for my g4 - its pretty much about to die on me. I was researching cards and I can't figure out which one performs as well as my radeon 9700 pro OEM apple card and has the 'ADC' connection needed for this large 23' monitor. In most photos of graphics cards in webstores i've seen, they do not have an 'ADC' connection. I need help finding one, anybody have suggestions as to what card I should get and where?
    I already tried the ti4600 and there were compatibility issues..

    Hi-
    Not quite the same performance level, but not a bad card, the Radeon 9000 Pro will support your ADC monitor. Also available here.
    You can replace the 9700 with another 9700.
    The NVidia GeForce 4 MX is another option.
    This page will allow you to cross reference the Apple part numbers with the appropriate card during your search.

  • Graphics card for 2 monitors with TV out function

    I would like to use my H500s as the centerpiece of a Media Center. To do this it seems that  I need a new graphics card that will support at least 2 TVs/Monitors (3 would be even better). The first one is easy, my newer 50 inch TV hooks right up, but my older 33 inch TV is the problem. 
    From shopping around it looks like I need a card with either an S-Link along with a VGA or 2 VGAs and an adapter. Either way, the card needs to have a TV out function. It looks like I will also need to upgrade the power supply but that is a minor issue. 
    If anyone can suggest a card, or somewhere that I might find more information , I would be very grateful. Thanks in advance for any help with this.

    The card you have should work if you get one ADC to DVI adapter
    <http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/2.RSLID?mco= E1A673E1&nplm=T2774G%2FA>
    If you need more power you may be able to find one of the original upgrades used:
    ATI Radeon 9600 XT with 128MB of DDR SDRAM, DVI and ADC ports
    ATI Radeon 9800 XT with 256MB of DDR SDRAM, DVI and ADC ports (occupies AGP slot and adjacent PCI slot)
    NVIDIA GeForce 6800 GT DDL with 256MB GDDR3 SDRAM, two dual-link DVI ports (occupies AGP slot and adjacent PCI slot)
    NVIDIA GeForce 6800 Ultra DDL with 256MB GDDR3 SDRAM, two dual-link DVI ports (occupies AGP slot and adjacent PCI slot)
    New, the best is probably the Radeon® X800 XT Mac Edition
    <http://www.ati.com/products/radeonx800/radeonX800xtme/index.html>

Maybe you are looking for

  • Sending File as an attachment

    Dear all, I need to pick the file from FTP and the contents of file should be sent as an attachment. I know how to send content of file as an attachments. But the challange for me here is, the attachment file name should as we picked from FTP. Ex: Su

  • Adobe Acrobat X defaults to last page viewed

    When I open a pdf, Adobe Acrobat X defaults to the last page viewed. How do I default it to go to the top of the first page?

  • Web service response object contains no values

    Hi, Using Netweaver, I've created an EJB-based web service that contains a single method. The method takes two input parameters and returns as a response, a data transfer object (DTO) containing several boolean values.  When I test this web service w

  • "Cannot Connect Usine SSL"

    I got the above error when trying to add my gmail account with the new $20 upgrade mail app. I have checked my settings in my gmail account and they have imap and pop enabled. Has anyone else gotten this error? Any fixes? Thanks

  • Merging two rpds in OBIEE 11g

    Hi, To merge two RPDs in OBIEE 11g, do I need to have both RPDs online? What are the pre requecities? Do I need to modify ini file to mention those RPDs.? Please tell me the steps involved. Thanks and Regards Santosh