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...
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)) {...
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...
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
Thanks again Sleipnir,
Seen the light, I always seem to get things too complext in my head and seems now such a simple answer...Great,
Many thanks
Cheers
John
Hi sleipnir 214,
Thanks for the super fast response as always...
This what I have at present pulling of the towns from a table just with the towns.
HTML
<TD WIDTH="60%"><SELECT NAME=TPL_town>
<? echo $town; ?>
</SELECT>
</TD>
PHP
if...
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...
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...
Thanks tsuji,
Quite right pulled the variable from the PHP script and the answer seems obvious to me now....but old age and no Java skills made me try the wrong syntax...
Thanks for your speedy reply, much appreciated.
John
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...
Cheers Olav,
Sorry I am a noob to PHP, Flash graphics are my forta, now pushed 60 finding it extremly hard for things to sink in....but still trying.
many thanks
john
looks like we cross posted...looks like you answered my second question...will give it a whirl tomorrow...just turned midnight and my fangs are showing..hi
Cheers again
John
Thanks DaButcher for your speedy response,
If in your example I changed auction_price to num_bid (as it is the largest amount of bids I require). if say there was 5 auctions with 10 bids I would like to select 3 of the 10 with the highest amount of viewed which would correspond more accuratly...
...the auctions by checking which three have the highest bids..etc
$limit = 20;
if(!$offset) $offset = 0;
$result = mysql_query ( "SELECT * FROM AUC_qwr WHERE closed='0' AND suspended = '0' AND local_area= '$local_area' ORDER BY ends ASC LIMIT $offset,$limit" );
if ($result)
{
$tplv =...
Hi slepiner,
Yep, I had set another condition in another section which stopped the variable being picked up from the query...
Thanks again for you fast responses to my probsit is greatly appreciated.
I have another question perhaps you may guide me how to achive it. I could use a while loop...
...}
//-- Set offset and limit for pagination
$limit = 20;
if(!$offset) $offset = 0;
$result = mysql_query ("SELECT *, RAND($auctionit) as randy
FROM test_data
WHERE (closed='0') AND (suspended = '0') AND (minimum_bid <=10 )
ORDER BY...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.