39,326 Topics
| |
Hi, I want to create list of items on my header to which if selected sends that value to my Div class where my search code is there as input to it. I have seen href works for pointing to.php with id value as parameter. but what is syntax for … | |
I want the excel import and store into mysql . I want to save full details in my database Won't take duplicate values. | |
Hi, I am using codeigniter for multiple file uploading and it is giving me serious problems. The data from the files are coming to my controller. But when I try to run the upload script it gives me error that the A PHP Error was encountered Severity: Warning Message: Illegal … | |
Hi guys, I am learning how to code using epesi framework. Can anyone help me with this** Utils_RecordBrowserCommon::get_records** . I can't make it work it always gives me this error **Message: RecordBrowser critical failure, terminating** . I have followed on how the rb is used, this is my code $data … | |
hya all im following a tutorial and i got the following code of which im getting the following error Parse error: syntax error, unexpected T_WHILE in /home/letsswin/public_html/TESTFILES/blog/index.php on line 36 can anyone tell me what is causing this <?php //connect to the database include('includes/db_connect.php'); $query = $db->prepare("SELECT post_id, title, LEFT(body, … | |
Hello There! Im trying to study php on my own. But i have a problem installing "xampp". So please help me. this keeps on showing: 10:27:35 AM [mysql] Expected Path: d:\xampp3\mysql\bin\mysqld.exe --defaults-file=d:\xampp3\mysql\bin\my.ini mysql 10:27:35 AM [mysql] Problem detected! 10:27:35 AM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" … | |
Hello, As using Yii's mpdf() extenstion for generating pdf file. code is as below: $mPDF1 = Yii::app()->ePdf->mpdf(); $stylesheet = file_get_contents(Yii::getPathOfAlias('webroot.css') . '/screen.css'); $mPDF1->WriteHTML($stylesheet, 1); $Arraylist= array('employee_gslab_id'=>$employee_gslab_id,'other_details'=>$employee_details); $mPDF1->WriteHTML($this->renderPartial('address_proof',$Arraylist,true)); $mPDF1->Output($name, EYiiPdf::OUTPUT_TO_DOWNLOAD); everything is working as expected except when this file is downloaded/saved then it is not showing extesion to file. how can … | |
How to read an excel file in php? This is my index page::: <html> <head> </head> <body> <form method="post" action="save_category.php" enctype="multipart/form-data"> <label >Import File<span class="mandatory">*</span></label> <input type="radio" name="file" value="1" checked>Excel File <input type="radio" name="file" value="0">CSV File <input type="file" name="import" value="Import" required/> <label >Book Category Name<span class="mandatory">*</span></label> <input type="text" id="categoryname" name="categoryname" … | |
**Question:** I am new to JQuery. I wanna passing my values to another page using Jquery by clicking on 2nd button instead on submit button. I tried echo what values it carried to another page (a.php) and I got, "[object HTMLInputElement]". There's no values on a.php page. I got "array(0) … | |
Hi guys, im doing a project atm and it's really important. It's about building an android application showing forms that link into a database (Mysql), using Xampp. The database then links to a GUI (php?)showing information gathered from the application on the field. Any suggestions on how to go about … | |
Is it possible to add PDF files to the dates, and make it clickable to view or download files? I am looking for a calendar based file publication, as we create daily, weekly, monthly reports to be published for our viewers. The users can click on the date to access/download … | |
Dear All, I am looking for a tool which can help me generate reports and multiple types of charts. Can any one recommend based on their experience? I would like to manage to export minimal to excel and pdf too. I have seen one the php report maker unfortunately it … | |
In a project, when a user clicking the search link, pop up box should come, in that box, two text fields, and search button should be. How it is possible? | |
Hi, I have a ksh script that will actually read a config file, run a SQL statement against database,store the output in temp, convert them to HTML format and that sends a user an html-formatted email. Usually once per email, there is an exclamation point popping up in the middle … | |
I'm preparing a property website. Initially I had written the code for mysql and now moving on to mysqli in order to streamline, make more secure and use prepared statement I don't know much about this and just finding new information as an when needed. I used this tutorial to … | |
how to create flex grid like vb6,.net to add/edit/delete database in php mysql | |
Hi here i am writing this code in config.php file for our sandbox testing(moodle) but i got the error in our browser **Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting. ** may i know how i can solve this problem ,can any … | |
Hello everyone i want to make a random number generator and also to check the numbers, and if that number exist in the database than to generate other number... thank you :) | |
I dont know where i am going wrong tried to solove this but cant Index.php <form class="form-horizontal" role="form" method="post" action="index.php"> <div class="form-group"> <label for="name" class="col-sm-2 control-label">Name</label> <div class="col-sm-10"> <input type="text" class="form-control" id="name" name="name" placeholder="First & Last Name" value="<?php echo htmlspecialchars($_POST['name']); ?>"> <?php echo "<p class='text-danger'>$errName</p>";?> </div> </div> <div class="form-group"> <label … | |
Hello, I am looking for a good bootstrap forum. Any idea who knows which forum best to learn bootstrap? I have posted in several bootstrap forums and not even one person reply my question. Please help? Thanks before. Davy | |
Hi, i developing web application in core php. we have five panels superadmin, admin, medical, staff, customer. all records should be display superadmin and created by users. please help me to write a mysql query below my basic query. $user = $DB->prepare("SELECT `u_userid`, `u_username`, `u_password`, `u_rolecode`, `firstname`, `lastname`, `sex`, `age`, … | |
Hi here i am facing problem with, i am running moodle on my system i am facing the error on my web page "Parse error: syntax error, unexpected ':' in C:\xampp\htdocs\sandbox\config.php on line 22 "can anybody please resolve this. | |
Hello can anyone tell if i am doing this right? I use this code to resize image with php include('simpleimage.php'); $query1=mysql_query("select image_path from user_uploads where id=".$p ); while($row=mysql_fetch_array($query1)) { $newdata=$row['image_path']; $final_image=$base_url.$path.$newdata; $final_image = new SimpleImage(); $final_image->load($final_image); $final_image->resize(50,50); echo '<a class="show-all-audio" href="#show-all-audio' . $messageid . '" style="cursor:pointer" id="show_all_audio"><img src="'.$final_image.'" class="small_icon" original-title="'.$message.'" … | |
| I have an enquiry form where once the user click the submit button the form mailhandler.php and sends the email to myself. I have tried doing this through php but its not fully working as I do not recieve any emails. Here is my mail handler.php <?php if(isset($_POST['buttonSubmit'])){ $to = … |
Hi, can someone guide me on how to create multiple xml from a csv file. It should locate and replace some date in a template and create file for each line of csv. Thanks in advance. Regards Shaqib | |
Warning: Cannot modify header information - headers already sent by (output started at /home/pushpamsanskruti/public_html/admin/logout.php:3) in /home/pushpamsanskruti/public_html/admin/logout.php on line 5 | |
How to prevent my site from website copier softwares | |
In alert box i anto show two buttons, 1. OK and 2. Cancel. If cancel it should redirect to previous page. How? |
The End.