Jump to content

pecos

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Everything posted by pecos

  1. Look no further. There is no "Run" button. Dreamweaver doesn't have a built-in PHP-debugger. Click on "Preview/Debug in Browser" and (if you have a web server with PHP installed) you'll see the result in action. Dreamweaver is an excellent HTML editor, but it's sub-standard as a PHP editor. If you want more, you should try a dedicated PHP editor like Komodo, Zend Studio or PHPEclipse. There are lot more. If you're looking for something free, I'd recommend PHP Designer.
  2. Maybe the include_path hasn't changed, because you haven't restarted Apache yet. Or maybe you have edited the wrong php.ini. (The phpinfo page tells you which ini-file the server uses.) This forum is for people who hack PHP itself or who write extensions. You should post configuration problems in the "PHP Help" forum.
  3. While Dreamweaver is certainly a superb HTML editor, it's mediocre at best as a PHP editor. Check out Komodo, Zend Studio, PhpEclipse or PHPEd... Here's a nice resource for PHP-editors.
  4. Show us the PHP code! Otherwise there's not much we can tell you.
  5. The TIME data-type doesn't include date-information. Use DATETIME, if you want both. Here are MySQL's date and time related function. To insert the current date, time or datetime use NOW(). And you would select today's quotes like so: [!--sql--][div class=\'sqltop\']SQL[/div][div class=\'sqlmain\'][!--sql1--][span style=\'color:blue;font-weight:bold\']SELECT[/span] * FROM quotes WHERE DATE(quoteAdded) = CURDATE(); [!--sql2--][/div][!--sql3--] (Note: Works with MySQL 4.1+)
  6. As far as I know, it's not possible without editing the source. Dreamweaver's layer tool is a bit of a crutch, mind you. These might help: http://www.yourhtmlsource.com/stylesheets/csslayout.html http://www.w3schools.com/css/pr_class_position.asp There's a forum here, called "website-critique". You might want to post this question there. Me, I only give tech-advice here. (In my experience people take design-advice far more personal than tech-advice. So I only give design-advice in person.) And good luck with the job!
  7. Let me try to detail that advice a little: absolute positioning can indeed completely mess up your layout. I think it's best suited for special effects. If you want to embed items into the flow of a page, you should use relative positioning instead. As for the site: There are no <div>'s with absolute or relative positioning, so I don't know what you want me to look at. From where I'm sitting the page looks identical in IE and if Firefox, which is good. It also survives Firfox' text zoom relatively well. Technically the site is okay as is. Is this a school assignment of some kind? If so, is it a tech assignment or a design assignment? Cause, I'm not so sure about the design.
  8. The word "layer" has two meanings: A concept by nescape, that never made into the HTML standard, was never adopted by Internet Explorer and that was dumped when Netscape "transformed" into Mozilla. I suppose, this is the one, you've been warned about. Dreamweaver uses the word "layer" for Netscape4's layers and <div>'s with absolute positioning. The latter are a perfectly valid construct, that is supported in all current browsers. So, yes, Dreamweaver's layers are safe to use.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.