Jump to content

akitchin

Staff Alumni
  • Posts

    2,515
  • Joined

  • Last visited

    Never

Everything posted by akitchin

  1. i learned HTML when i was 14 (1999) and played around with that for a few years, then picked up PHP in 2003 the summer following high school. since then, any work i've done with web programming has been freelance. it was frustrating at first, but once you get a few good, consistent clients, it's not such a nightmare anymore. i still do it part-time (VERY part-time), as i earned a BSc chemistry and am now working in specialty chemicals for oil&gas. it certainly comes in handy, especially for making useful little personal applications here and there.
  2. did they input the form after being linked to the site by you? if so, it could be that you passed them a link to the site with the session ID in it, in which case they'd assume the session you were carrying.
  3. have you even TRIED to use implode? run that line of code rajivgon has provided you, i'm sure you'll find it spits out exactly what you want. if it doesn't, post what is output and what is wrong about it.
  4. implode, if you read the manual entry on it, will glue every value in the array into one string using the delimiter specified (here, a comma) to separate values. this seems to achieve what you're trying to do.
  5. it's probably because the target "_popup" doesn't exist. try changing the target to "_blank", but knowing what the openPopup() function looks like would be nice as well.
  6. .. and is that script currently not working? you will only get the value of the radio button once the form has been submitted. are you receiving errors? one thing i might point out is that i'm not sure you can use slashes in the name of the input. if you want it to stay checked after submitting the form, this is merely a matter of checking whether the POSTed value matches that of the radio button when you're echoing it: <input type="radio" name="colour_print" value="1"<?php if (isset($_POST['colour_print']) && $_POST['colour_print'] == '1') echo ' checked="true"'; ?> />
  7. note your use of single quotes here: TIMEDIFF ('period_length' , 'clock') this tells MySQL to treat "period_length" and "clock" as string literals, rather than their column names. and of course, it will falter on trying to compute the time difference between the strings "period_length" and "clock". the computer doesn't know that the answer should be roughly 42 seconds. thus premiso is using backticks (`) to surround the column names in his query, and alternatively, you can eliminate the quote delimiters altogether.
  8. this page (and the other ones in the "Functions and Operators" section) in the MySQL manual is well worth a look, because there are a lot of really handy functions that most people are unaware exist in MySQL: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html in particular, have a look at TIMEDIFF().
  9. is display_errors set to "On" and the error_reporting level set to the max (E_ALL)? if not, try turning those on and see if you spot an error at that point.
  10. you're going to need to give us more than that. have you written the radio button element into the form yet? if so, what values are you expecting the form to return on submission? and how do you want the price to be calculated - is it just a static add-on to the price of the item?
  11. also have a look at array_map.
  12. better yet is when you stick one to someone and they go running into a crowd of their teammates without thinking. i once took out an entire team because a guy i stuck with one retreated behind cover where the rest of his team was defending. i'm not really that far ahead, about lvl 27 - i only play a couple of nights a week, for a few hours at most. lately i've been doing pretty well with the thumper and mp5 akimbo. i used to be keyboard+mouse hardcore, but honestly, i've gotten used to using a controller with sticks, and i have a hard time warranting sitting at my computer desk rather than on my couch when i'm just killing leisure time anyway. but i still play CS:source every now and then with the good ol PC.
  13. it looks like the string's format is very standardized - you could just use substr if that's the case. otherwise, what sort of formats are you expecting?
  14. okay.... are you getting any error messages? have you checked the javascript error console in firefox? it could be that it's tripping on the first if() as well, where you check the object itself against a value, rather than the object's value property.
  15. you're passing the function an object (the radio button element), but you can't compare the object directly to the value you're expecting. you have to use the value property: if(action.value == "Active") give that a whirl.
  16. locked. learn to read the rules - blatant disregard will earn you a ban quite quickly around here, and frankly, that means your questions will NEVER be answered. not even late.
  17. the code you posted is going through each of the variables located in the if() conditionals, and if they are not empty, it adds a filter to the $arrSQL_filters array in the form of a WHERE clause.
  18. are you trying to actually echo the results? if so, you'll need to use a MySQL fetching function to extract the results from the resource ID mysql_query() returns.
  19. ... what about this script don't you understand? is there a certain line that you can't figure out?
  20. how do you know the turkeys are innocent?
  21. it is, actually . search "belt on waste" and it says:
  22. so, you honestly expected this forum to give you an answer faster than google? this is a programming forum.
  23. unfortunately not, it was a rather informal study done by some undergrads as part of a project. i can point to some papers or textbooks that cover the topic though, if that's what you're interested in? i'll be honest, some of the terms that were probably considered "jargon" were some simple science or technical terms that weren't chemistry-specific, just sufficiently buried in the dictionary that your typical social "sciences" student wouldn't have come across. if you can't tell, i don't place much stock in the "science" portion of most social sciences.
  24. LMAO.. don't you just wanna smack him and say "It's not a girdle spring! It's a a floxy chute!". an interesting study done in the communications faculty at my university had a few of us in the chem department discuss the basic principles of operating and troubleshooting an NMR spectrometer, as well as how to spot common spectral features that will point to an issue with the analysis. they recorded it and played it back for the students in a communications class. over 40% of the social sciences faculty students that heard it thought we were just making shit up, 5% thought it wasn't even english. made me realize the degree to which jargon is at once both useful and confounding.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.