Jump to content

Roopavathy

Members
  • Posts

    32
  • Joined

  • Last visited

Roopavathy's Achievements

Member

Member (2/5)

0

Reputation

  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.
  5. Can you please help me ????????????????????
  6. Hello there, I am using fpdf in my project to get pdf report.While displaying data dynamically in a table,i have used multicell. But the other columns come down.How can i align them ihe same row. Here is my code: http://pastebin.com/xjKq8209 Please help me to rectify it. Thanks in advance.
  7. Thank you very much for your kind replies
  8. Yes,I know it.And now I have installed xampp and run the programs before uploading.I test them locally. I have this doubt.Whether i can develop sotwares using PHP & MySQL and run them as ,people develop and run other softwares such as .NET.
  9. Hello there, I am learning PHP & MySQL and developing websites.I have a doubt whether could I develop a software using PHP & MySQL without uploading to a website.I want to execute the projects in my PC.Whether i can develop a .exe software.Please help me.
  10. Please check my code.After using the "if condition" i dont receive any messages but after filling the field i dont receive any emails to my e-mail id.
  11. <section class="contform"> <h3>FOR ENQUIRIES</h3> <form action="index.php" method="post" name="Contact" class="contact"> <label class="labelformat">Name :</label> <input name="Name" type="text" maxlength="50" class="txt" /><br /> <label class="labelformat">E-mail :</label> <input name="email" type="text" maxlength="100" class="txt" /><br /> <label class="labelformat">Enquiry:</label> <textarea name="message" class="txt" cols="15" rows="2"></textarea> <input class="txt" name="Submit" type="button" value="Send" /> </form> <script type="text/javascript"> <?php if(isset($_REQUEST['email']) && isset($_REQUEST['message'])) { $to="kiruthigabaskaran@gmail.com"; $subject="Feedback/Enquiry"; $mail=$_REQUEST['email']; $message=$_REQUEST['message']; $header="From:$mail"; $send=mail($to,$subject,$message,$header); if($send) { echo "alert('Your feedback or enquiry is sent successfully!');"; } else { echo "alert('Enter all the fields properly!');"; } } ?> </script> </section>
  12. Hi, Here is my site :http://bhc.edu.in/COMMCOLLEGE/index.php I have written code for sending email (The form is in footer). But every time when the page is loaded,it shows the message "Your feedback or enquiry is sent successfully". And i am getting empty mail to my email id.Please help,what should i do?
  13. I mean Uploading a document file or a pdf file.
  14. Hello there, I want to use the file type field to browse a pdf or word document in my registration form.I dont know how to use it. Please help me. I have followed the following example.But dont know how to upload a pdf or word document. http://www.w3schools.com/php/php_file_upload.asp
×
×
  • 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.