Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Roopavathy

  • Rank
  1. Thank you very much for your kind reply.Very nice explanation.Thanks a lot. :happy-04:
  2. Hello there I want to assign javascript variable value to a php variable so that I can use that php variable in mysql query.I dont know how to do it. I am receiving a value from a prompt box(using javascript) and i want that value to be entered into the database. Kindly help me. Here is my code: <?php if(isset($_GET['comp_no'])) { $complaint_no=$_GET['comp_no']; ?> <script> function myFunction() { var person = prompt("Enter your name","John Smith"); } </script> <?php if(isset($_POST['prog'])) { $prog_name=$_POST['prog']; } $query2="update sys_complaints set checked='yes', programmer='$prog_name' where sno='$complaint_no'"; $run_query2=mysql_query($query2); if($run_query2) { echo "<script>alert('Complaint is attended!');</script>"; header("location:view_complaints.php"); } else { echo "Query failed!".mysql_error(); } } ?>
  3. Can anyone help me to integrate any API for sending SMS from my website?Is there any other free API available?
  4. Hello there, I want to integrate Way2SMS API in my project .I downloaded the API and used it. I have my account in way2sms.But I get error as "Invalid Login". Here is my main form <html> <center>Send SMS</center> <form method="post" action="sendsms.php"> Enter mobile no:<input type="text" name="uid"><br><br> Enter pass:<input type="password" name="pwd"><br><br> Enter mobile no:<input type="text" name="phone"><br><br> Message:<textarea row="3" column="2" name="msg"></textarea> <br><br> <input type="submit" name="submit" value="Send"> </form> </html> And the main files are sendsms.php : - http://pastebin.com/jkmb9Rb3 way2sms-api.php :- http://pastebin.com/1SQjYu0P Kindly check and help me to rectify my errors. Thanks in advance.
  • 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.