PHP and Dreamweaver Spry Menu

I have been searching for help with this - I have been getting an "internal error" message when I submit the form. I was having an issue with it working but not receiving anything... so I changed the php code and now it's taking me to an error page. Need this fixed soon.... I just went to a networking meeting... please help.
I've been reading other people's posts and I just don't know enough about php to know what to change. I know how to write HTML/XHTML and CSS but with the form, obviously that's going to be harder.
I've pasted both pages below - if anyone can take a look and let me know. Thank you!
-  C
The Confirmation Page: (what's supposed to be there instead of the internal error.)
<?php
if(isset($_POST['email'])) {
$email_to = "[email protected]";
$email_subject = "Caity_FitzGerald_Designs_Contact_Form";
$message=
"Customer: ".$_POST['name'] . "\r\n" . "\r\n" .
"\r\n" .
"Email: ".$_POST['email'] . "\r\n" . "\r\n" .
"Phonenumber: ".$_POST['phonenumber'] . "\r\n" .
"BusinessName: ".$_POST['bizname'] . "\r\n" .
"\r\n" .
"Howtheyfound me: ".$_POST['referral'] . "\r\n" . "\r\n" .
"Location: ".$_POST['location'] . "\r\n" . "\r\n" .
"\r\n" .
"Servicesinterested: ".$_POST['wantedservices'] . "\r\n" .
$_POST['clientrequest']; $from=$_POST['email'];
$headers="From:$from" . "\r\n";
mail($to.$subject,$message,$headers);
?>
<!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"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Caitlin FitzGerald Designs</title>
<!-- InstanceEndEditable -->
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<!-- InstanceParam name="backgroundpage" type="boolean" value="true" -->
</head>
<body>
<div class="container">
<div class="header"><!-- end .header --><a href="index.htm"><img src="images/Caitlin-FitzGerald-Designs.png" alt="logo" width="508" height="298" class="imgcentered" /></a>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.htm">Home</a></li>
<li><a href="portfolio.htm">Portfolio</a></li>
<li><a href="services.htm">Services</a> </li>
<li><a href="contact.htm">Contact</a></li>
</ul></div>
</div>
<div class="content"><!-- InstanceBeginEditable name="edit body" -->
<p><img src="pics/surfboard-cutout.png" width="1000" height="750" alt="thanks" /></p>
<!-- InstanceEndEditable -->
<!-- end .content -->
<div class="footer">
<table width="26%" border="0" align="center" cellpadding="2" summary="Find us on these social networks and connect with us.">
<tr>
<td width="17%"><a href="https://www.facebook.com/CFitzDesigns" target="_blank"><img src="pics/facebook.png" width="42" height="42" alt="facebook" /></a></td>
<td width="17%"><a href="http://www.linkedin.com/in/caityfitzgerald" target="_blank"><img src="pics/linkedin.png" width="42" height="42" alt="facebook" /></a></td>
<td width="18%"><a href="https://twitter.com/FitzGeraldCaity" target="_blank"><img src="pics/twitterbird.png" width="43" height="42" alt="twitter" /></a></td>
<td width="20%"><a href="http://pinterest.com/caitlindesigns/" target="_blank"><img src="pics/pinterest.png" width="44" height="44" alt="pinterest" /></a></td>
<td width="20%"><a href="http://www.behance.net/Cfitz" target="_blank"><img src="pics/behance.jpg" width="44" height="43" alt="behance" /></a></td>
<td><a href="http://bit.ly/12l8tfu" target="_blank"><img src="img/g+.png" width="39" height="39" alt="google+" /></a></td>
</tr>
<tr>
<td colspan="6"> <div align="center">
<p>Caitlin FitzGerald Designs<br />
2013&copy; All rights reserved </p>
</div></td>
</tr>
</table>
<p><!-- end .footer --></p>
</div>
<!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
<!-- InstanceEnd --></html>
The Contact Form:
<!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"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Caitlin FitzGerald Designs - Contact Me</title>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<!-- InstanceEndEditable -->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<!-- InstanceParam name="backgroundpage" type="boolean" value="true" -->
</head>
<body>
<div class="container">
  <div class="header"><!-- end .header --><a href="index.htm"><img src="images/Caitlin-FitzGerald-Designs.png" width="508" height="298" class="imgcentered" /></a>
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a href="index.htm">Home</a>      </li>
      <li><a href="portfolio.htm">Portfolio</a></li>
      <li><a href="services.htm">Services</a>      </li>
      <li><a href="contact.htm">Contact</a></li>
      <p> </p>
    </ul>
  </div>
  <div class="content"><!-- InstanceBeginEditable name="edit body" -->
     <table border="0" cellspacing="5" cellpadding="0" width="100%">
      <tr>
        <td valign="top"><h1><strong>Contact</strong></h1></td>
      </tr>
      <tr>
        <td valign="top"><p>To contact me you can: call 805.291.1358 or <a href="mailto:caity&#64;caitydesignedthat.com" target="_blank">email me.</a> </p>
        <p>You can also fill out the form below and I will contact you.</td>
      </tr>
    </table>
      <form action="email_form.php" method="post" name="clientrequest" target="_blank" id="clientrequest">
      <p><span id="namefield">
        <label for="name">Name:</label>
        <input type="text" name="name" id="name" tabindex="1" />
      <span class="textfieldRequiredMsg">Please enter your name.</span></span><br /><span id="spryemail">
      <label for="email">Email:</label>
      <input type="text" name="email" id="email" tabindex="2" />
      <span class="textfieldRequiredMsg">An email address is required.</span><span class="textfieldInvalidFormatMsg">Please enter a valid email address.</span></span><br />
      <span id="sprytextfield7">
      <label for="phonenumber">Phone Number:</label>
      <input type="text" name="phonenumber" id="phonenumber" tabindex="3" />
</span><br />
Business Name<span id="biznamespry">
      <label for="bizname">:</label>
      <input type="text" name="bizname" id="bizname" tabindex="4" />
</span>
<br />
<span id="sprytextfield5">
<label for="referral">How did you hear about me?</label>
<input type="text" name="referral" id="referral" tabindex="6" />
</span><br />
<span id="sprytextfield6">
<label for="location">Where do you live?</label>
<input type="text" name="location" id="location" tabindex="7" />
<span class="textfieldRequiredMsg">Please tell us where you live.<br />
<input type="text" name="textfield" id="textfield" />
</span></span><br />
  <br />
  <span id="describespry">
  <label for="wantedservices">What services are you interested in?<br />
  </label>
  <textarea name="wantedservices" id="wantedservices" cols="45" rows="5" tabindex="7"></textarea>
  <span id="countdescribespry"> </span><span class="textareaRequiredMsg"><br />
    Please fill in a description.</span><span class="textareaMaxCharsMsg">Exceeded maximum number of characters.</span></span><br />
      </p>
      </fieldset>
      <input type="submit" name="Send" id="Send" value="Send" tabindex="9" />
      <input type="reset" name="clear" id="clear" value="Clear Form" tabindex="10" />
    </form>
  <p> </p>
    <p><a href="https://www.sitelock.com/verify.php?site=www.caitydesignedthat.com" onclick="window.open('https://www.sitelock.com/verify.php?site=www.caitydesignedthat.com','SiteLock','width=600, height=600,left=160,top=170');return false;" ><img alt="malware removal and website security" title="SiteLock"  src="http://shield.sitelock.com/sshield/www.caitydesignedthat.comhttp://shield.sitelock.com/sshield/www.caitydesignedthat.com"/></a><br />
</p>
  <div id="sitelock_shield_logo" class="fixed_btm" style="bottom:0;position:fixed;_position:absolute;right:0;">
    <p> </p>
  <p> </p>
</div>
    <script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("spryemail", "email", {validateOn:["blur"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("namefield", "none", {validateOn:["blur"]});
var sprytextfield3 = new Spry.Widget.ValidationTextField("biznamespry", "none", {isRequired:false});
var sprytextarea1 = new Spry.Widget.ValidationTextarea("describespry", {maxChars:1000, counterType:"chars_remaining", counterId:"countdescribespry", isRequired:false});
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {isRequired:false});
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "none", {isRequired:false});
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "none", {isRequired:false});
    </script>
  <!-- InstanceEndEditable -->
  <!-- end .content -->
  <div class="footer">
    <table width="26%" border="0" align="center" cellpadding="2" summary="Find us on these social networks and connect with us.">
      <tr>
        <td width="17%"><a href="https://www.facebook.com/CFitzDesigns" target="_blank"><img src="pics/facebook.png" width="42" height="42" alt="facebook" /></a></td>
        <td width="17%"><a href="http://www.linkedin.com/in/caityfitzgerald" target="_blank"><img src="pics/linkedin.png" width="42" height="42" alt="facebook" /></a></td>
        <td width="18%"><a href="https://twitter.com/FitzGeraldCaity" target="_blank"><img src="pics/twitterbird.png" width="43" height="42" alt="twitter" /></a></td>
        <td width="20%"><a href="http://pinterest.com/caitlindesigns/" target="_blank"><img src="pics/pinterest.png" width="44" height="44" alt="pinterest" /></a></td>
        <td width="20%"><a href="http://www.behance.net/Cfitz" target="_blank"><img src="pics/behance.jpg" width="44" height="43" alt="behance" /></a></td>
              <td><a href="http://bit.ly/12l8tfu" target="_blank"><img src="img/g+.png" width="39" height="39" alt="google+" /></a></td>
      </tr>
      <tr>
        <td colspan="6"> <div align="center">
          <p>Caitlin FitzGerald Designs<br />
           2013&copy; All rights reserved </p>
        </div></td>
      </tr>
    </table>
    <p><!-- end .footer --></p>
  </div>
  <!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
<!-- InstanceEnd --></html>
I used a self-made template for both pages (as you'll see in the comments... but I don't think that should affect it..) None of the other pages have been having issues.

Where is the closing bracket????
<?php
if(isset($_POST['email'])) { //NO CLOSING BRACKET
$email_to = "[email protected]";
$email_subject = "Caity_FitzGerald_Designs_Contact_Form";
$message=
"Customer: ".$_POST['name'] . "\r\n" . "\r\n" .
"\r\n" .
"Email: ".$_POST['email'] . "\r\n" . "\r\n" .
"Phonenumber: ".$_POST['phonenumber'] . "\r\n" .
"BusinessName: ".$_POST['bizname'] . "\r\n" .
"\r\n" .
"Howtheyfound me: ".$_POST['referral'] . "\r\n" . "\r\n" .
"Location: ".$_POST['location'] . "\r\n" . "\r\n" .
"\r\n" .
"Servicesinterested: ".$_POST['wantedservices'] . "\r\n" .
$_POST['clientrequest']; $from=$_POST['email'];
$headers="From:$from" . "\r\n";
mail($to.$subject,$message,$headers);
?>

Similar Messages

  • Dreamweaver / Spry Menu / iWeb question

    Hi,
    I'll try to keep this brief.  I'm not a talented web page designer... I know my way around iWeb and have poked around a bit in Dreamweaver.
    In Dreamweaver I've created a simple Spry horizontal dropdown menu.  I'd like to add that menu bar I've made into an iWeb page using "add html" snippet.   I can't seem to get to work though.  I am aware that Dreamweaver creates a folder called "SpryAssets" that is necessary for this to work, and I've attempted to move it into my iWeb root folder but still no success.
    A) Is this even possible?
    B) Can anyone walk me through how I can merge a Dreamweaver Spry Menu bar into an iWeb snippet?
    Many thanks if you can give this a quick whirl and see if its possible.

    Post-published pages do not show up in iWeb. iWeb is not an html editor that displays html pages, it generates html pages upon publish. So no. the page would not be visible in iWeb and anytime you made a change to your iWeb page you would need to publish the site, open the generated html page, and edit the html to add the spry menu.
    As you've mentioned you have already created the spry menu so you have the spry menu code. Do as I mentioned in the first post: create a text box with easy to find words, publish, open the html file, replace CODEGOESHERE with your spry menu code. Add linked js and css to head of iWeb-generated html page. An example of the code to replace with your spry menu code would look like this:
    <div>CODEGOESHERE</div>
    replace CODEGOESHERE with your spry menu code. Then in head add links to spry .js and css
    iWeb is a toy, dreamweaver is a professional tool used to develop prototypes of professional websites. You are looking for a bridge between the two which will become cumbersome. I recommend that you drop iWeb, learn html and css and use DW for your web development needs.

  • How to remove empty space in CSS table and move spry menu bar?

    Hello! I created www.stonecreekha.com about a year ago basically by watching youtube tutorials and haven't done much with it since so I've forgotten everything! In IE7, everything appears as it should; but in Firefox and IE8, the spry menu bar is positioned slightly higher than it should be (it slightly cuts off the foot of the golfer) and there is an empty space between the navigation bar and the photo. The source code can be viewed from the website. Here are some pics:
    IE7 - how it is supposed to look:
    IE8:
    Firefox:
    Dreamweaver:
    So basically, I need to know how to remove that empty space between the navigation bar and the picture, and how to move the spry menu bar down a few pixels, in a way that it looks correct in IE8 and Firefox, and preferably IE7 as well.
    P.S. I'm a noob so if you could be as specific as possible on what to do in Dreamweaver I'd really appreciate it. Thanks

    I belive it's because of the -minus margin being used on the navbar, that you will need to use a negative margin to bring up both the left and right bodyArea divs.
    Try :       margin-top: -18px;  on both divs.  You may need to play around with that to get it more precise.
    Again, not sure what effect that has on IE as I can't test it.
    If it affects IE, then you may need to feed IE a conditional comment for the placement of those divs.

  • Dreamweaver Spry menu bar focus state

    How do I keep the link highlighted when I am on that page using the Spry menu bar feature in DreamWeaver CS5.5?
    Thank you,
    Denise

    I understand what you are saying but do not have a clue how to implement this script. I am more on the designer end of things. I am comfortable editing CSS but this is a bit out of my radar. How do I make a separate SpryDOMUtils.js file?
    What and where of this info do I copy into my html file?
    Here are the pages I am trying to get this to work on. On this page I want the Dwell link on the left to be the orange color:
    http://www.techart.com/staging/DavidBWeb/press/dwell.html
    Thank you for your time.
    Denise

  • Dreamweaver "SPRY" Menu - Question on editing the CSS?

    Hi, I am using the "SPRY" menu in DW CS4
    In the CSS Styles panel there are a lot of "ul" (unordered lists) and "li" (lists) but I am unsure which ones to edit to get the changes I need below. If someone could give me some direction I would be very thankful.
    Here is the link to the website with the menu. http://www3.telus.net/~jessum/#
    How Do I ...
    1.Center the menu horizontally?
    2. Change the font style to a sans serif font?
    3. Move the menu's to the right so they're centered in the button?
    4. Add a different colored background images that will tile the width of the buttons?
    5. Change the width of the buttons?
    6. Add some "blank" buttons or empty spacers to the left and right of the menu buttons to fill up the with of the menu bar?

    Customizing Spry Menu Bar
    http://foundationphp.com/tutorials/sprymenu/customize1.php
    Centering a Horizontal Spry Menu
    http://foundationphp.com/tutorials/sprymenu/centering.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • DreamWeaver Spry Menu Help

    OK! So im pretty good with Adobe DreamWeaver and have no problem  creating or editing a Spry Menu. My issue is how to Edit a Spry Menu so  that i can add or remove topics across multiple pages, without having to  individualy edit each page.
    I am looking to have a website of over 500 Pages and i want one Spry  Menu bar that can be edited once, but changes the drop down options for  all 500+ pages that. I will frequently want to update the Spry Menu.
    If anyone here has any idea how i do that, please let me know, i have been searching google all day, with no luck.
    Thanks

    You would use a SSI file (Server Side Include)
    The idea is that you create one file (containing all the spry menu coding) and then via the server side include the spry menu coding is inserted into all of the pages that you apply it to.
    When you come to update the menu you just change the one file and upload that to your server instead of 500 pages.
    Google 'server side include'

  • Effects not appearing in Dreamweaver Spry menu

    Hi Folks,
    I've installed the Spry updater in Dreamweaver CS3 then used
    it to update the Spry assets. I selected all assets, including
    effects. All were updated (some added for the first time) except
    for effects. It does not appear in the Spry menu at all. Does
    anybody know why effects might not be available on the Spry menu in
    Dreamweaver even after being selected for update?

    quote:
    Originally posted by:
    Donald Booth
    Spry Effects are found in the Behaviors panel, in the Effects
    category.
    They are not in the Insert Panel because they aren't
    'objects'.
    I know it's hard to discover and rest assured we argued about
    it a bit.
    Hope this helps.
    Don
    Ah ha! That's it. (I can see why they belong there, of
    course, but I sure didn't think to look there.
    In case any other newbies are in the same boat, you not only
    have to select Windows/Behaviors, which will bring up the Behavior
    panel, you then need to select an element (like a div) to which you
    want to apply the effect, click on the plus sign in the behaviors
    panel, then select Effects from the list.
    Thanks for the help, Don.

  • Dreamweaver Spry Menu Not Working Properly

    Hello,
    I'm putting a horizontal spry menu bar into a table cell (I haven't had the time to learn how to use divs yet and tables have been working fine for me).  I have 6 items in the menu with 2 or3 drop down menus for each one.  When I view it in live view, when I roll over the menu items, the whole bar drops down to the left side and becomes vertical.  Why is this happening?  It is shorter than the table cell so that shouldn't be the problem.  Thank you for your help. 

    Okay, this is crude, but it's as far as I got.  Only some of the buttons cause the menu to move down.  Please keep in mind that I am a designer, not a programmer.  I'm learning, but am very weak when it comes to coding knowledge.  Thanks.
    http://littlechisel.com/Ideal_Window/

  • Dreamweaver Spry Menu not working on I pad

    Hi
    I have built a website and currently have issues with the spry menu bar not working with the ipad i phones etc.
    When you press the link the dropdown menu does not appear.
    Any help would be greatly appreciated.
    The website is www.jkwindowsanddoors.co.uk and the link is the products in the spry menu bar.
    Many Thanks

    The Spry menu system was created prior to the advance of touch screens. The action that causes the Spry sub-menu to appear is the hover event, an event that does not exist in touch screen technology.
    What I am trying to say is that the Spry menu system cannot be used for touch screens. You are better off using pure CSS menus or jQuery menus.

  • Mysql, PHP, and Dreamweaver

    Hi!
    I am struggling with the mysql connection problem with
    Dreamweaver 8.02 on the mac. I downloaded the trial version of both
    the Windows and the Mac of Dreamweaver. On the Windows side, I can
    put all my information in and it connects to the database fine.
    However, if I duplicate every single entry for the server
    information on the Windows side to the Mac side, I get the never
    ending problematic "404 File Not Found" error message and
    "unidentified error" message that keeps popping up.
    Even furthermore, after checking the web server logs, when I
    test the mysql connection on the Windows end, I see a post on the
    web server. When I check it from the mac end, I see nothing on the
    web server.
    I have used Dreamweaver in the past on the mac side, and I
    have always struggled with getting this to work. Why am I having so
    many problems with it and how can I resolve them?
    Thanks in advance...

    wiz561 wrote:
    > However, if I duplicate every single entry for the
    server information on
    > the Windows side to the Mac side, I get the never ending
    problematic "404 File
    > Not Found" error message and "unidentified error"
    message that keeps popping up.
    This is probably a result of the testing server definition on
    your Mac.
    The normal location for dynamic sites on a Mac is in the
    Sites folder of
    your home folder. The URL prefix for this translates to this:
    http://localhost/~username/
    Not
    http://localhost/ as on Windows.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Fireworks CS3  and Dreamweaver CS3 (Menu problems)

    I am trying to develop buttons in fireworks, import them into Dreamweaver, but for some reason it it cause my menu at the top of the page to expand outward. Take a look here. http://www.gcfa.org/episcopal-revision.html Any help would be great. Thanks in advance.

    I figured it out. It was really stupid and to tell you the truth I am not sure what happened. But I fixed it by taken out all of the menu and redoing it.Weird huh! Thanks anyway.

  • What replaces the CS6 spry menu bar in dreamweaver creative cloud 2014?

    Hi,
    Previously I used Dreamweaver CS6 and the spry menu bar widget (horizontal).  I do not see this in Dreamweaver CC 2014.  I am looking around in the Insert Panel (jQuery UI) but don't think a spry menu bar equivalent is listed.
    Is there such an equivalent built into Dreamweaver CC 2014?

    Basic CSS drop-menu
    CSS Menu - JSFiddle
    Advanced drop-menu with CSS gradients & transitions
    CSS Horizontal Drop-Menu - JSFiddle
    PVII's Pop-Menu Magic3 (commercial DW extension)
    http://www.projectseven.com/products/menusystems/pmm3/index.htm
    jQuery Superfish
    http://users.tpg.com.au/j_birch/plugins/superfish/
    Responsive Iconic
    http://www.dynamicdrive.com/style/csslibrary/item/responsive_iconic_menu/
    Responsive Hybrid
    http://www.dynamicdrive.com/dynamicindex1/responsivehybridmenu/index.html
    Nancy O.

  • Please can someone provide me with Spry Menu Bar Horizontal code for Dreamweaver CS5.5?

    Please can someone provide me with Spry Menu Bar Horizontal code for Dreamweaver CS5.5?

    Log-in to the Adobe Exchange with your Widget Browser and grab "Spry Menu 2.0."
    http://labs.adobe.com/technologies/widgetbrowser/
    In Widget browser, style the menu as desired and Save files to your DW Local Site folder.
    Nancy O.

  • Using MySql and PHP with Dreamweaver on a Mac

    Hello all,
    As always if the answers to these questions are obscenely
    obvious please humour me.
    I use XHTML and CSS in my websites and realise that it is
    time that I dabbled with SSI. So I've started using PHP.
    However, I have been following the installation directions of
    MySql and am running into problems. I am installing the relavent
    software and am then unable to find it on my Mac, the startup files
    are there but the actual MySql data appears to not be installed
    despite my computer telling me it is...... I am using a G3 running
    OSX 10.4 is this good enough? I noticed talk of needing a PowerPC
    or Intel mac. Is this the case?
    Also, would I need MySql installed on my actual computer if
    the my servers have it already? And does Dreamweaver 8 have both of
    these programs installed as standard?
    If you could help out I would be very appreciative as I would
    like to learn this stuff and I appear to be struggling at the
    outset....
    Cheers
    M.A

    M.A.Wilson wrote:
    > However, I have been following the installation
    directions of MySql and am
    > running into problems. I am installing the relavent
    software and am then unable
    > to find it on my Mac, the startup files are there but
    the actual MySql data
    > appears to not be installed despite my computer telling
    me it is...... I am
    > using a G3 running OSX 10.4 is this good enough? I
    noticed talk of needing a
    > PowerPC or Intel mac. Is this the case?
    MySQL is a relational database management system that
    comprises a
    database server and several utility programs. Although you
    install it
    like any other program on a Mac, the similarity stops there.
    First, the point about PowerPC and Intel Macs is that there
    are
    different versions of the MySQL installer for each type of
    processor.
    I'm pretty sure that a G3 is OK, but you must choose the
    PowerPC version
    of MySQL, not the 64-bit or x86 (Intel Mac) version.
    Once you have installed MySQL, you need to drag the
    MySQL.PrefPane icon
    from the disk image onto your System Preferences. This
    installs a
    Preference Pane that enables you to start and stop MySQL. The
    Preference
    Pane has an option to start up MySQL automatically, but in my
    experience, it doesn't work on Tiger. You need to open the
    Preference
    Pane, and click Start MySQL Server each time you start your
    computer.
    The best way to work with MySQL is to use a graphical
    interface, such as
    phpMyAdmin. As Osgood has mentioned, I have written a book
    about PHP and
    Dreamweaver, which goes into all the necessary details. It's
    also very
    Mac-friendly with separate instructions where necessary for
    PC and Mac.
    More details here:
    http://foundationphp.com/dreamweaver8/
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Spry menu how to different hover background for submenu options??

    Hi
    CS4 dreamweaver, Spry menu.
    I am trying to design a spry horizontal menu such that the main menu bar boxes accross the top all share a background image and a hover image.
    I would like all the boxes in the dropdown area to share a diferent background and hover image.
    My problem is in the hover styles. In particular, when the main menu bar accross the top has an option that is not a submenu.
    The target css rule is "ul.MenuBarHorizontal a:hover" and is used for any link that resides on the menu bar as well as for links that reside in the dropdown area. I wish to distinguish (via background image, and background hover image) the two types of buttons.
    The other challenge is that my menu is dynamic and is using a spry dataset to drive it.
    I guess i need a  "ul.MenuBarHorizontal ul li a:hover" or something like that.
    I hope that i am explaining myself.
    Anyone run into this?
    Thanks
    Jerry C

    Hi - I just read
    The other challenge is that my menu is dynamic and is using a spry dataset to drive it.
    Some time back I did the same for a number of websites - and then realised that search engines dont read the data. ie - the links and they could not be followed since they needed to be generated on the fly in the browser.. So as a result, Google was not going thru my nav menu links.
    I then changed to another method (PHP / MySql) for my dynamic menus.
    My menu system has some extra CSS to style the subnavs and the currently selected page.
    Just my 2bobs worth. Hope it is of some use..

