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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MDLU

  1. MDLU

    layering with flash

    ah! I didn't know you could make the flash window transparent! much better. thanks.
  2. MDLU

    layering with flash

    here's the url I'm referring to here: skyflowergallery.com The main layer is actually set at z-index: 1 and the navigation bar (top, right) is at z-index: 2. But the main layer has a Flash animation in it, which I guess layers right on top of everything. How do I get the Flash layer behind the...
  3. MDLU

    Your thoughts/input requested

    thank you so much! i wish I had you around sooner! if you feel motivated, by all means, type on...
  4. MDLU

    Your thoughts/input requested

    Thanks to all. There are a lot of great thoughts in here and they are definitely going to be used in my workings on the site. I am doing away with the Flash navigation- i don't know what I was thinking. I'll let y'all pick the next version apart in the same way you've all done so...
  5. MDLU

    control length of select box

    instead of just $val1, use substr($val1,0,x) where x is how many characters you want to display, but do this for the actual value: <option value="<? echo $val1; ?>"> syntax: substr(string,start,length) length is optional. for example, if you do substr("Hello World",6) it'll print out: World
  6. MDLU

    header() question

    You can run Apache within a windows environment. That may be a better course of action, unless you need IIS for something specific.
  7. MDLU

    trouble with multidimensional arrays

    never mind. my foreach statement was confusing me. it turns out that I just used a for() loop and referenced the real variable $category, instead of its alias $cat.
  8. MDLU

    mySQL Search

    try assigning a pointer to your database connection: $connection=mysql_connect("localhost","bill","pass"); mysql_select_db("products"); and then when you run your query, use the pointer: $result=mysql_query("SELECT...",$connection); $num_rows=mysql_num_rows($result); etc....
  9. MDLU

    alternating table row colors

    you have to set up $line yourself... example: $result=mysql_query("SELECT * FROM sometable"); $line=mysql_fetch_array($result); -or- $line[]="row 1 text"; $line[]="row 2 text"; ... $line[]="row n text"; then when you hit the foreach($line as $c), the $c variable becomes the value of the...
  10. MDLU

    header() question

    i use this function sometimes. It allows me to embed the tag in the middle of the HTML code, rather than forcing me to do the redirection before the <head> tag: function redirect($url,$str) { //redirects the page to $url and displays $str for 1 second. if (isset($str)) { echo $str...
  11. MDLU

    alternating table row colors

    try this code snippet: ($line must be an array) <table> <? $color="#FFFFFF"; foreach ($line as $c)) { if ($color=="#FFFFFF") { // Alternate background color for readability $color="#CCCCCC"; } else { $color="#FFFFFF"; } echo "<tr bgcolor=$color>"; echo "<td>$c</td>"; echo...
  12. MDLU

    trouble with multidimensional arrays

    my array is almost working as designed. the problem is the counter variables: $cat['piece_count'] and $cat['total_price']. They aren't incrementing appropriately, they're just sticking with their inital values... Any thoughts? $category=array( array( "id"=>-1, "name"=>""...
  13. MDLU

    Your thoughts/input requested

    Thanks! your comment on the bullets is exactly what I was thinking. i'm going to be adding those pages soon...
  14. MDLU

    Your thoughts/input requested

    hotfusion- keywords- yeah. I realize a lot of things wrong with my programming. One major mistake was using dreamweaver's template feature. It created all kinds of problems (sometimes it even discarded my changes for no reason). Short of redoing the whole thing, I'm forced to use it for...
  15. MDLU

    Your thoughts/input requested

    that link didn't work. But I think the site is good enough for the moment. A big change would take much time away from other things I need to do- and I can't be stressing over it. I think I will work on the portfolio pages though. they kinda suck. how does the home page look now? I put a...

Part and Inventory Search

Back
Top