Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. djtizzlemaster

    positioning spans within a div

    i meant to say that i'm using relative positioning. there still has to be a better way though, so when someone adds an entry i don't have to be there to set the positioning to a certain number, check to see if that looks ok, adjust it, etc. etc...
  2. djtizzlemaster

    positioning spans within a div

    i am trying to position spans a certain way within a div. this ^ is pretty much how i want it to look, but so far i am doing this using absolute positioning, and i know there has to be some easier way to do it. here's the code i'm currently using: div.entry { border: solid; width: 500px...
  3. djtizzlemaster

    Returning dates that fall within range of months, irrespective of year

    SELECT Customers.[FIRST NAME], Customers.[LAST NAME], Customers.BIRTHDAY, Customers.BIRTHDAY2, Customers.BIRTHDAY3, Customers.BIRTHDAY4, Customers.BIRTHDAY5 FROM Customers WHERE (((DatePart("m",[SalesDate]))=3 And (DatePart("m",[SalesDate]))=3 And (DatePart("m",[SalesDate]))="3" And...
  4. djtizzlemaster

    Returning dates that fall within range of months, irrespective of year

    DatePart("m", [SalesDate]) = 3 DatePart("m", [SalesDate]) = 4 DatePart("m", [SalesDate]) = 5 Sorry if I created any confusion by putting this in a code box.. these are just the queries that I entered into the Access GUI.
  5. djtizzlemaster

    Returning dates that fall within range of months, irrespective of year

    This isn't web-based at this point.. just trying to get this to work on my local machine. Did I post this in the wrong forum?
  6. djtizzlemaster

    Returning dates that fall within range of months, irrespective of year

    I want to return records where the value for the Birthday column falls in the month of March, April, or May, irrespective of the year. Here's the criteria I'm using: DatePart("m", [SalesDate]) = 3 DatePart("m", [SalesDate]) = 4 DatePart("m", [SalesDate]) = 5 Now when I run the query, it...
  7. djtizzlemaster

    Using PHP to EDIT a file?

    I'm getting pretty familiar with PHP fopen, fwrite, and fclose functions, which you can use to create, open, write to, and append to files. But I still havent figured out how to - or if you can - EDIT a file. Let's say we've got this: Line 1 Line 2 Line 3 Now, what I want to do is change...
  8. djtizzlemaster

    POSTing textarea data with line breaks

    By the way, I know the first potential solution that probably comes to mind is to add wrap="physical" to the textarea tag, so I just wanted to clarify that I've already done this, and that doesn't fix the problem!
  9. djtizzlemaster

    POSTing textarea data with line breaks

    Working on an order form. On the page with the form (let's say form.php), there are textareas. Let's say a user enters this data into a textarea: Line 1 Line 2 Line 3 On the page that this form is POSTed to (let's say verify.php), when I echo the variable, it shows up as: Line 1...
  10. djtizzlemaster

    fwrite to create new pw-protected php file

    Based on troubleshooting I know that it is only this one line that is creating the problem. When I remove this line the page works fine. $file_contents = "if (@$HTTP_SESSION_VARS['status'] <> 'login') {"; The error code I get is: Parse error: syntax error, unexpected...
  11. djtizzlemaster

    Sending HUGE number of variables to another PHP file

    That's a good point.. it might be a lot easier to just keep it in the same file. I'm working on an order form. The variables contain user-submitted data. The form is located on one file. Let's call it: 1. order.php. Then, when they click submit, they are sent to: 2. order_verify.php...
  12. djtizzlemaster

    Sending HUGE number of variables to another PHP file

    For a while I was using the GET function, like so: <a href="index.php?var1=$var1&var2=$var2"> The problem is that now I have a HUGE amount of variables, and somewhere - my guess is in browsers - there seems to be a limit on the length of a URL, because the variables toward the end of the URL...
  13. djtizzlemaster

    Using button to add rows to table

    An employee is filling out an order form. One part of the order form is where they enter in the item(s) that the customer has ordered. Right now I've currently got it to where the table lists a static number of fields (16). What I want to do is make it to where it only lists one field at...
  14. djtizzlemaster

    Using function to set variable?

    I was able to get Targol's solution to work, but not kaht's. You guys say that kaht's version is better, however, so I would prefer to be able to get that one working. Below is how I'm trying to get it to work. I assume it is an overly simple error on my part. Am I supposed to replace "this"...
  15. djtizzlemaster

    Using function to set variable?

    Thank you for the criticism! Now, I'm thinking it's going to go like this: <select name="referral" onchange="otherz()"> But I realize that this is going to execute the otherz() function regardless of which option is selected, which is why you said "check to see if the appropriate <option> was...
  16. djtizzlemaster

    Using function to set variable?

    http://www.johnnytisdale.com/order2.php
  17. djtizzlemaster

    Using function to set variable?

    I am creating an order form. There is a drop-down list for Referral (<select name="referral">). The options are like Internet, Magazine, etc. The option of particular interest here is Other. If (and only if) the user select Other from the drop-down list, I want a text field to appear...

Part and Inventory Search

Back
Top