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: d0nny
  • Content: Threads
  • Order by date
  1. d0nny

    Using two ADSL connections

    Looking for some pointers here on how to use two different ADSL lines for different traffic. Currently, I have an Active Directory domain with about 20 PC's on it. I have an Exchange server with a fixed IP address on one of my ADSL lines. I also have a WatchGuard firewall between the ADLS...
  2. d0nny

    Advice on network setup

    Hi Not sure this is the right place for this but I felt it was the most suitable given the nature of my query. I have a small network setup which contains 3, or maybe 4, network devices which 'manage' the comms. Recently, the ADSL was upgraded and a new BT (this is in the UK) modem was...
  3. d0nny

    Schema Question

    I'm putting together my own mailing list manager (built in PHP and mySQL) and I have a question on managing users. My thoughts were to have two DB tables: 1. emails table and 2. Lists table. The link would be that each user in the 'emails' table would have a key to the 'Lists' table. That work...
  4. d0nny

    Mail function - working in background

    I've written a small function that essentially collects a load of emails from the (mySQL) database and creates an email to send out. The email is created in a RTE (TinyMCE) and the Admin user then clicks on a button to send the email to his selected mailing list. What I want to do is have that...
  5. d0nny

    Obtaining radio button set value

    Hi I have a form which allows my users to upload up to 5 images, which will ultimately form a gallery set. In that form, I have up to 5 file inputs, 5 caption inputs, a sort order input field and also a radio button set to choose the 'hero' image. Here's the form: <form action="<?php echo...
  6. d0nny

    Loading alternative CSS files

    Maybe bit of an odd question, but I have a site which is fairly bland in terms of colour and I want to create either 4 or 5 CSS files which contain different colours or perhaps just a colour switch?? Basically, the site has two colours - white and dark colour which is used for the text and the...
  7. d0nny

    strtotime date ranges

    I am trying to store dates in my database as a UNIX timestamp but there appears to be a problem saving (or converting) older dates. For example, trying to save a date of 01/01/1854 (1St Jan 1854) doesn't work, I think. I say I think as the resulting conversion produces nothing. Here's my code...
  8. d0nny

    PHP/mySQL Timetable

    I've asked this question previously with jpadie, who typically provided a very good answer, albeit very complex (for me!). What I have is the need for a fairly stable weekly timetable, so this is not a full calendar solution. I want a weekly timetable with entries on it that don't really change...
  9. d0nny

    Multiple/Bulk inserts into DB

    Hi I'm using a mySQL DB. I have a form on my page with effectively 5 rows on it, each with say 3 or 4 fields on it. So I want to insert all of these 5 rows into the DB at once when the user hits the Save button. So firstly, how would I name each field on the form? I assume they can't all be...
  10. d0nny

    Nested DIVs with floats

    This has probably been answered so many times on this forum, but I'm having problems with my nested divs. If you can see the attached image, I want to have a container that I repeat on the page, which has 3 DIVs within it... A header div, and then two floated divs My issue is that I can't get...
  11. d0nny

    Help with grid layout

    Hi Can anyone help with the following grid layout I need? Grid Layout I've been struggling with this all day and I now give up. Help and advice gratefully accepted.
  12. d0nny

    Making uploaded docs searchable

    Just wondering if there is a PHP method for uploading a document (say a Word doc or a PDF), saving this somehow (mySQL) and then making the contents of the document searchable?
  13. d0nny

    Multiple Updates

    OK, I've been grappling with this for a while and now I give up. I have a long list of 'products' on a page with various fields associated with each product. This is laid out in a tabular format, one product per line. Two of the columns in this table are 'active' and 'stock'. Active defines if...
  14. d0nny

    AJAX type of call for Flash

    OK, I've played around with this for too long now, so I'm hoping I'll get some expert advice here. ;-) What I have is a page that loads with a large top banner on it (large image across the page), then in the main body I have 3 thumbnails. When any of the thumbnails is clicked, I want to...
  15. d0nny

    Explode a Session

    OK, I can't understand this. As part of my shopping cart, I have a session called 'cart' whihc should have the product ID and the quantity in it. I call a funtion called 'getNumItems... function getNumItems() { $cart = $_SESSION['cart']; if (!$cart) { return '<p>No...
  16. d0nny

    Help with collapsible DIVs

    Hi I have implemented some collapsible DIVs on an FAQ I am developing and I need some help with the change of state. Here's the page code for collapsing the questions: <strong><a href="javascript:animatedcollapse.toggle('Q1')">1. Do we need blah blah blah?</a></strong><br /> <div...
  17. d0nny

    Multiple Image Transition effects

    OK, this is a long shot but I wonder if I can do the following using Javascript and other methods which I believe can only be done with Flash right now. I have a website which has a large banner across the top (1024 x 400). I want to add further images and the banner to rotate round using...
  18. d0nny

    While... Else??

    Now, I know this doesn't exist in PHP but I'm struggling to think of a way of doing it. I have read that the easiest way of achieving this is by nesting a While loop in an IF ELSE statement?? Here's my code $query = "select *,date_format(dateadded , '%W %e %M') as fDate from aboutcontent where...
  19. d0nny

    date format

    OK, I've played around with this for long enough! I'm using statements in my PHP files and this is what I have: $result = mysql_query("select * from lunch where category='lunch' and date>=CURDATE()"); while ($row = mysql_fetch_assoc($result)) { echo '<div class="lunchItem">'; echo...
  20. d0nny

    Form validation, type=file

    I need to do some checking on my form and I can't work out how to do it. Here's my page code: <?php session_start(); if (!isset($_SESSION['uid'])) { die ("<span style='font-family:Verdana; font-size:12px'>You need to be logged in to view this page.<br /><a href='index.php'>Login</a></span>")...

Part and Inventory Search

Back
Top