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 TouchToneTommy 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 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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