39,316 Topics

Member Avatar for
Member Avatar for AntonyRayan

Hi, by clicking history of book, I show all book details in textbox and student details(only limited columns) in table format(which student took that particular book), Now I want to export in excel file.I am new to this concept. How to do? with examples....

Member Avatar for AntonyRayan
0
161
Member Avatar for Anil_8

I am new in php and i am facing a problem in mysqli query Parse error: syntax error, unexpected ',' in php can anyone help me if you know? $query=("update company SET","(freeze_reason='.$pid.',freeze_status=1 where cid=:id"),array('id'=>$cid)); return self::query($query,$str,$params); public static function query($query,$param_string="",$param_array=array()){//used in void type query like insert,delete,update $stmt=self::$mysqli->prepare($query); array_unshift($param_array,$param_string); if(count($param_array)>1) call_user_func_array(array($stmt,'bind_param'),$param_array); …

Member Avatar for pritaeas
0
455
Member Avatar for AntonyRayan

How to create a online registration form for admission in college with all designs. Can anyone give me a perfect example for that

Member Avatar for AntonyRayan
0
84
Member Avatar for klemme

Hi all, I have been asked to set up a wordpress site, and are finding it hard to find in the documentation how I can do the folllowing: A main link is clicked, and only then I want to show the children underneath, if there is any. Further if a …

Member Avatar for lps
0
120
Member Avatar for daniel.conlinjr.1

im working on a theme build and im having troubble getting the sidebars to appear on the same level as the content, as of right now they are displaying below the main content and they need to be even with the top of it.... any help would be greately appreciated. …

Member Avatar for lps
0
93
Member Avatar for fabzster

Hi I have a php file with html forms and variables in php. I generate a policy document that is displayed in the web page and is then created in PDF and emailed to the client. I create the PSF via using EZPDF but This runs slow when creating the …

Member Avatar for fabzster
0
7K
Member Avatar for Apurva1026

I'm getting the following error when I add the product through Admin panel You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1,'' )' at line 1

Member Avatar for diafol
0
205
Member Avatar for luma64

Hello, I call php from js file with parameter date. Date has other format when it run in IE and Mozzila. Whats problem ? IE : Tue Jun 18 19:00:00 UTC 0200 2013 Mozille : Thu Jun 20 2013 18:30:00 GMT 0200 (Central Europe Standard Time)

Member Avatar for diafol
0
211
Member Avatar for frankchester

I have a question I have been struggling with for a while, I think I might be taking the wrong approach or not understanding the basics. But I am looking for a solution, so if I have it the "wrong way" please let me know. I am building a login/registration …

Member Avatar for diafol
0
461
Member Avatar for polodon242
Member Avatar for polodon242

I need some assistance with creating a dropmenu that pulls a database field and displays the rest of information underneath it so i can print it. I am only having issues with after selecting the info in the field, the information doesn't change. <?php mysql_connect('host', 'user', 'password'); mysql_select_db('databasename'); $sql = …

Member Avatar for polodon242
0
6K
Member Avatar for Apurva1026

I have one website which was created in Wordpress - and being hosted in Linux server. Now I want to transfer that website with new domain name to windows server. How to do it can anyone help me to redirect it. Or should I use 301 redirect to website

Member Avatar for mattster
0
78
Member Avatar for crazyvonzipper

Hi All. For some odd reason it feels like this should be an extremely easy principle but yet I cannot seem to do this properly. I know that there might be other ways to accomplish this but for the sake of my current project, i require this. What i need …

Member Avatar for pritaeas
0
274
Member Avatar for mattyd

Hello, I posted a similar issue earlier - I fixed that issue that was throwing error messages and now my data from a form is being dumped to my table, well, most of it. It is not recording the Username or Password fields and I have absolutely no idea why …

Member Avatar for diafol
0
257
Member Avatar for mohd_3

I have forum v bulletin I need to redirect a visitor to example.php page .. automatically after a short delay,countdown when he clicks the download attachment already upload at my server or external link posted in my forum . Is there any possible way to do that in a .htaccess …

Member Avatar for diafol
0
223
Member Avatar for harishprakash
Member Avatar for riwakawd

When I or user logs on it checks what permissions it has. And then on a form if has not got permission throws error. Example: <?php class Users_groups extends CI_Controller { public function update() { if (($this->input->server('REQUEST_METHOD') == 'POST') && $this->validateForm()) { // Modal stuff } } public function index() …

Member Avatar for riwakawd
0
259
Member Avatar for kalcio

Hi, I'am newer in PHP development.I have a question please,Is there any way to create a web application with AngularJS, HTML5, and CSS3 as front end, and NodeJS as back end ,and PHP5 as a the restful web service? thanks for Help

0
225
Member Avatar for Priti_P

Hello, Am new in angularjs. I want to restrict user from inserting HTML tags in textarea by using ng-pattern in blade.php, i had written `{{ Form::textarea('localAddress', null, ['size' => '35x4',"ng-pattern"=>'(.*?)<.*?>(.*?)','name'=>'local_address','ng-model' => 'employee.employee_personal_details.local_address','required'=>true]) }}}` but < brackets are giving me angular js error `{{ Form::textarea('localAddress', null, ['size' => '35x4',"ng-pattern"=>'<("[^"]*?"|'[^']*?'|[^'">])*>','name'=>'local_address','ng-model' => 'employee.employee_personal_details.local_address','required'=>true]) …

Member Avatar for diafol
0
228
Member Avatar for Vinson
Member Avatar for mangel.murti

HI All , i have an offer table like offer_id , user_id , no_of_clicks , price...etc i want to fetch records and show to user like "best selling offer" , "value for money". best selling offer means the offer which sell more and displaying those offers to users. but what …

Member Avatar for diafol
0
155
Member Avatar for mattyd

Hello: Before I post code I will say that last year I hired a programmer to build one feature for my project. Today upon further inspection of the database/tables I am receiving errors that I have never received and I am at a loss as to their actual meaning. I …

Member Avatar for mattyd
0
236
Member Avatar for asaidi

Hi i m trying to update records via array and i m getting this error .. Notice: Uninitialized string offset: 1 in C:\wamp\www\routephp\search_results.php on line 142 <?php if(isset($_GET['van'])){ $van=$_GET['van']; $van = preg_replace("/[^0-9]/", '', $van); } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Route Database</title> <link rel="stylesheet" type="text/css" href="css/style.css"> <script type="text/javascript"> …

Member Avatar for asaidi
0
5K
Member Avatar for Apurva1026

column count doesn't match value count at row 1 $objhelperClass->insert(PRODUCT,"`catid`,`subcat`,`pname`,`price`,`sort_order`,`description`","'".$_POST['cat']."','".$_POST['subcat']."','".$_POST['pname']."','".$_POST['amount']."','".$_POST['sort']."'"); $m=$objhelperClass->select(PRODUCT,"1","max(`id`)"); $pid=$m['max(`id`)']; if(is_array($patas)) { foreach(array_combine($patas,$thumbs) as $val => $val1) { //echo $val; $objhelperClass->insert(IMAGES," `image`,`thumb`,`pid`,`link` ","'".$val."','".$val1."','".$pid."' "); } }

Member Avatar for hericles
0
527
Member Avatar for markdean1989

I just downloaded WAMP 64 bit. Successfully installed. Everything went fine. Problem is, I don't know where to go. Where do I put my codes? Online resources I have read says just create a directory in the root folder or something. Does that mean create a folder in the "www" …

Member Avatar for pixelsoul
0
131
Member Avatar for Samyx

Hi guys, I am trying to create a login page using apache mod_auth_form to authenticate users. Once the user is authenticated he/she should be able to access the main page. # my public directory: # C:/webroot/ regtrack_newSG.php # my protected directory: # C:/webroot/myapp/ regtrack_studysiteone.php # my password file: C:/Apache24/passwd/passwords # …

Member Avatar for cereal
0
1K
Member Avatar for enterdani

The code works to send the email with link included bu the URL does not open. Can anyone help? //Send Email For Account Confirmation $s_web="http://".$_SERVER[HTTP_HOST]; $message="Please activate your account by running this link:"."\n\n"; $message.=$s_web.'/confirmaccount.php?code='.$encryptpass.'&id='.$id."\n\n"; $headers = 'From:'.$s_mail."\n" . 'Reply-To:'.$s_mail."\n" . 'X-Mailer: PHP/' . phpversion(); mail ($emailaddress,'New Account Confirmation',$message,$headers); } mysql_close($connect);

Member Avatar for pixelsoul
0
398
Member Avatar for AntonyRayan

Hi every one, I want to take a photo by using webcam , and I want to store it in db and finally I want to view it. How to do? Its urgent.

Member Avatar for almostbob
0
101
Member Avatar for subbu_1

'HTML' form <form action="result.php" method="POST"> <input type="search" name="query" size="10" id="searchfield" title="searchfield" /> <input type="submit" name="Search" value="" alt="Search" id="searchbutton" title="Search" /> </form> result php file <?php @session_start(); include 'connections.php'; if (isset($_POST['query']) && $_POST['query'] != "") $query = $_POST['query']; $min_length = 1; if(strlen($query) >= $min_length) { $query = htmlspecialchars($query); $query = mysql_real_escape_string($query); …

Member Avatar for subbu_1
0
526
Member Avatar for darrylnuyda

Hi everyone, Can you help me ?? how to install a laravel-master PHP Framework, Using the XAMPP? I tried to install but I failed. Also, watching youtube video tutorials but their example is WAMPP server. In my part Im capable in XAMPP cause this is my practice in my web …

Member Avatar for Le_1
0
1K

The End.