How to make this work selecting advanced record set dreamweaver complains and crashes all the time

Hi There
I have met a person who does php and sql work but not with dreamweaver. The code I have works but dreamweaver shows me an error with my record sets and it crash all the time.
<?php require_once('../Connections/datexdatabase.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($_GET['pageID']==''){
    $pageId = 1;
}else{
    $pageId = $_GET['pageID'];
mysql_select_db($database_datexdatabase, $datexdatabase);
$query_rsIndex = "SELECT pages.title, pages.meta_keywords, pages.meta_description, content.header, content.`description`
FROM pages INNER JOIN content ON pages.id = content.page_id WHERE pages.id = ".$pageId." ORDER BY content.order";
$rsIndex = mysql_query($query_rsIndex, $datexdatabase) or die(mysql_error());
$row_rsIndex = mysql_fetch_assoc($rsIndex);
$totalRows_rsIndex = mysql_num_rows($rsIndex);
?>
<?php do { ?>
        <?php if($row_rsIndex['header'] != 'Introduction'){ ?>
        <b><?php echo $row_rsIndex['header']; ?></b>
        <?php } ?>
        <p><?php echo$row_rsIndex['description']; ?></p>
        <?php } while ($row_rsIndex = mysql_fetch_assoc($rsIndex)); ?>
<?php
mysql_free_result($rsIndex);
?>
I am able to join the tables in the advanced recordset but i am getting confused with "" FROM pages INNER JOIN content ON pages.id = content.page_id WHERE pages.id = ".$pageId." ORDER BY content.order";"
mysql_select_db($database_datexdatabase, $datexdatabase);
$query_rsIndex = "SELECT pages.title, pages.meta_keywords, pages.meta_description, content.header, content.`description`
FROM pages INNER JOIN content ON pages.id = content.page_id WHERE pages.id = ".$pageId." ORDER BY content.order";
My question is how can I use dreamweaver with the advanced recordset with the pageID without dreamweaver crashing 20 times a day
Regards

My question is how can I use dreamweaver with the advanced recordset with the pageID without dreamweaver crashing 20 times a day
Do you get any errors in Dreamweaver when it crashes?
What version?
What OS?
Have you tried trashing recreating the user config folder ( http://kb2.adobe.com/cps/405/kb405604.html#main_user_config )?
Have you tried trashing the preferences ( http://kb2.adobe.com/cps/839/cpsid_83912.html )?
Has anything changed on the system recently (from program installs, to system / OS updates)?
Have you tried creating a new user account on the system to verify there is no corruption in the current user's system data?

Similar Messages

  • I am leaving firefox for Mac Version 1602 as it freezes and crashes all the time, for Google Chrome which does not. I do this with regret

    I give up. I was ok with version 16.0 and firefox 16.02 was automatically downloaded to y Mac Book Pro Version 10.8.2 Mountain Lion. I would like to go back to Firefox 15.0. How can I do this? If this cannot be done, I will uninstall Firefox 16.02 and only use the Chrome and Safari Browsers. I have been using Firefox for more than 10 years and I leave Firefox with great regret. You simply cannot compete with Google Chrome.

    Have you tried to Reset Firefox? that will likely fix many of your problems with Firefox. [[Reset Firefox – easily fix most problems]]

  • My iphone4s started jamed and crashed all the time after I updated to iOS7. can anyone help me with this??

    After updated my phone started acting up,,
    hung up, jammed, slow, and I have to hold home bottom and power bottom together to get it back.
    Can anyone help me pls!
    Thx..

    Hi Luaylool,
    If you are having multiple issues after updating your iPhone, you may want to make sure you have a current backup, then try restoring the phone and testing it for those issues before returning your data. You may find the following article helpful:
    iTunes: Restoring iOS software
    http://support.apple.com/kb/HT1414
    Regards,
    - Brendan

  • HT204088 I bought $10 worth of gems in a game (Eternity warriors 2) and then realized the game crashes ALL the time, i'd like a refund but don't know how.

    Like i said i bought some gems and then realized this game has major problems even after there update crashing all the time laggy sometimes wont load it's terrible and i want a refund, please help.

    The main problem is that you made the first and second slot machine to pay out 2 quarters after 3 games and the third machine pay out two quarters after two games. That is not what your assignment specified.
    SlotMachine firstSlotMachine = new SlotMachine (2,3);
    SlotMachine secondSlotMachine = new SlotMachine (2,3);
    SlotMachine thirdSlotMachine = new SlotMachine (2,2);
    The second problem is that you never add the payout of a machine to Martha's number of quarters.
    Look carefully at the way your professor implemented the game() method. If you think about it, what it returns is the net "gain" from playing a game. On jackpot it returns payOut -1 (jackpot less the one quarter Martha had to pay for the game), otherwise it returns -1 (Martha spends one quarter and wins nothing).
    So what you can do is simply add the returned value to the number of quarters in the jar -
    quarters = <machine>.game();
    instead of quarters--.

  • How to make this work with Firefox, HELP!

    Downloading for Real-player, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. How to make this work with Firefox, I like not to use Microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

  • I recently upgraded to Lion and i find that my computer is running slow and applications are crashing.  For example I have Word 2011 for Mac and it crashes all the time I end up losing my work.  It often happens when I'm in notebook trying to record.

    i recently upgraded to Lion and i find that my computer is running slow and applications are crashing.  For example I have Word 2011 for Mac and it crashes all the time I end up losing my work.  It often happens when I'm in class using notebook and when I press record my computer starts thinking and it freezes.
    Also, I feel that it overheats often and my battery runs out pretty quickly.  I had the macbook (black) and this never happened before.  I'm not sure if I'm doing something wrong or if there is something with my computer.I bought my computer summer 2010, I don't think this should be happening. Please Help......

    This is exactly what keeps happening to mine too.  I was at a conference taking notes, and I was
    using the Notebook template, and doing some audio recording simultaneously.  About 3 hours into the conference (not consistently recording, but on and off with the sessions) my file wouldn't save anymore, saying something like "File cannot be modified while in use with another program" and "Invalid file name" when I would go back into my folder to look for it). I tried installing some updates from Microsoft, and when I restarted, I was at least able to open my old notes again, and so far it looks like the audio was working.  However, today at the conference, the same thing happened again, but I wasn't actively recording any audio (though after I had copy and pasted my second file of notes into the original, I went back to using it after re-naming it). 
    Does the crash happen to you under similar cirucumstances?  The update might help a little, but it is definitely not the solution.  Does anyone have any solutions?  Lion shouldn't be this buggy... I moved to Mac to get away from the garbage of bugs and compatibility issues...

  • A previous and unrelated text always appears when I need to send a new text. This prevents forwarding texts also, which I need to do all the time for my business. How can I fix? Please help!

    A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?

    Hi,
    This sounds like it is about Window positions.
    iChat has Default places for Incoming Invites.
    Video is always top Center of your Screen
    Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
    Secondary invites are sort of Stacked like when you open multiple files from the same App.
    Your outgoing Windows are "Remembered" as to where the last one was when you used it.
    This can be an issue if you use your Mac with a second display and turn Off Mirroring.
    You windows can get "left" on the other screen.
    Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
    If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
    Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
    10:42 PM      Tuesday; April 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why does Adobe Flash crash all the time? It is reallyt annoying and I'm considering using another browser. Please tell me how to fix this.

    Why does Adobe Flash crash all the time? It is really annoying and I'm considering using another browser.
    Please tell me how to fix this.

    Try to uninstall your current Flash version and update Flash to the latest version.
    Troubleshoot Flash Player installation for Windows:
    * http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall_the_older_Flash_Player_version
    *http://www.adobe.com/software/flash/about/
    *https://support.mozilla.com/kb/Managing+the+Flash+plugin
    *http://kb.mozillazine.org/Flash

  • Logic X Crash all the time , sometimes work sometimes no plug works ??,Plugin Problem?

    Hello
    Please help me .... i dont know what to do anymore
    My logic x now crashes all the time . when i change plug ins sometimes and somtimes just like this . Sometimes all plug ins are loading normal (also via32Bit Bridge from Sound Radix) to use the 32 older ones still ...
    Sometimes no plug in is working, and say contact supplier for latest verision tough i have latest version and original.
    Can be that this has to do with the 32 bid bridge ? i have latest logic update 10.0.6 and Mountain Lion 10.8.5 , 16gbram I7 3,4Gh
    also i cant find were i can register my logic x on apple homepage, only i macs and stuff but no logic x registration to my name and my account. ??
    2nd Problem
    ES1 Synthesizer is modulating when i make low fast bass notes like 3 in one 4/4 bar on 150bpm is modulating tough in es1 is all normal set up for no modulation and normal (ADSR Button on the right choosen , but es1 play 3 completely same notes with same velocity all bit different , not much but too much for using for bass production.
    Also old Channel strips from logic 9 when i load is the same tough always was normal and suddenly in logic x the es1 modulates a bit , i mean plays every note a bit different somtimes with a bit more attack sometimes less ... or cutoff whatever , ??
    pffffffff , is really hard to make music spending more time fixing that i can work .. hope there is any freak out there what can help me ... i m really worried
    Thank you so much friends
    Josef

    Hi All,
    I'm happy to find this discussion about this problem, because I just don't know what can I do. Also, I'm new to logic (and asking myself these days why I switch...!)
    So, I did everything I found on different forum about the system overload problem. Reset my 828mkII, delete my logic pref, clean my hard drive, changed I/O Buffer and exs pref, bla bla bla ...
    I though that the problem was the exs sampler because I found information telling that big samples in this plugin can cause system overload, so I deleted it, but same problem. But I did the same thing with my NI Battery... oh... no crash, but I only have 3 samplers in it!
    But, not all my project using NI Battery crash!
    The smaller one crash and, it contains :
    - 1 ES2 with 7 plugin FX
    - 1 ES2 with 5 plugin FX
    - 1 Native Instrument Battery (3 samples in it) with 1 plugin FX
    - 1 EXS sampler with 4 plugin FX
    That's it !!!
    The difference between all my projects (I'm new so only have a few) is that I add an AVerb plugin in the Battery Channel on the one that always crash.
    So, I deleted the AVerb in the NI Battery channel... Holy S**t it seems to work fine. WOW!! I'm looking the Jesus right now!!!
    I'll have to make more test, like use FXs using BUS insteed, but Logic looks to have a problem using plugin on NI Battery 2.
    I will probably crahs logic again and send another report telling them what I did!
    Maybe this could helps you!
    m
    Single 1.8G G5   Mac OS X (10.4.7)   2G RAM

  • Hi! I've just installed mountain lion and I find one of the programs I need for my work is crashing all the time. any ideas what i can do?

    hi! I've just installed mountain lion and I find one of the programs I need for my work is crashing all the time. any ideas what i can do?

    Ah!
    Factuur Bright x
    part of errors:
    Process:         Factuur Bright X [1476]
    Path:            /Applications/Factuur Bright X/Factuur Bright X.app/Contents/MacOS/Factuur Bright X
    Identifier:      ???
    Version:         ??? (2.0.0b20)
    Code Type:       X86 (Native)
    Parent Process:  launchd [184]
    User ID:         501
    Date/Time:       2013-07-10 22:35:39.180 +0200
    OS Version:      Mac OS X 10.8.4 (12E55)
    Report Version:  10
    Interval Since Last Report:          2118 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  24 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      47D641A2-4625-7590-369C-8BAFE1439551
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010

  • HT1338 for the last 6 months my mac is crashing all the time. I think it is safari because firefox works fine. Any suggestions?

    for the last 6 months my mac is crashing all the time. I think it is safari because firefox works fine. Any suggestions?

    What is crashing, is it just Safari or is the entire computer freezing (if that's what you mean by crashing)? If the latter, are you saying it only happens when Safari is open?
    You need to explain with more detail just what is happening and when.
    Do you get a message to restart?

  • I am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

  • I keep getting authorize this computer when trying to play a song and tried all the remedies from itunes

    I keep getting authorize this computer when trying to play a song, and tried all the remedies and still no luck..I am not liking itunes rightknow

    Delete and redownload it if doing so is free in your country.
    (96953)

  • When iam starting a firefox its crash all the time.i get the crash report but it doesn't help fix it.any one had a i dea how to fix?

    my firefox crashing all the time when iam starting.i think it could have been do with a last time i used because i was in the web page which i signed in and before i closed the webpage i wasn't sign out.iam pretty sure because of that because when i starting the firefox its go to the web address i was in last time and its usually go to the homepage its not going there .
    also i can't open the email aswell 2 weeks ago its stop it won't let me sign in.if you have idea how to fix it let me know.

    Something here might help?
    http://support.apple.com/kb/HT1274

Maybe you are looking for

  • Time machine no longer backing up...please help!

    I've scanned a lot of the posts already so I'm going to try to include as much information as I can: *The last time TM performed a backup was on 3/15 of this year. (hmmm...now that I look at it...perhaps it was the Ides of March that botched it all?.

  • My phone has turned into Lionel Richie - it keeps saying "Hello"

    I jest, only because if I don't laugh I will cry. I've been holding off on updating to 7.1 because I knew there were problems with it. Earlier today my phone wouldn't connect. iTunes insisted I update, so I did. To 7.1.1 I believe. Now it refuses to

  • Java.lang.NoClassDefFoundError: IUrlGeneratorService

    I am using the following Code :- IUrlGeneratorService urlGenService =                     (IUrlGeneratorService) PortalRuntime. getRuntimeResources().getService(IUrlGeneratorService.KEY); IPortalUrlGenerator urlGenerator =(IPortalUrlGenerator) urlGen

  • CPU Jul 2009 applied to a 10.2.0.4 DB. getting ORA-01418

    Hi all I have a question about the latest Database CPU patch I have just applied it to our UAT system and I am getting the following error in the log file generated. SQL> alter index xdb.xdbhi_idx rebuild; alter index xdb.xdbhi_idx rebuild ERROR at l

  • Mail preferences ...

    Hi, The «Deleted messages» mailboxes are very confusing.  They don't seem to work the «Apple easy and intuitive way». I am trying to understand what is the difference between 2 configurations in Mail's account preferences.  What is the difference bet