Thanks so much jpadie! Both the sql and php functions worked the way I was looking for.
I created a php function that would work more like the sql date_add function, where you could increment days, months, or years.
Thanks again for the prompt response!
I have a date field in a mysql table. Say dUpdated(date)
I want to increase the date by 120 days and keep it in a date format.
I tried
$dUpdated = mktime(0, 0, 0, date("m") , date("d")+120, date("Y"));
but that returned an integer. How can I increase in and keep it in a date format? Any help...
Actually I managed to make it work. With the use of CCS. Notice the negative value on the text-indent.
.cIndent {
text-indent: -25px;
padding-left: 25px;
padding-right: 10px;
}
and then applied the class to the following
<input name="radiobutton" type="radio" value="radiobutton" />...
Little rusty on my html. Can anyone remind me how to create a radio button so that the paragraph text don't fall under the radio button when it wraps around?
ie
. This is some text
for a form
instead of
. This is some text
for a form
Thanks!
Thanks Vacunita! That's exactly what I was looking for. For anyone trying this, the code seemed to only be missing a semi-colon (before the "width" text. It just showed nothing until I put the semi-colon in.
<div style="background:URL('images/login_bg.jpg'); width:100px; height:250px;">
As...
I'm not sure if this is a html or even a javascript question, but does anyone know how I can put my input fields on a picture? ie when you go to paypal.com the account login screen is on a metalic looking background.
Any help would be appreciated!
Does any one know how to over ride VFP9 RANDOM decision on if it will make my picture on a button have a transparent background. I had a png picture of a pencil on a button. Looked great, but was too big. So I made it smaller, saved it in photoshop and now it has an ugly white background...
Just wondering, if I have a block of code to go through a list of records. Say
while ($row = mysql_fetch_assoc($result)) {
echo $row["userid"];
echo $row["fullname"];
echo $row["userstatus"];
}
Is there a way to reset the list, so I can go through it again? Or do...
That's something like I'm trying to do. I'm trying to make that "onchange" method issue a submit (like the button does). Here's my latest attempt.
<form action="" method="post" name="category" id="category">
<select name="cCategory" onchange="javascript:document.theForm.submit();"...
That onchange looks promising. My list is created by php code and then it calls itself with a submit command. Not sure if your familiar with php, but it's like this...
<select name="cCategory" id="cCategory">
<?php do { ?>
<option value="<?php echo $row_rsCategory['NAME']?>"><?php echo...
Maybe this is easy and I'm retarded :) But I have a web site that has a pull down and then the user clicks the "Show Index" button underneith.
Is it possible to just immediately do the "Show Index" statement without them having to press the button. Ie Not have the button and just run the...
Maybe this is easy and I'm retarded :) But I have a web site that has a pull down and then the user clicks the "Show Index" button underneith.
Is it possible to just immediately do the "Show Index" statement without them having to press the button. Ie run the command when they select and item...
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.