39,388 Topics
![]() | |
I am getting error while uploading from any pages. Folders are exists, file permissions are set to 755 but still getting error. | |
Hello everyone.. I have a open source remote file upload script. It is called file snatcher. We can directly upload the files to our server from another server. But the problem is we can upload only one file at a time. I mean if you have many url, you have … | |
I have created my payza IPN handler but I am not getting any messages or any changes into my db, and its even not redirecting me to my site. I have setup my IPN in my payza account to V2 and also enable EPD but that's also not sending any … | |
Hello, I want array in format $xyz[]=array($key=>'Some value here',$value=>array('value1','value2)); In below code, I want it in loop by checking if $ManagerGSID value is not in $xyz[] as $key then insert into it. (as key will $ManagerGSID and value will be array ($EmployeeGSID)) again if got the same $ManagerGSID then push … | |
Hello, I saw on internet a link to www.daniweb.com that is advertising here can be find "PHP Questions with answers". I thought of this like a test to verify my knowledges but seems to be only a forum. Am I right? Did someone find what I mean? If yes please … | |
Dear Sir i would like to change the website Banner,I have 4 Banner in my Website(www.reliableindus.com) First Banner is Cuticle Nipper Second Banner Beauty Instruments Third Banner Nail Nipper ( Nail Nipper Spelling is missing in the web) Forth Banner Tweezer 2nd and third Banner i want to change. Kindly … ![]() | |
this is my SESSION code i want to make function of it is this posible? i am new in php i want your help please guide me <?php include "connection.php"; $result = mysql_query("SELECT * FROM new WHERE Email='" . $_POST['email'] . "' and Password = '". $_POST['pass']."'"); $row = mysql_fetch_array($result); … ![]() | |
Hello, I have html table which displays content from email. this email content can be from any email client(browser , outlook ,thunderbird...). if this html is malformed it creates a mess in my html table. for eg: if the email content has any unclosed tags or malformed table in it … ![]() | |
If I turn on : <?php $group_level = 'intermediate 1'; ?> Then it does lock the $group_level to intermediate 1. groupinfo_edit.php <tr> <td>Level</td> <td> <?php //$group_level = 'intermediate 1'; ?> <?php $row2 = mysql_query("SELECT * FROM `level`") or die(mysql_error()); echo '<select name="group_level">'; while($data2 = mysql_fetch_array($row2)){ echo '<option value="'.$data2['level _name'].'"'; if($group_level … | |
validation for particular fields like input name="",textarea,select name="". <form method="post" id="myform" name="myform"> <tr><td width="170"><div align="left">Company Name<span style="color:#F00;">*</span> :</div></td><td width="317"> <input type="text" name="companyname" placeholder="Company Name" value="<?php echo ucwords(strtolower(mysql_real_escape_string($_POST['companyname']))); ?>"/></td></tr> <tr><td><div align="left">Contact Person Name<span style="color:#F00;">*</span> :</div></td><td> <input type="text" name="conactperson" placeholder="Contact Person Name" value="<?php echo ucwords(strtolower(mysql_real_escape_string($_POST['conactperson']))); ?>"/></td> </tr> </form> company name is mandatory … | |
i've two files one is send-data.php which contains html form and another one is receive-data.php, i am converting the form value as session value into second file and printing using echo. but it's not printing the output. //send-data.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html … | |
I'm trying to pass the ac_no contained in my database table to a form that's displayed within a Bootstrap Modal upon clicking a button. My code is as follows. <?php $mydata = mysql_query("SELECT * FROM slabpay WHERE ac_no='$ac_no'"); while($record = mysql_fetch_array($mydata)) { $id=$record['id']; ?> <tr class='fired' id='<?php echo $record['id']; ?>'> … | |
http://localhost/squprime/administrator/admin/%3Cbr%20/%3E%3Cb%3ENotice%3C/b%3E:%20%20Undefined%20variable:%20student_id%20in%20%3Cb%3EC:%5Cxampp%5Chtdocs%5Csquprime%5Cadministrator%5Cadmin%5Cadd_student_progtab.php%3C/b%3E%20on%20line%20%3Cb%3E164%3C/b%3E%3Cbr%20/%3E/squprime/administrator/admin/add_student_progtab.php?student_id= Undefined variable student_id, I wonder why? That url appears after I press save. add_student_progtab.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of web page. session_start(); if(!isset($_SESSION['username'])) { header("location:index.php"); exit; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML … | |
Hello Everyone, I am trying to export data directly from the database to a downloadable Excel spreadsheet, the formatting is showing. However, the data is not displaying. Can anyone help me? Also, when opening the spreadsheet it gives me the message "We found a problem with some content in 'FileName'. … | |
I have a basic query I was working on with optional search parameters. The query code is: $query = $db->prepare("SELECT * FROM VolunDB " . $whereClause . " 1 = 1"); $query->execute(); $result = $query->fetch(PDO::FETCH_OBJ); $table = $result->fname . " " . $result->lname; and $whereClause equals: WHERE general = General … ![]() | |
How to merge or join or map two arrays fetched from mysql db array full_name and array email to create one recipient list to be bcc for php mailer and then be able to use something like: $email= array(); $full_name= array(); while loop starts array_push($email, $row['email']); array_push($full_name, $row['full_name']); loop ends … | |
I can not get the values from the javascript add row to go dynamically as a row into MySql only the form values show up as the form below as one row. I made it as an array, but no such luck, I have tried this code around a multitude … | |
how to do content scrapping or crawling in php Can any one suggest me a vedio tutorial | |
Hello Community, I was wondering if there is a way to filter through an email to get all the details. Such as from, to, subject, body and a few other details but you get the idea. At the moment I just have a bunch of text but I want to … | |
Ok so I have this code to submit form to php without reloading page. It works perfectly, and makes sense. form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>JQuery Form Example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#myform").validate({ debug: false, rules: { name: "required", … | |
This is my script when any registed user click on checkbox then he insert tbl1 table and we set a cookie and run events after 36 minute event will run and insert data in to another table called tbl2 my code is <form action="course01.php" method="POST"> <input type="checkbox" name="chk1" value="701" />I … | |
is it possible to run a php script using mysql event if so how to do that i mean syntex thanks in advance. | |
this is a php script for import .sql file in mysql but suddenly it doesn't work what i am doing wrong browser show false messege <?php //ENTER THE RELEVANT INFO BELOW $mysqlDatabaseName ='trigger'; $mysqlUserName ='username'; $mysqlPassword ='mypassword'; $mysqlHostName ='localhost'; $mysqlImportFilename ='event.sql'; $command='mysql -h' .$mysqlHostName .' -u' .$mysqlUserName .' -p' .$mysqlPassword … | |
I am looking for some help on makings a dynamic organisation chart in PHP.Does anyone know where I could find a PHP class to generate organizational charts? | |
here i have rc.RelatedCatagory like this (Flex Printing, Offset Printers, Digital Printers, Id Card Printers, Graphic Designers,News Papers) if i get this ($subcatagory = $_GET['subcatagory'];) from first page value as (Flex Printing), then i want to display only (Flex Printing ) companies. how to match with that value one by … | |
Hey guys, so I'm considering moving my mysql scripts to be compliant with PHP 5.5 and above (mysqli). Is it a pretty staightforward transition? Can functions basically just be replaced with the new verions, or are there other things that have to be done as well? Also, I'm interested to … | |
Hello, I have PHP 5 and Apache 24 installed. PHP doesn't appear in my Control Panel as an installed program. I have tried to Use **PHPIniDir c:/php** in my httpd.exe file and also **LoadModule php5_module "c:/php/ext/php5apache2_4.dll"** both of which crash the Apache server. I have searched Google for an answer … | |
Hi, I am having trouble with this page, it is completely blank. I have turned on error reporting but nothing happens, does anyone know what has happened to it? It has worked previously so maybe I have changed something but not sure what. <?php session_start(); ob_start(); if(!isset($_SESSION['authenticated'])) { header ("Location: … | |
I have a (2gb)txt file which has thousands of queries, i need to read those file queries and split those queries into n no. of txt files..and save them in a folder... can any one post an example or guide | |
hi guys...i need help from u guys..my prob is about select option..i'm not good in english. hopefully u guys would understand my english..:(..please help me..:'(..im still new in php.. i want to select a state then a branch will auto will appear if related..i only want if one state is … |
The End.