Jump to content

Roopavathy

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Roopavathy

  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
  15. I want to print the values from the database dynamically.How can i? Here in TCPDF example_011 http://www.tcpdf.org...example_011.pdf they used static table.How can i output the data dynamically.Please help Thanks in advance.
  16. I want to print the values from the database dynamically.How can i? Here in TCPDF example_011 http://www.tcpdf.org...example_011.pdf they used static table.How can i output the data dynamically.Please help Thanks in advance.
  17. Hurray.....now it works..again i installed it,now it works. Thank you.
  18. Its nothing but the TCPDF link. http://www.tcpdf.org/examples/example_001.phps But,when i installed TCPDF in my localhost and execute it,the pdf opens but not the html content.
  19. I have used TCPDF.But when i execute the first example "example_001.php",the pdf opens and displays only the header and footer.But the the HTML content doesn't get displayed.Please help.
  20. I have used TCPDF.But when i execute the first example "example_001.php",the pdf opens and displays only the header and footer.But the the HTML content doesn't get displayed.Please help.
  21. I want to display Student's Result as a PDF file.I have used fpdf library from http://www.fpdf.org/ I have followed their scripts for HTML table (Author Azeem Abbas) Here is my result link: http://bhc.edu.in/commerce/Studresult.php?exno=12345 I want to align the tables' rows and columns.How can i?Please help. My PDF file : (Studresult.php) http://pastebin.com/LdTwc3ya HTML Table by fpdf: (html_table.php) http://pastebin.com/hc6xjPua Thanks in advance
  22. Can anyone one please explain me how to include this TCPDF in my code. I am very new to php coding.Please help me.
  23. Thank you for your replies. Can you please tell me how to do this using php script.I am very new to php coding.Please help me..
×
×
  • 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.