I am learning/trying to learn CSS from a book, Beginning CSS Web Development ... It eludes to the following
/* I saved this as container.css */
/* Define styling of our reusable box */
.box {
margin: 10px;
padding: 20px;
border: 1px solid #000;
}
/* Make text red only for paragraphs...
...UTC offset from Windows XP machines.
Long version
I am parsing Unix log files which of course use the Unix Epoch and UTC.
1241639502.989 - ( 60 * 60 * 5) = 5/6/2009 2:51:42 PM via dateadd() unless of course it is daylight savings time, then it is an hour later. I added a checkbox for...
Thanks, someone on the UbuntuFourms hit it right on the head. The -d switch was putting it into debug mode so no changes were actually being made.
The really sad part is I had actually printed out the man pages and highlighted the verbiage of all the switches I was using. I guess I read one...
...to test my config files so I did the following, as root.
Created a log file
ls /bin > /tmp/log/bin.log
Created a config file, rotate
/tmp/log/*,log {
rotate 2
create 666 root root
missingok
sharedscripts
}
Forced the logs to rotate from within the same directory as the log and...
I am trying to duplicate the Nutrition Facts label using HTML. I have the basic layout covered and now want to be able to add a new unit of measure of it is not listed.
I have
<tr><td>Serving Size</td>
<td><input type='text' name='servingCount'></td>
<td>
<select name='servingName'>...
All drivers are current, I can type the gettysburg address and still only get the black screen.
I never saw the sense in loading in safe mode when holding the power button until it dies then selecting normal works.
I have to admit I am not a Vista fan, it is worse than the Millennium Edition...
Sigh, what an incredible piece of crap.
HP Pavilion db6000
2 gig ram
160 gig hdd
Windows Vista Home Premium
The screen goes black after moving the mouse if any of the stock screen savers come up for more than 1 minute. As in all I get is a black screen with a white pointer.
Power settings are...
You would be correct in questioning my memory. I was thinking of a new machine my Doctor had purchased. He opted (wisely) for the XP downgrade option hence the rdp working.
Ed
Dell System 116B Desktop, Vista Home Premium, Wired
HP Pavilion Laptop, Vista Home Premium, Wireless
Compaq Presario Laptop, Vista Home Premium, Wireless
Compaq Presario Desktop, Vista Home Basic, Wired
Dell Latitude, XP Pro, Wireless
D-Link DGL-4300
I have turned off the firewall & antivirus...
Thanks, I'll look at the browser right after I get this working :-).
mysql> update table requests set listid = {select listid from lists where listname = 'Blacklist'} where urlid=89;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server...
I have these tables, sorry, old joke.
Is something like the following possible:
update table requests set listid = {output of "select listid from lists where listname = 'blacklisted'") and requestid = 89;
or do I have to make 2 separate queries?
Ed
OK, almost there, I should have warned you I am rather thick.
On the table building page
echo "<td><input type='text' name='list[]' value ='".$row[1]."'</td>\n"; // listName
page source view
<td><input type='text' name='list[]' value ='Blacklist'</td>
I changed all 5 of the text boxes to...
I am starting at the level that makes the most sense to me, I do/did not see any other place to start. The samples I have found are so convoluted that I ended up more confused then when I began. Perhaps I am making this harder that it really is.
I am working with a demo query that returns 5...
Thanks, could you give me an example using the output from a mysql query ($result)?
Currently I have this to build the table:
while($row = mysql_fetch_array($result)){
echo "<tr>";
echo "<td width='10%'>$row[0]</td>"; // urlID
echo "<td width='10%'>$row[1]</td>"; // listName...
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.