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...
Thanks for the posts so far! Actually we're fortunate in the sense that we know all our users are windows. So we don't have to worry about cross platform. Our IT department has a broad range of programmers. Some VB, VFP, Powerbuilder, PHP, Java .... this is why management wants us to go in...
The company I work with is planning to go to full out Java (gasp)! I'd try to protest, because I've heard such good things about .NET. But to be honest, I know little about either.
Does anyone know of some sites that compares the two (a non technical description that a manager can understand...
Actually I did some more digging and found out the install sheild lets you install to the user's %systemfolder%. So all I had to do was put the vfp500.dll and others in there.
Thanks for the replies. Hopefully this thread will help others using good ol' VFP5!
We were hoping to use the InstallShield Express that comes with VFP 7 to install our VFP 5 application (long story as to why we haven't upgraded to 7,8 or 9 yet!). But when I go to Objects/Merge Modules, it only lists VFP 7 Runtimes. Am I SOL?
Any suggestions would be greatly appreciated. Thanks!
I could write it myself but why reinvent the wheel if it's already out there.
Does anyone know where I could find a function that could convert numbers to words (for checks, etc).
ie
=convert(1212) would return "one thousand two hundred twelve
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.