39,393 Topics

Member Avatar for
Member Avatar for Stefce

Hello guys i have a big problem over here and and wierd i think, when im trying to add some info into database it works well i have 32 input fields (16 for matches and 16 for match tips) and when i will enter in each some info for ex. …

Member Avatar for Stefce
0
310
Member Avatar for game4tress

When I save an image into the database, the image field has the following information in the field: <Binary Data> But when I read the image from the database I get a "X" or a number like "4172726179" and the image is not displayed. I'm using this code for displaying …

Member Avatar for pixelsoul
0
168
Member Avatar for krishkommireddy

Hi here i am updated one field in moodle(user registration form)but in database this value is not storing ,i want to store this field in database can any body please tell me, if require to modify any file in moodle.

Member Avatar for diafol
0
47
Member Avatar for ramsiva

I need full scure my website. i want know about .httaccess file any body help me

Member Avatar for ramsiva
0
158
Member Avatar for ankit.baphna

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 …

Member Avatar for pixelsoul
0
256
Member Avatar for ramsiva

I want the excel import and store into mysql . I want to save full details in my database Won't take duplicate values.

Member Avatar for ramsiva
0
74
Member Avatar for saadi06

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 …

Member Avatar for chetra
0
781
Member Avatar for Kewne

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 …

0
150
Member Avatar for janicemurby

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

Member Avatar for janicemurby
0
864
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
306
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
257
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
770
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
184
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
147
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
424
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
124
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
127
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
74
Member Avatar for Venkates kumar

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

0
55
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
60
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
390
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
470
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
143
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
355
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
77
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
483
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
505

The End.