I need some help solving a problem I've encountered.
I need to get the mouse coordinates (X,Y),
(I do it by calling a function with "onMouseMove" that takes an event parameter.
it looks like this:
<html>
<head>
<script language="JavaScript">
function show(event){
X =...
I have an image called 'search_button.gif' and I want that image to act like a form and redirect it to 'search.cgi' just like using a <form action>. Anybody know how I can treat an image like form buttons? Thanks for reading.
Hello,
I have this for my local time, which generated by perl: Sat Dec 21 17:38:24 2002. How do I take out the year and leave the rest? Thanks if you can help.
Hello there,
I've a mysql database which I want to select random quotes everytime. But I have no idea how to do that. My table is shown below:
quotes:
pid|text|link
I wanna select randomly each time. I've tried the following, but no luck.
$SQL = "SELECT text from quotes ORDER BY...
Hi,
I have a database where the user info are stored and when a user login, it stored the last time they logged in. The time is in seconds like: 1038798090. How do I check with the current time and the last logged in time to figure if the user is been active for the last 2 or 3 minutes?
Hi,
Currently I have a table called 'software' and for the price column, it has the following:
table: software;
id | pid | price
910 1054 $475
911 1055 $501
How do I remove that "$" dollar sign? Thank You.
-Matt
How do I round so that 4.6000 will turn into 5? Or anything before 4.5000 turn into the next number. Like 1.5000 will be 2.0000. Thank you for your help.
-Matt
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.