39,323 Topics
| |
Win7; 64bit; Apache/2.2.25 (Win32); PHP/5.3.28; mysql-workbench; PHPmyadmin; Drupal; Not using drupal in this case. Only HTML and PHP. Going from HTDOCS in Apache. Index.html in the HTDOCS directory does show the "IT WORKS" test. Can also do the PHPinfo.php from HTDOCs Directory. The app I am trying to run is … | |
Hi am trying to have Dependency check box in one of my php form but am not able can you tell me how to do it | |
hi guys..currently i'm doing final year project entitle point of sale system.the point of sale system includes both online purchase & manually using barcode scanner that detect input (barcode).it also includes inventory system just simply like supermarket such as giant.i'm beginner in php & mysql.actually my major is electronic but … | |
Good day I want to start using php on the command line and I keep getting two errors, the first is that access is denied and the second is that xampp is not recognized as an internal or external command. I have already set my environment variables to the php … | |
Hi, So recently I downloaded a template off the internet for the site, and it has a contact form in it but no way to set it up. After contacing the developer he linked me to a site, however, its not been all that useful as I still cannot get … | |
Good Day I have been struggling lately to get the right path to execute php scripts on the command line. My php folder is found in c:\>xampp\php which I specied as the path above by accesseing the environmet variables directory. I was wondering whether I am doing anything wrong because … | |
I am working with a form validation script; I am testing it first and all seems to work fine except for the email validation. This is a snippet of the script dealing with the email validation: else if(! eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email )) { $_SESSION['reg']['email']="Please enter valid email address."; For example, if … | |
hi, so i didnt know how to phrase this question in google to get some clue so im just gonna ask here. And im also not sure if this is the correct place to ask because im not sure what language id have to use. anyway, i have a popup … | |
I am trying to upload a csv file to a website that was created using a MySQL query in a php file. Here is the code: ************************************* // Fetch Record from Database $output = ""; $table = "customer"; // Enter Your Table Name $sql = mysql_query("select * from $table"); $columns_total … | |
Hello.I have problem please help me. Thank you in advanced. I have radio button in my form. The data will be insert into MySQL based on the selected radio button. For example, I have A and B table. The radio button value also A and B. If I select A, … | |
Hi Everyone... I have the following php to check against two vars... $minute & $second I am making a new var out of the above $fgt = $minute. "" .$second; if((strstr($fgt,"45:00"))) { $hint = 'Error'; registerError( $hint, $hint, $error_title, '<h3>Error - Goal Time Can Not Be Greater Than <strong>(45:00)</strong></h3>' ); … | |
Hello all ,Please I required some effects on the image like Bleed gallery wrap,bleed mirror effect,select the edges like thin gallery(0.75") and Thick gallery (15"),Please guide me on that any jquery or script ,css for that. | |
Im developing e-commerce website wherein the costumer can leave comment in a specific product.. and im getting crazy how could i set the product id and user who leave comment on that specific product. the comment must be read by the other user. please help! | |
I have a new button in the view. I want to make it look in similar style like view/delete button. please help me. <!--Content--> <?php $details=$details; ?> <h3><?php echo $name; ?></h3> <div id="content"> <?php $form=$this->beginWidget('CActiveForm', array( 'id'=>'nimsoft-host-form', //'enableAjaxValidation'=>true, 'enableClientValidation' => true, 'clientOptions' => array( 'validateOnSubmit' => true, 'validateOnChange' => true, … | |
I am not sure why this is not working, Its setting the flags perfectly but will not update events... if(isset($_REQUEST['del'])){ if($_REQUEST['del'] == 1){ $asset_id = $_REQUEST['assetID']; $sql = "UPDATE assets, events SET assets.del_flag=1 , events.del_flag=1 WHERE assets.id='$asset_id' AND events.asset_id='$asset_id'" or die(mysqli_error($mysqli)); if ( $mysqli->query($sql) ) { $addevent1 = "INSERT INTO … | |
Hello guys, I am on my revision of my thesis and I am actually stuck on this thing. My thesis is Online Requisition of Document and the panel told me that when the student submits his/her request, the expected date or tentative date release of document will automatically display or … | |
Hello All, In PHP file i have session variables like 'token'. When I am using the same PHP file in java script $_post("path_to_php_file.php",{ }`, function(data){ }); Then it is not giving me that token. Why so? Am not starting any session in that file again. | |
http://www.flipkart.com/mens-clothing/winter-seasonal-wear/pr?sid=2oq,s9b,qgu&otracker=hp_nmenu_sub_men_0_Winter%20Wear I want to intergrate filters for checkboxes. is there any jquery plugin avaliable ? | |
Hi, I wonder if you can help me.I am doing a php tutorial. I am supposed to be able to open this file: <?xml version="1.0"?> <pet> <name>Polly Parrot</name> <age>3</age> <species>Parrot</species> <parents> <mother>Pia Parrot</mother> <father>Peter Parrot</father> </parents> </pet> and this is the php file: <?php //set name of xml file $file … | |
Hi there I'm having a problem uploading my file with a progressbar. the problems are 1. i cannot upload any photos at all 2. i cannot find/promt errors **here is my full codes:** this is for php <?php if(!empty($_FILES['file'])){ foreach ($_FILES['file']['name'] as $key => $value) { $file = $_FILES['file']['name']; $allowed … | |
Hi I had an field to upload pdf's only, which worked well. I want to add the option to add docs as well as pdf's and now it is not working: if (!empty($_FILES['pdf_main']['name']) && ($_FILES['pdf_main']['type']!="application/pdf" || $_FILES['pdf_main']['type']!= "application/msword")){ echo '<p class="white">Please check the certificate uploaded. It should be a PDF … | |
<?php session_start(); include 'connect.php'; <?php session_start(); include 'connect.php'; if(isset($_POST['submit'])) { //$username = $_POST['username']; $password = md5($_POST['currentpassword']); $newpassword = md5($_POST['newpassword']); $confirmnewpassword = md5($_POST['newpassword1']); $user_id = $_SESSION['user_id']; var_dump($user_id); $sql = "SELECT * FROM user WHERE user_id=$user_id "; var_dump($sql); mysql_select_db($dbname) or die(mysql_error()); $result = mysql_query($sql); //mysql_fetch_assoc($result); while($data = mysql_fetch_assoc($result) ){ $userPassword = $data['password']; … | |
Hi to all! May be it's a very very stupid question, but I am stuck on it... So my problem is the second - I have array $pacient[$val['pacientid']][] = $val['f_name']." ".$val['s_name']; And I want to compare values in this array, so how I go throught array: $pacient = array_unique($pacient); foreach($pacient … | |
dear programmers, how to show urls `(http://example.com/mtfiles/2014/2014.html)` from to `(http://example.com/2014.html)`. server at plesk panel anybody please tell me . thank you | |
This may sound strange, but I'm having an issue I can't explain... and have been researching why for the past day and a half with no results. All of a sudden on Friday Morning I was unable to log into a members back office, which is based on session variables. … | |
Hello. I have a php script that will backup my databases and ftp them to another server. All works fine via a cron job - but the backups are piling up and I'd like to add some code to the script to delete all the old backups - and just … | |
Hi I am trying to enable the fileds with help of radio button is selected below are my code, its working fine for inserting a value in database. I can able to fetch the datas from database for display except the radio button is not getting selected from the database … | |
I am trying to use PHP with Google map JavaScript this is my JavaScript code I have with the PHP the file name is face.php <?php if(isset($_GET['p'])){$p=$_GET['p'];} ?> <!DOCTYPE html > <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Property Map</title> <link rel="stylesheet" href="../../../../css/960.css" type="text/css" media="screen" charset="utf-8" /> … | |
i have a problem with this i wanna update a profile i can update the title and the body but i can update the image here is the program i hope can help thank you so much |
The End.