
section31
Members-
Posts
335 -
Joined
-
Last visited
Everything posted by section31
-
ok...I spoke to soon...I was sure i would be able to get your code to work but i was wrong...forgive my ignorance....can you help me out... can u implement your code on the sample form listed on this site. http://www.w3schools.com/tags/tryit.asp?fi...tryhtml_select3 The below didn't work. ><html> <script type="text/javascript" language="javascript" > <!-- function selectform() { testform.cars[audi].select(); } --> </script> <body onload(selectform)> <form name="testform"> <select name="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="fiat">Fiat</option> <option value="audi">Audi</option> </select> </form> </body> </html>
-
Nice...thank you so much.... Where did you get this source if I may ask..any good sites for nitpicky stuff like this. the only site i usually use for javascript xhtml etc is w3schools.com. Its been adequate as a reference but I wouldn't mind using another one for other rare occassions.
-
Yes...I will need something after the list is loaded. Mind showing me the code. @TCH-Bruce Heh, thats pretty much the same thing...Not what I was looking for...thanks for the reply anyway.
-
HI, does anyone know any other way for me to load up a page with a particular item selected from a drop down list besides doing this. Example shown in link: http://www.w3schools.com/tags/tryit.asp?fi...tryhtml_select3 Thanks, Dave
-
Curious, what kind of information can you find out with soley a vin number.
-
Yeah...Although I think the site is excellent, a redesign would be nice to make it easier to navigate. Since your site has sooooooo much useful information, it needs a much more complex interface. I hope you can do it w/o breaking your pocket book, otherwise don't. You deserve a comfortable paycheck bill for running the best web hosting company around.
-
ROFL.... woooot Now i get it, you just set the date field to exactly what it was before....hehehe...You know what was confusing me... your quotes.. I didn't notice they were ` i thought they were ' ... I was thinking why the hell do you want me to insert the characters 'date' on there....but now I know you meant for me to put the name of my date field instead.... hehe... Its all my fault..since i never put those type of quotes to identify my fields...It works fine w/o them,. I'm just glad I finally got it working... Thumbs Up Thanks again robert for your patience.
-
Dude i'm sorry man, but I still don't understand what you want me to do. I'll try to ask my previous question again... You said to set the date field to 'date' ??? I said...is that possible..you are trying to add a character value into a date datatype... how is that going to prevent it from updating it...It will likely not accept that value and just default the date to all zeros assuming u have that date field set to not null which I do.
-
Thanks for the reply...I'm not sure I understand you. How can I set a date datatype to a character value. date='date' I'm confused...they talk about how to do it exactly here http://www.mysql.com/doc/en/DATETIME.html but what do they mean by setting the timestamp columb explicity to its current value.
-
Hi, i'm a bit confused. How can I insert a row using the MYSQL NOW() function so that it only inserts the timestamp and not the timestamp and NOW() Function. I don't want the timestamp to change everytime I update that row. Am I going to have to use a php function to get the date and time stamp into the right format and push that into the database each time, or is there a simple solution to forcing the NOW() only to insert the timestamp. NOTE: My date column is using a timestamp(14) in the form of YYYYMMDDHHMMSS I'f i'm not making any sense let me know... Thanks, Dave
-
well after hunting and hunting...i finally found that the beta version of firebird 8 actually fixed the problem....whoopie. http://ftp.mozilla.org/pub/mozilla.org/fir...tly/latest-0.8/ forum thread for 2004-01-20 branch build http://forums.mozillazine.org/viewtopic.php?t=46756 Now just one other kink I gotta figure out. When you save a php file that redirects to another file...it always saves the php filename itself and the contents of the file it redirected to. Ex. Right Click and save this. This is a redirection script that redirects to an mp3 file. Firebird saves this as download.php instead of the actual filename. On IE, it saves the correct filename. http://davescrib.com/downloads/download.ph...=arnold-gateway Anyone know if i can get this working like IE.
-
HI, i know some of you guys are firebird users and I have a q for you guys. Does anyone know how to have a video file open directly on windows media player instead of having firebird download it to the temp directory and opening it on windows media player only after its completed. I would like it to open directly on windows media player like IE does so it can download and play at the same time provided its an mpg,wmv. I'm asking here b/c believe it or not, nobody could answer this question on the official firebird forums...pretty pathetic huh. Thanks for any help, Dave
-
OMG THANK YOU SO MUCH. THIS IS SWEEEEEEEEEEEEEET.
-
I did it from 1000 to 5000 rows... and it was only slightly faster.... I didn't calculate the percentage difference which i should have...and I already cleaned out my dummy table. But as I recall it was only like a .0002 seconds faster querying 5000 rows. But every time i ran the script the varchar was always faster.
-
I tested it against a few thousand rows and all my tests showed the where varchar to be faster...I find that odd. why is that...you would think it would be easier to search for ints.
-
ya, I have something like that on another script of mine. I guess your right..I'll have to check myself.
-
You would think enough people would complain about it and it would be fixed.
-
Hi, does anyone know how much more efficient would selecting a few rows out of lets say a 1000 using the where int clause rather than using a where varchar(25) clause. Both indexed of course. Would this be a drastic increase in efficiency or not? thanks, Dave
-
INT is out of the question since your going to have dashes. I would use char(length) or varchar(length) since its going to be a fixed number of characters.
-
Ah i c, so is there any way to change that id. I'm guessing not otherwise u would've given me that tip. BTW, where can i get more info about that UID, GID and Sticky option for chmoding. Thanks for the reply, Dave
-
hey, anyone ever use the chmod php function. I'm getting some strange results. Ok, first I'm unable to chmod any file that I upload onto the server. But lets say I create one in the script using fopen(File, 'w+), then chmod it immediately after creation it works. Any idea why its not working properly. Sample Code >$file="test.txt"; if(!file_exists($file)) { if(!fopen($file, 'w+')) die("<b>Could not create $file as database, CHMOD your directory to the appropriate permissions.</b>"); echo"<b>Created $file since it didn't exist!!!</b><br />"; } if(!is_writable($file) || !is_executable($file)) if(chmod($file, 0777)) echo"<b>Changed $file permissions to 777!!!</b><br />"; else die("<b>Could not chmod $file to 777, please do this manually!!!</b>");
-
Thanks everyone, i realized it was a huge mistake on my part. It was one of my loops that was off by one that was screwing up my variables...next time i gotta read.... here is something interesting. http://us4.php.net/manual/en/function.array-search.php Notice on example one the paramaters are flipped around...does php.net have a lot of mistakes?
-
hm...I hate it when i get stuck in a jam while coding. How can i just use a variable+3 w/o postincrementing it in PHP. I just realized that php postincrements the variable automatically if u use this syntax $var+3. I don't want it to post increment, I just need it evaluated for an array i'm using. Ex. array[$var+3] http://us4.php.net/manual/en/language.expressions.php Can Anyone help. Thanks, Dave
-
yeah, i made a droplet for that action.
-
Yeah i used a picture. With a bit of tweaking I made it look ok, but I was just curious if anyone had any better ideas. thanks anyway, Dave