Maybe you are looking for

  • Problem in getting attribute from request.

    HI I have a JSR 168 portlet which was earlier running in tomcat 6 and liferay...i'm now migrating that in webcenter portal framework 11g. after migration when i run it ... i have set some attribute in actionRequest class of processAction method in my

  • Where clause in UPDATE statement is ignored

    I have the following procedure that updates a field in a table. The only problem is that all rows in the table are updated like the update statement doesn't have a where clause. When I hard code the number (733) in the where clause it works as expect

  • Can no longer update my apps :(

    Hi. I'm new here and well I had to change my apple Id. I had to change the the email I was using and the password I was using. Well every since I did that I can no longer update my older apps. I find It ridiculous that it wants me to use my old passw

  • Box shading and tickness problem in smartforms Mainwindow

    Hello all, Can anyone guide me how to reduce shading and thickness of table frame lines? Also in main window table is displayed with dark black shad and with much thickness. how can i reduce this shade and thickness. for LP01 Device it is working fin

  • 1.77 widescreen and still letterboxed!

    I have a 1024x768 widescreen (16x9) 42" plasma (HD Ready). Mac Mini connected with HDMI and set to 1024x768 stretched. I picked a movie which is exactly 1.77 aspect ratio (16x9) and when played using Front Row or DVD Player, I get a black bar on top