39,323 Topics

Member Avatar for
Member Avatar for wallet123

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" …

Member Avatar for Atli
0
6K
Member Avatar for Priti_P

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 …

Member Avatar for Priti_P
0
305
Member Avatar for AntonyRayan

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&nbsp;&nbsp;&nbsp;&nbsp; <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" …

Member Avatar for pixelsoul
0
252
Member Avatar for harishprakash
Member Avatar for slowlearner2010

**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) …

Member Avatar for slowlearner2010
0
769
Member Avatar for earnz

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 …

Member Avatar for hericles
0
181
Member Avatar for wrathyimp

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 …

Member Avatar for wrathyimp
0
146
Member Avatar for newbie14

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 …

Member Avatar for jiansheng.ding
0
423
Member Avatar for AntonyRayan

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?

Member Avatar for JorgeM
0
122
Member Avatar for harishprakash
Member Avatar for tharun207134

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 …

Member Avatar for tharun207134
0
125
Member Avatar for Saud_1

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 …

0
71
Member Avatar for Venkates kumar

how to create flex grid like vb6,.net to add/edit/delete database in php mysql

0
54
Member Avatar for krishkommireddy

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 …

0
58
Member Avatar for Stefce

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 :)

Member Avatar for harishprakash
0
387
Member Avatar for imti321

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 …

Member Avatar for iamthwee
0
468
Member Avatar for davy_yg

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

Member Avatar for iamthwee
-2
141
Member Avatar for fireburner29

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`, …

Member Avatar for fireburner29
0
354
Member Avatar for krishreddy

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.

Member Avatar for minitauros
0
75
Member Avatar for SimonIoa

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.'" …

Member Avatar for SimonIoa
0
474
Member Avatar for [NOPE]FOREVER

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 = …

Member Avatar for imti321
7
498
Member Avatar for shaqib

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

Member Avatar for pixelsoul
0
211
Member Avatar for UmeshBorse13

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

Member Avatar for almostbob
0
71
Member Avatar for fireburner29
Member Avatar for AntonyRayan

In alert box i anto show two buttons, 1. OK and 2. Cancel. If cancel it should redirect to previous page. How?

Member Avatar for AntonyRayan
0
4K
Member Avatar for Madiri Salman

how to update multiple update in database using checkbox with php mysql <form action="enableprofile1.php" method="post"> //user id <input type="hidden" name="id1[]" id="id1[]" value="<?php echo $sn; ?>" /> //user id //enable checkbox <input type="checkbox" name="enable[]" id="enable[]" value="1" <?php if($en=='1'){ echo 'checked';} ?> /> //enable checkbox <input type="submit" name="save" value="Save" class="fontBold"> </form>

Member Avatar for Madiri Salman
0
2K
Member Avatar for harishprakash
Member Avatar for ravi142

Hello, Need your help for this error i have search also wordpress Forms but **not find out perfect solution** for that Even not given permission of wp-admin. **Fatal Error:** Call to undefined function wp_get_current_user() in /wp-includes/class-wp.php Line no.529 Thanks

Member Avatar for minitauros
0
121
Member Avatar for PinoyDev

Good day! I have a news letter form and ajax validation on empty fields is working find.. But when I try to submit the form with all the required fields, I cannot get the data_html response from my php file? Maybe i missed some part that I cannot see t …

Member Avatar for PinoyDev
0
200
Member Avatar for emaus9

here's the html code <article> <table id="wrap"> <tr> <td> <!--<p>Here at DRT we take our services very seriousely. We strive to provide the best work possible. Our translations are well researched and thorough. Below you will find our process of Translation in detailed.</p>--> <img src="Translation Process.jpg" alt="Translation Process" id="transprocess"> </td> …

Member Avatar for broj1
0
342

The End.