Jump to content

chandler

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by chandler

  1. can any of you please help me with this... Thanks http://www.phpfreaks.com/forums/index.php/topic,299130.0.html
  2. Hi, please help I am learning, got a bit stuck on this. $pickup = $_POST['pickup']; else if(trim($pickup) == '') { $error = '<div class="errormsg">Please include date of pick up.</div>'; $msg = "From : $name \r\nPhone number : $phone \r\ne-Mail : $email \r\nSubject : $subject \r\n\n" . "Message : \r\n$message \r\n\nPickup date date: $pickup"; <input class="plain" name="dc" value="<?=$pickup;?>" size="19"><a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.demoform.dc);return false;" ><img name="popcal" align="absmiddle" src="calbtn.gif" width="34" height="22" border="0" alt=""></a> once the from is filled in I get all other fields in the email but this one, I think its something to do with the php not getting the info needed from the js Calendar?.
  3. Hi hope some one can help me, this is what I have so far, thanks to a tut I found. http://cardiffcabs.site11.com/test.html once a start and end point are entered google returns the mileage I need to add a price per mile and maybe a few other extras waiting time etc. and then display the quote to the user. something like this http://www.13cabs.com.au/?ca=website.fare_estimate Many thanks for your help ps. I am a noob step by step instructions would be help me a lot thanks
  4. Hi hope some one can help me, this is what I have so far, thanks to a tut I found. http://cardiffcabs.site11.com/test.html once a start and end point are entered google returns the mileage I need to add a price per mile and maybe a few other extras waiting time etc. and then display the quote to the user. something like this http://www.13cabs.com.au/?ca=website.fare_estimate Many thanks for your help ps. I am a noob step by step instructions would be good thanks
  5. Hi I have a php form once submitted a confirmation is displayed on the same page to the user,( "Thank you for your comments" ) how can I have this on a timer so after a few seconds the form will reload. echo $success_sent_msg; ?> <!-- Message sent! (change the text below as you wish)--> <div style="text-align:left;"> <p>Thank you <b><?=$name;?></b>, your quote will be sent to <?=$email;?>.</p> </div> <!--End Message Sent--> <?php } } if(!isset($_POST['send']) || $error != '') { ?> <!--Error Message--> <?=$error;?>
  6. Hi I have a php form once submitted a confirmation is displayed to the user,( "Thank you for your comments" ) how can I have this on a timer so after a few seconds the form will reload. echo $success_sent_msg; ?> <!-- Message sent! (change the text below as you wish)--> <div style="text-align:left;"> <p>Thank you <b><?=$name;?></b>, for your comments.</p> </div> <!--End Message Sent--> <?php } } if(!isset($_POST['send']) || $error != '') { ?>
  7. Thank you, that did it.
  8. Hello please help Parse error: syntax error, unexpected '=' in DataProcessor.php on line 367 function GetAllProducts($adminID) { $sql = "Select * From voruleit_products Where admin_id" = $adminID; $result = mysql_query( $sql ); $productsData = array(); while ( $row = mysql_fetch_assoc( $result ) ) Thanks.
  9. bump
  10. bump
  11. bump
  12. I will give an Example: if we search mp3 player and we have 50 mp3 products from apple and 50 from Creative ZEN in our database, the result will then display the most relevant from one of these sellers lets say apple followed by the other 49 in a relevant order all from apple then the 51st product will be from Creative ZEN followed by the other 49 from Creative ZEN. Of course to make the site fair for the seller we cant have one sellers product taking up the 1st 3 to 5 pages of the result. so instead of the current result of: apple apple apple apple apple x50 then Creative ZEN Creative ZEN Creative ZEN Creative ZEN x50 this is how we want the result: apple Creative ZEN apple Creative ZEN apple Creative ZEN But of course keeping in the order of most relevant.
  13. Hi hope you smart people can help with this problem. The search engine is for a product search website, its default preference is to search by most relevant. This then will display the product like so Product Title Price Description Image links>> full description | sellers name << This is the problem The problem we have with this is, if we search for a product for example jeans and if one of the sellers is selling more than one type of jeans and in some cases they are selling up to 30 so the result we then have is one seller taking up the 1st 3 pages of the search result (max 10 products on each page), then on the 4th page we are able to see products from the next seller and that list may also go on for 2 or 3 pages. We have tried The rand() function but then this messes up the relevancy of the search result. So what we need is same way to randomize the seller name string while keeping the of the result relevancy. Many thanks for you help with this.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.