Jump to content

silas101

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

silas101's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. "Select '<a href="javascript:pick(' + field + ')">click me!</a>' from table how can i do this select to return me a link like <a href="javascript:pick(' GOLD ')">click me!</a> in php on mysql. i just want to build a list form that i can click to return the value to the calling form Thanks
  2. Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuu you are the savior of this man. if ever you are in Africa, South Africa, remember to find me and i will organize a free car wash for your rented vehicle.... Thank you
  3. Hi there. i have 2 forms. form 1 inputs a string exactly 2009-01-05 second form has DateFrom field as $dfrom = $_POST['datefrom']; (which is correct to use)? $dto = $dateto; (which is correct to use)? i have sql query as $result = mysql_query("SELECT branch_name,Date FROM 'Payments' WHERE Date = {$dfrom} ORDER BY Branch,Date desc"); if i take out the where.. query gets results if i use date value in where...eg '2009-07-17' it returns results i am thinking the $dfrom parameter is getting no value and that is why i get no error and just empty results. how do i get the value of the datefield on the previous form into my query? Thank you sooooooo much
  4. Hi there all. i am not sure if this is possible and my php is pretty limited..(9 days old) I have a function that receives a few values from the page that calls it and then uses the values to build and send an email. is it possible to say call the function directly? like www.test.com/sms.php?email=test@1.com:amount=$50 can this be done so that if i hard code that link in my other non web apps and they can send the paramentres along? the function is as below <?php include("common.php"); include("db.php"); function sms($amount,$policy,$mobile,$company,$co_cell) { ?> <html> <head> <script language="JavaScript"> <!-- Email the new password to the person. $message = " user_id:100\\n user:test\\n password:testpasswd\\n text:Your Policy Payment was received today.\\n \\n text:Payment of R<?=$amount?>\\n text:Mem No: <?=$policy?>\\n text:From ABC <?=$company?>\\n text:Info on <?=$co_cell?>\\n from:CORESYSTEM \\n to:<?=$mobile?>"; mail('sms@vodazone.co.za',"", $message, "From:CORE IT<coreit@vodamail.co.za>"); history.back(); //--> </script> </head> <body> </body> </html> <? exit; } ?>
×
×
  • 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.