Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gnubie

  1. gnubie

    Paragraph spacing when preceded by a header

    To Chris Hunt -- Good point. You are right. A display: inline is not specifically needed, but to eliminate the space, one needs either the display: inline or margin-bottom: 0 statement. So, you can eliminate the new line (w/display: inline) OR make the new line have 0 space (margin-bottom...
  2. gnubie

    Paragraph spacing when preceded by a header

    thread215-1530910 If you want a single line break before each paragraph, but when preceded by a header, you want the paragraph to be on the next line (WITHOUT a BLANK line) use the adjacent selector method. For example, when you want: Header 1 Paragraph 1 Paragraph 2 ... Use the adjacent...
  3. gnubie

    Missing echo new lines

    Feherke: Thanks. That was exactly the problem. GN
  4. gnubie

    Missing echo new lines

    <?php /* Windows XP-SP3, PHP 5, Firefox 3 Expected: Line 1 Line 2 Got: Line 1 Line 2 Why are newlines missing? */ echo "Line 1\n"; echo "Line 2\n"; ?>
  5. gnubie

    Error: Cannot load mysql extension. Please check your PHP configuratio

    Also added: extension=mysql.dll Some more questions come to mind: 1) Where is the phpmyadmin error log file? Couldn't find it. Nothing in the Apache error log. 2) Is there a way to learn where phpmyadmin was looking for the extension? 3) Any other related configuration parameter (besides...
  6. gnubie

    Error: Cannot load mysql extension. Please check your PHP configuratio

    On WinXP(SP3) I installed php, runs ok. Then installed MySQL. Installed and started ok. When I do http://localhost/phpmyadmin/index.php I get phpmyAdmin Error: Cannot load mysql extension. Please check your PHP configuration. php_mysql.dll IS present in php ext folder. php.ini: extension_dir...
  7. gnubie

    PHP 5.2 and later - install problem

    Thank you for the 5.2 installer link. I DID overlook that.
  8. gnubie

    PHP 5.2 and later - install problem

    I am running WinXP w/Apache 2 server installed. The PHP instructions baffle me. They say: Windows Installer (PHP 5.2 and later) The Windows PHP installer for later versions of PHP is built using MSI technology using the Wix Toolkit (» http://wix.sourceforge.net/). It will install and...
  9. gnubie

    height: 100% does not work in FireFox

    Thanks so much for your response. Yes the code was convoluted from every desperate attempt to fix the problem. Below is a cleaner version of the code that is closer, but still doesn't expand to 100%. Assistance is still needed. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"...
  10. gnubie

    height: 100% does not work in FireFox

    I cannot get the height: 100% to fill the viewport in FireFox. I've read a lot of solutions to this problem and implemented them, but still NOT working. Tek-Tips is my last resort. I've validated both the HTML and the CSS -- no errors. Here's the code: <!DOCTYPE html PUBLIC "-//W3C//DTD...
  11. gnubie

    hash initialization

    As Scott suggested, this is the short version of what I am doing. It works well: %article { title => 'The Root Cause', headline => '', outFile => '', } $article{headline} => "$article{'title'}", $article{outFile} => "../financial/$article{'title'}.html", I only have to initialize the...
  12. gnubie

    hash initialization

    I simplified the example. The actual code is more complex. I want to be able to reuse parts of identical code without having to retype it at every instance. I want to change just the title value and have it replicated where needed. The list is long and there other values to be replicated...
  13. gnubie

    hash initialization

    Thanks for the tip. That will work just fine.
  14. gnubie

    How to display a header and paragraph separated by only one line break

    Thanks for the explanation and tip. I did checkout the references regarding compact and run-in and found it to be too brief. Including my favorite, W3C. It pretty much says "... depending on the context, blah blah. I wanted to know what context caused what behavior. Sigh. I'll keep looking.
  15. gnubie

    hash initialization

    I want to initialize a hash using a value declared immediately before the current one. For example (below), I declared title and initialized it to 'The Root Cause'. Then I want to use the value of title in the declaration of headline. %article=( title => 'The Root Cause', headline =>...

Part and Inventory Search

Back
Top