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.
Geek Squad
PHP subtract form mySQL?
I have a mySQL database with points.. And you can spend them. How can you subtract a value form mySQL?
3 AnswersProgramming & Design1 decade agoWhat is wrong with this PHP if statement?
<?php
if($POST_["to2"] != "")
{
$to = $_POST["to"] . ', ';
$to .= $_POST["to2"];
}
else
{
$to = $_POST["to"];
}
$subject = $_POST["subject"];
$message = $_POST["message"];
$from = $_POST["from"];
$name = $_POST["name"];
$headers = 'From: ' . $name . ' <' . $from . ' >' . "\r\n";
$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to, $subject, $message, $headers);
echo '<script type="text/javascript">
history.go(-1)
</script>';
?>
This script only sends the email to the first person even IF to2 isn't blank.
2 AnswersProgramming & Design1 decade agoWindows 7 error with GDIPLUS.DLL?
I'm running Windows 7 Beta Build 7000 and when I go to open some applications I get bombed with this error.
Title Bar:
conhost.exe - System Error
Body:
(Critical X Sign) The program can't start because gdiplus.dll is missing from your computer. Try reinstalling the program to fix this problem.
(OK button)
I've already reinstalled W7 once and I don't want to do it again. Putting the file in C:\Windows\System32\ doesn't help either because it just gives me another error saying that it is not designed to do the job at hand. regsrv32 doesn't help with it either. It loads the module but can't load something else. I would like to get this resolved quickly.
--Thank you.
1 AnswerSoftware1 decade agoI can hear my mom having sex?
it happens at like 1:30 and I can hear the grunts and moans. how do I confront this. she has a boyfriend
22 AnswersTeen & Preteen1 decade agoChoose random variables with set variables in vb2008.?
I want to choose 5 variables at random using set variables. How can I do this? It has to be in VB2008.
1 AnswerProgramming & Design1 decade agoWeird PS2 Disc Read Errors?
I was using the swap trick (with a credit card) and it got stuck. I opened up my PS2 (warranty had already expired) and moved it, closed it, and plugged it in. Now it reads for a long time and gives me DRE's. I don't know how to fix this. It's a old PS2. Like one of the bulky ones.
2 AnswersPlayStation1 decade agoDreamweaver Centering?
I am making a website with Photoshop and Dreamweaver. I imported the Photoshop generated files and edited some things. I made two DIVs. One for main content and the other is a title that goes on a content bar (it says "Test" on the website). The images are centered. In Dreamweaver everything shows up aligned. The word "Test" is lodged on the bar nice and snug. The only problem is when you load the page it is way to the left! The website (so you can see what it looks like) is http://www.higheredkillers.pippin418.com/new/ (yes "highered" is spelled wrong). The Dreamweaver screenshot is at http://www.pippin418.com/d_problem.jpg . How can I make it look like it does in the screenshot on the Web?
2 AnswersProgramming & Design1 decade agoBatch file crashes..?
I have this code:
# COPY AREA START!!! #
:copy
cls
set /p copy_file_orig=Where is the file you want to be moved (C to go back)?
if %copy_file_orig% == C goto life
set /p copy_file_new=Where do you want it to be?
set /p copy_file_del_bq=Would you like to use the binary file function and delete the original file after the move (Y/N Usually the answer is no)?
if %copy file_del_bq% == Y goto copy_del_b
set /p copy_file_delq=Would you like the original file to be deleted after the move (Y/N)?
if %copy_file_delq% == Y goto copy_del
set /p copy_file_bq=Would you like to use the binary file function (Y/N Usually the answer is no)
if %copy_file_bq% == Y goto copy_b
cls
set /p copy_file_ver=You want to copy %copy_file_orig% to %copy_file_new% (Y/N or C to go back)?
if %copy_file_ver% == N goto copy
if %copy_file_ver% == C goto life
copy %copy_file_orig% %copy_file_new%
echo File copied.
pause > nul
goto life
:copy_b
cls
set /p copy_file_ver=You want to copy %copy_file_orig% to %copy_file_new% using the binary file function (Y/N or C to go back)?
if %copy_file_ver% == N goto copy
if %copy_file_ver% == C goto life
copy /b %copy_file_orig% %copy_file_new%
echo File copied.
pause > nul
goto life
:copy_del
cls
set /p copy_file_ver=You want to copy %copy_file_orig% to %copy_file_new% and delete the original file after the move (Y/N or C to go back)?
if %copy_file_ver% == N goto copy
if %copy_file_ver% == C goto life
copy %copy_file_orig% %copy_file_new%
echo File copied.
del /q %copy_file_orig%
echo Original file deleted.
pause > nul
goto life
:copy_del_b
set /p copy_file_ver=You want to copy %copy_file_orig% to %copy_file_new% using the binary file function and delete the original file after the move (Y/N or C to go back)?
if %copy_file_ver% == N goto copy
if %copy_file_ver% == C goto life
copy /b %copy_file_orig% %copy_file_new%
echo File copied.
del /q %copy_file_orig%
pause > nul
goto life
# COPY AREA END!!! #
Whenever I hit N to the set /p copy_file_del_bq=Would you like to use the binary file function and delete the original file after the move (Y/N Usually the answer is no)?, It crashes. Did I program this wrong? The code is a snippet.
1 AnswerProgramming & Design1 decade agoMy WiFi connection is slow?
On my main computer i have a 78 KB/S speed. On WiFi I usually get right around there. I recently re-installed Windows XP on my WiFi connected computer. Unfortunately, my speed usually hangs around 20 KB/S. How can I fix this. I use Linksys.
2 AnswersComputer Networking1 decade agoSound driver? New XP install?
I just re-installed Windows XP and I can't hear any sound. I have a headset plugged in. I checked my speakers and it says nothing is installed. I cannot find the driver to install. Please help me get my sound (and if at all possible my microphone recording ability) back.
2 AnswersOther - Hardware1 decade agoHow can you use the word "detriment" in a sentence?
Meaning damage or injury how can I use this in a sentence?
5 AnswersWords & Wordplay1 decade agoXP color problems, 98 to XP?
I installed XP over 98 and changed the RAM but the colors are screwed up. How do I fix this?
1 AnswerDesktops1 decade agoYes annoying sixth grader, deal. Problems...?
I'm in 6th grade (please dont post your too young to be dating or stuff like that) and theres this really hot girl that im a friend with. We like each other friend like and she asked my if she should go out with this guy. So then I had to tell her how I liked her (she had just broken up with another guy) and I made promises and stuff and I could tell she was leaning toward me. But when she though about it she said she didn't want a boyfriend. Now I plan to ask her tomorrow why and try to change her mind. Do any girls know what I should do in general? Like what I should say or when? Because like 3 days ago she broke up with one of my friends. Well he broke up with her. But I really like her. And I was waiting to find the right person and I can tell she is. She's pretty, no, she's hot and still likes me. So what should I do?
9 AnswersSingles & Dating1 decade agoHow do I make this work?
I'm in 6th grade (please dont post your too young to be dating or stuff like that) and theres this really hot girl that im a friend with. We like each other friend like and she asked my if she should go out with this guy. So then I had to tell her how I liked her (she had just broken up with another guy) and I made promises and stuff and I could tell she was leaning toward me. But when she though about it she said she didn't want a boyfriend. Now I plan to ask her tomorrow why and try to change her mind. Do any girls know what I should do in general? Like what I should say or when? Because like 3 days ago she broke up with one of my friends. Well he broke up with him. But I really like her. And I was waiting to find the right person and I can tell she is. She's pretty, no, she's hot and still likes me. So what should I do?
1 AnswerSingles & Dating1 decade agoMac OS X 10.3.9 To 10.4.1?
Hi I have Mac OS X Panther (10.3.9) and wish to update it to 10.4.1 (Tiger) and then to Leopard (10.5.1) but I can never run the .pkg files. When I run them they say that it cannot be installed. What do I need to do to get Tiger and then Leopard?
1 AnswerDesktops1 decade agow3 Can't validate my website!?
I ahve a web server running on my ipod and the ip is either (depending on where I am) 192.168.0.100 or 192.168.1.100 and I have apache and can use .htaccess. I get this error when I try to validate.
Sorry, the IP address 192.168.0.100 is not public. For security reasons, validating resources located at non-public IP addresses has been disabled in this service.
How do I make my server (IP) public?
4 AnswersProgramming & Design1 decade agoIs this sentence ok?
I think this sentence is fine but Word doesn't (though I never have trusted Word for grammar...).
He is a mysterious man who finds himself traveling to another world to defeat the major darkness and restore peace to his own world.
Word thinks it should be:
He is a mysterious man who finds HE traveling to another world to defeat the major darkness and restore peace to his own world.
To replace himself with he doesn't sound right. Is the original sentence ok?
7 AnswersWords & Wordplay1 decade agoWhy doesn't this VB 2008 ExpressEdition code work?
The code is:
Public Class Addition
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim TheRandomClass As New Random
Dim i As Integer = 0
i = TheRandomClass.Next(1, 50)
Label1.Text = i.ToString
i = TheRandomClass.Next(1, 50)
Label3.Text = i.ToString
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
If TextBox1.Text = "Label1.Text" + "Label3.Text" Then
MsgBox("Right!", MsgBoxStyle.Information, "Correct")
End If
End Sub
End Class
2 AnswersProgramming & Design1 decade agoHow to turn off Public PC?
I have Public PC I turned it on and restarted like normal but I don't know how to turn it off.
3 AnswersDesktops1 decade agoAPple iPod touch, Safari.?
How do you set a home page on Safari on the iPod touch?
1 AnswerMusic & Music Players1 decade ago