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 manicleek

  1. manicleek

    converting dates

    yeah, ok, how do i DO THAT THEN? :)
  2. manicleek

    converting dates

    the date is being entered into a form though, in the format dd-mm-yyyy
  3. manicleek

    converting dates

    if I use $date = "25-12-2005"; $stamp = strtotime($date); it makes a timestamp of 1937689200 which is 28-05-2031
  4. manicleek

    converting dates

    how can I change a date in the format 25-12-2005 into a timestamp and vice versa?
  5. manicleek

    Lists from DB

    I got the solution in another post http://www.tek-tips.com/viewthread.cfm?qid=1118962&page=1
  6. manicleek

    help with eval()

    Never mind, have found it <? $linkarray = explode("\n", $editRS['internallinks']); ?> <select name="internal[]" size="15" multiple="multiple" id="internal[]"> <? while ($internalRS = mysql_fetch_array($internalresults)) { ?> <option value="<?= $internalRS['articleid'] ?>" <? if...
  7. manicleek

    help with eval()

    It would be to check all the elements in a mysql text field. e.g. the id's would be in the field as 123456 654321 135791 etc There could be no numbers in the field, or there could be a hundred. I need the code to search through each of these numbers and if any of the articles printed in the...
  8. manicleek

    help with eval()

    I have a page that is taking values, seperated by a new line, in a database. The values are id numbers for other articles in the db. I have written code to take all the values in the db field and place them in an array. The page has a list menu populated with every single article in the db...
  9. manicleek

    Lists from DB

    I have a page to edit an article in a db. When the article is initially added there is a multiple selection list box with records listed. The user can select a number of records which is then submitted to the db with each record selected on a new line in a mediumtext field. On the edit page I...
  10. manicleek

    putting multiple functions together

    thanks for that, think we were posting at the same time, never saw that example
  11. manicleek

    putting multiple functions together

    so: function textformat($sometext) { striptags($sometext); ucfirst($sometext); nl2br($sometext); } is that correct?
  12. manicleek

    putting multiple functions together

    how can I put multiple functions into one parent function, for example, if on my out put I normaly have: <?= nl2br(ucfirst(striptags($sometext))) ?> how can I define all those at the beginning of the page so I would only have to put something like: <? textformat($sometext) ?>
  13. manicleek

    Shopping

    Can anyone give me some links to good tutorials for making shopping carts using PHP. Including such things as linking it to credit card payments and/or third party credit card processing companies etc..
  14. manicleek

    css footer

    I have a site that uses css for layout I have the following css for a footer #footer { position: absolute; width:650px; bottom:0; margin-bottom:0px; height:35px; text-align:center; background-color:#FFFFFF; vertical-align:bottom; } it works fine in ie and always stays at the bottom of...
  15. manicleek

    content expiration

    Is there any PHP code that will make internet explorer (and any other browser) always reload the page rather than use a cached version?

Part and Inventory Search

Back
Top