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

    picture url upload or server choice

    Hi, Now do I need help here. i have a third party script that allows the user to upload a picture from their computer to the site. What I would like to do depending on the situation is IF certain criteria are met then a choice to allow them to browse their computer or a server side folder to...
  2. wudz

    Accepts 0.99, but not .99..why?

    Hi, I have just come across a problem. If a person places .99 in the bid my script gives the $ERR_058. I thought it would have been a valid input. Works ok if they input 0.99, I would obviously prefer it to accept both types...Where have I gone wrong? if (!checkmoney($bid)) {...
  3. wudz

    Stripping white spaces on uploaded pic titles

    Hi, My problem is that I use a third party script that allows me to upload extra pictures to my site. The problem is that any pictures that are uploaded with any white spaces in their title end up with an empty file (red cross syndrom). I have never really understood how the html/ php/ sql...
  4. wudz

    Anyone done an Animated flag

    Hi, Just thinking about doing a St George flag for my site, any one done an animated flag, hard work done that I could reverse engineer.. If not it's head to the grind stone. Cheers John
  5. wudz

    Neater or improved way of datacheck?

    Hi, On my site when a customer registers on the town input they have a dropdown menu with all the towns I cover (hopefully), but this when comlete would approach around 40 - 50 towns and may miss the odd village/town, anyway I then have around 14 IF statements to check which town was choosen on...
  6. wudz

    Query logic/ error?

    Hi, I wish to extract a user id (req_user)who has made the last post on the viewed auction ($auction_id) from a table containing many different auction_id's and which also contains many of the required auction_ids. I require the last posted record associated with the auction being viewed...
  7. wudz

    use a variable in an <OPTION>

    Hi, My apologise in advance, just jumped here for advice from the Flash graphics forum and know very little about Javascript syntax.. I want modify a freebe javascript dropdown menu giving a small popup, is it possible to insert a variable in the <OPTION> or in any other section of the script...
  8. wudz

    How select 3 criteria

    Hi, I wish to select three auctions that hold the highest number of bids (num_bids) and if any hold the same number pick the highest viewed (viewed), so I end up with the three hottest auctions.The above variables are held in the same table below. Now I already have a loop query running to show...
  9. wudz

    Rand stopped working..

    Hi, The code below was suggested on the Forum a few weeks ago and worked great, that is until I added.. AND (minimum_bid <=10 ) this has caused the radomised selection taking place and unsure why, without it...works great. <code> $auctionit = rand(1,$auctionnum); } //-- Set...
  10. wudz

    Empty variables if browser back is used?

    Hi, Just found a bug and I am unsure of the answer. I have a Select page with three radio buttons the page also has a menu choice. If I choose a radio button and select a menu then submit all is well if the page is selected from the home page. The problem is if the back button is used and...
  11. wudz

    Trouble with 'IF'

    Sorry to post this what should be a simple compare, but just can not get the result that I expect and I don't understand why! $payment=mysql_result($res_,0,"payment"); if ($payment == "Paypal"){ $payment=$MSG_888; } else {...
  12. wudz

    Extracting future D:H:M:S from server time

    Hi, wonder if anyone can help, having great difficulty extracting 'Time left'. I have extracted the required variables from the db, now how do I get the Days, Hours, Minuites and Seconds difference from the present server time below..the timecorrection (-2)is due to using a server time...
  13. wudz

    Help with syntax please..

    Hi, Thought I had a simple logic problem, but uncertain of my syntax/ logic. The problem is that 'local_area 6' is always selected even though the test query town displayed is in 'local_area 3' which is correct. Is '||' equal to OR which is what I require. Is there a shorter way of achiving...
  14. wudz

    1 button two actions.

    Hi, I have a button on an html page whos FORM action is assigned to an http link with method.. post. Is it possible to pass the click to an associated PHP script leaving the form, action and method as is. My point for this is to place a flag in the db to confirm that the action has occured...
  15. wudz

    Newbie quickie,,update followed by select

    Hi, Are you allowed to follow UPDATE with SELECT as the UPDATE works OK, but I can not extract the info in pur_credit field, data is in the db though or is my code wrong? <code> $query = "UPDATE AUCTION_purchcredit SET ver_date = '$VERIFIEDATE', pp_verified = 'y'...
  16. wudz

    Selective SELECT problem...

    Hi, just another spanner in the works... This UPDATE works great.... //update purchased credit table $query = "UPDATE AUCTION_purchcredit SET ver_date = NOW(), pp_verified = 'y' WHERE...
  17. wudz

    Newbie...Parse error

    hi, can anyone point out my error in the line below, thought I was getting to grips with PHP...wrong..hi if (($tot_wincredit < 2) && ($WINNING_BID => 10)){ And a quick explaination would help for future use.. Cheers John FLASH Man.
  18. wudz

    Update the last entry of one user out of many users

    Hi, I wonder if someone can show me the correct code. I wish to update details of a user out of many users in the table, but only in his last updated file. He may have many previous files but I do not want any of these altered only his most upto date entry. The script below alters all his...
  19. wudz

    my rand() query does not work..

    Hi, I wish to select three random auctions for display. I have previously aquired the total live auctions and rand() them as below, which is inserted in the loop.. $randitem = rand(1,$auctionnum); The result I get is the three auctions, but they are not randamised the same three are always...
  20. wudz

    Help with correct syntax

    Hi Please could someone point out my error in my syntax with the line below and an explaination for a PHP Newbie.. mysql_query("UPDATE AUCTION_retcredit SET retid="$Seller['id']",credit=$qtity,date=$ENDS_DATE,auction="$Auction['id']",under='y' WHERE id = ".$Seller['id']); Cheers in...

Part and Inventory Search

Back
Top