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 strongm 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: *

  • Users: blasterstudios
  • Order by date
  1. blasterstudios

    DIV with no set width?

    i tried that, and it still made it as wide as possible. As for the "per-line" comment, I was referring to if I set padding to text, it usually puts padding around each line of text (in result increasing the spacing between the lines) as well as if I set a background-color, it only sets it...
  2. blasterstudios

    DIV with no set width?

    eh, i just used another table. they work and their results are pretty consistent. I have issues centering floating divs and SPAN usually put attributes on a "per-line" basis. The table worked fine.
  3. blasterstudios

    Help with a basic function

    anyone?
  4. blasterstudios

    DIV with no set width?

    Similar to the way a TD expands when you don't specify a width, is it possible to do this with a DIV? When i don't specify a width, it automatically stretches it as wide as it can go. I want the width to work just like the height does, where it only gets larger if it needs to. Is this possible?
  5. blasterstudios

    Help with a basic function

    Please help. This should be an easy fix.
  6. blasterstudios

    Remove Duplicate Characters from string

    well, if you must know i'm trying to figure out a creative and unique way of associating a user group with a folder. I don't know how people normally go about doing this, but when a user registers, it creates a folder on our server and copies a few files there. I need this folder name to be...
  7. blasterstudios

    Remove Duplicate Characters from string

    I need help creating a function that will remove duplicate characters from a string of text. Basically i want to take a string submitted by the user (John Smith) and take out duplicates of the letters. So end result would be John Smit. A better example would be Dog Frog Pog End result will be...
  8. blasterstudios

    Help with a basic function

    bump :)
  9. blasterstudios

    Help with a basic function

    I have a script i'm using from dynamic drive that i'm trying to alter slightly to add a 3rd level navigation. So i'm combining 2 of their scripts. It was pretty well on most browsers except for 1 thing. When you roll-over a link that calls this function, somewhere in the function instead of...
  10. blasterstudios

    Add spaces and line breaks to text

    Awesome. This works great. I appreciate it.
  11. blasterstudios

    Add spaces and line breaks to text

    Also, this text is going inside the textarea so i do need the /n.
  12. blasterstudios

    Add spaces and line breaks to text

    Sorry about the confusion. I did mean space, however the place i have it is very skinny (9 px), so it will automatically wrap after each letter. I guess what I should have done is: J o h n S m i t h But I meant what I said...
  13. blasterstudios

    Add spaces and line breaks to text

    I'm using a prompt to get a user to type in some text. I need to add a space after each character they type as well as 2 line breaks where a natural space appears. for example, if the user types in John Smith, the variable should end up: J o h n S m i t h I already have the prompt popping up...
  14. blasterstudios

    Help with Flash CMS w/MySQL

    I've been doing websites in PHP and MySQL and creating content managers so I don't have to keep my sites updated. I'm trying to venture out into flash and allow users to update their flash site. I'm not exactly sure where to get started, but I don't really know where to look. I would ideally...
  15. blasterstudios

    Poor Quality/Wrong Dimensions creating Thumbnail.

    I would like to create thumbnails from photos as they are uploaded. It seems to be working, however, the thumbnail quality is very poor and it's not the right aspect ratio. This is the function I'm using to create the thumbs. function thumbnail($image_path,$thumb_path,$image_name,$thumb_width) {...
  16. blasterstudios

    Validate Keystrokes

    I want to validate keystrokes and only allow lowercase letters, numbers, underscore, and dash. No spaces, no capital letters, and no special characters or symbols. I want it to check my form on the fly as well. So like on the onKeyPress event, it checks it. How do i go about doing this? Here's...
  17. blasterstudios

    Help with Advanced search

    sorry, last night, after i was already in the bed, i realized what was wrong for each of these if statements, i don't have an else. the space thing is not an issue because each like# has the appropriate spacing in it. anyway, since the first variable is blank, the rest of them show up as blank...
  18. blasterstudios

    Help with Advanced search

    oh, wait, i forgot to my mention, my WHERE string works when $_GET['l'] is set or $_GET['s'] is set. It doesn't work for the rest of them.
  19. blasterstudios

    Help with Advanced search

    Well, first of, this doesn't work. I don't know why. For some reason, my WHERE string is not being created. secondly, is there an easier way to do this? $like = ""; if(isset($_GET['s']) && $_GET['s'] != ""){ $trimmed = trim($_GET['s']); $like1 = " contactname LIKE '%$trimmed%'"; $like =...
  20. blasterstudios

    Search using LIKE

    awesome, that's what i needed. this is for something very basic, so i didn't really need the extra coding for 2 fields there. the one will do just fine.

Part and Inventory Search

Back
Top