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...
...For example, when you want:
Header 1
Paragraph 1
Paragraph 2
...
Use the adjacent selector method. For example:
h2+p {
margin-top: 0; /* this will only affect a paragraph that immediately follows h2 */
}
h2 {
display: inline; /* this is required. */
}
I added this new posting...
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...
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...
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...
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...
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...
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.
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 =>...
After more experimentation, I came up with this solution which achieves the goal. Let me know if you come up with anything better.
p {
margin-top:0;
margin-bottom: 1em;
}
h1,h2,h3 {
margin-top:0;
margin-bottom:0;
}
I am trying to find out the PREFERRED method to display a header <h1> followed by a paragraph <p> where the paragraph starts on the next line. As shown.
HEADER TEXT
Paragraph text
Not:
HEADER TEXT
Paragraph text
This is the code that I think should work, but the <p> causes a line break...
traingamer:
The server? I thought a meta tag, like this one:
<meta http-equiv="refresh" content="60">
would cause the browser to request the page every minute.
BillyRayPreachersSon:
Yes, that is what I do manually and what I want to automate.
spamjim:
A browser add-on that would refresh...
My PC is 100% secure in my home office. Is there a way to prevent (or better yet, change the value of) session timeouts during on-line banking or other connections that timeout?
Thank you all for your responses.
Summary and Conclusions:
1. print "Location: http://www.msn.com\n"; definitely works.
2. the CGI version also definitely works:
use CGI qw(:standard);
...
print redirect('http://someurl');
HOWEVER, THE CHIEF CAUSE OF THE FAILURE IS THE OUTPUT SOMEWHERE IN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.