Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Deb P
Tattoo artist just starting out in the world! Work keeps me very busy. i love my job and eat sleep and breathe it like many artists, which my other half simply doesnt understand. Originally from england but now i live in VA. Besides art i love music (play piano), and i can kick Halo ass while on strong coffee.
What Kind of themed decor suggestions for a firehouse wedding?
My fiance and I are getting married next September in a firehouse in DC, we're then having the reception at a nearby hall (which happens to be attached to another firehouse. He's a firefighter and he chose the location. I have always been into very formal elegant affairs, so they are going to be in navy dress uniforms etc. The wedding colors are Aubergine, Sage and Cream. I've got all my froofy stuff planned with no problem, but I have no clue about adding "firefighter" touches to stuff that aren't horrendously cheesy. I'm not allowed to put anything on the engines, or some of the equipment inside.
First thing I'm going to take 360 degree shots of everything and work ideas from there.We live a few hours from DC so its not exactly easy to pop in and think of things.
So.......with all that in mind, I really need help with ideas for decor that's theme related.
1 AnswerWeddings1 decade agoPHP passing a value from an HTML form?
I need to add a statement to the end of this script that calls the checkgrade() function and passes to it the value from the grade form variable. Here is my code, I have updated it to show how I think it should be but I am still recieving an error.
<?php
function checkGrade($Grade) {
switch ($Grade) {
case "A":
echo "Your grade is excellent.";
break;
case "B":
echo "Your grade is good.";
break;
case "C":
echo "Your grade is fair.";
break;
case "D":
echo "You are barely passing.";
break;
case "F":
echo "You failed.";
break;
default:
echo "You did not enter a valid letter grade.";
}
$Grade = checkGrade
($Grade = $_GET["Grade"]);
echo "<p>$Grade</p>";
?>
I have an HTML form I am using that has the Get action from this php, with a single text input named Grade. Both validate on W3C. However I am getting an error parsing from the form to the function.
2 AnswersProgramming & Design1 decade agoPHP: Calling a function and passing a value to a variable?
I need to add a statement to the end of this script that calls the checkgrade() function and passes to it the value from the grade form variable. I have the form etc already programmed out, and I have a rough idea how to do this but I'm a little confused if I am on the right path or not. Here is my code, and how I think the statement should be written, but I would like another opinion or two before I try and finalise it on the server:
<?php
function checkGrade($Grade) {
switch ($Grade) {
case "A":
echo "Your grade is excellent.";
break;
case "B":
echo "Your grade is good.";
break;
case "C":
echo "Your grade is fair.";
break;
case "D":
echo "You are barely passing.";
break;
case "F":
echo "You failed.";
break;
default:
echo "You did not enter a valid letter grade.";
}
?>
statement:
function checkGrade($_GET["Grade"]
I have an HTML form I am using that has the Get action from this php, with a single text input named Grade.
2 AnswersProgramming & Design1 decade agoLoops and functions in Visual Basic?
ok, i have a project that im working on and i cant seem to get it to function. the program runs, but instead of displaying the rate like i need it only shows the words. Here is my code. and the instruction for the program. Ive spent 2 weeks working on this and still cant figure it out.
Write a program to solve the following problem: A TV set is purchased with a loan of $563 to be paid off with 5 monthly payments of $116. The interest rate is 1 percent per month. Display a table giving the balance on the loan at the end of each month.
Public Class Form1
Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click
Dim month As Integer = 1
month = 1
Do Until month = 5 'Repeat loop until month is 5
If month > 5 Then Exit Do ' if month is greater than 5 end the loop cycle
month += 1
DisplayTtl(563)
Dim fmtStr As String = "{0,12} {1, 4:c2}"
ListBox1.Items.Clear()
ListBox1.Items.Add(String.Format(fmtStr, "Month", "Rate"))
ListBox1.Items.Add(String.Format(fmtStr, "month", "rate"))
'KNOW this is the problem line, just not sure what it should be instead to make it display the ascending months and descending rate
Loop
'No end if statement needed because no if statement used above
End Sub
Private Function DisplayTtl(ByVal balance As Double) As Double
Dim rate As Double
'Show rate as the balance with interest less monthly amount
rate = (balance * 0.01) - 116
Return rate
End Function
End Class
3 AnswersProgramming & Design1 decade agoCan whipped cream stand overnight?
Im making desert for tomorrow night and both my recipes require whipped cream as a topping/filling. i dont have any gelatin and i dont have time to run to the store. Can i make it and leave it or will it weep/end up flat? should i just cut my losses and risk having to rush it tomorrow?
8 AnswersCooking & Recipes1 decade ago