<input type='text' name='org' placeholder='En ter Organization name' />
this syntax not working in IE
User Profile
Collapse
-
Placeholder not working in ie
-
how can I find the system mac address?
this code is not working online
Code:ob_start(); // Turn on output buffering system('ipconfig /all'); $mycom=ob_get_contents(); // Capture the output into a variable ob_clean(); // Clean (erase) the output buffer $findme = "Physical"; $pmac = strpos($mycom, $findme); // Find the position of Physical text $mac=substr($mycom,($pmac+36),17); // Get Physical Address echo "<br>";
-
Upload question answer word file DATA in mysql using php
Code:<?php // Set Mysql Variables $db = mysql_connect("localhost","root",""); mysql_select_db("testing",$db); $file = "c:/wamp/www/jquery/testdb.csv"; $fp = fopen($file, "r"); $data = fread($fp, filesize($file)); fclose($fp); $output = str_replace("\t|\t", "|", $data); $output
Last edited by Niheel; Jul 21 '12, 06:41 AM. Reason: can you click on edit and add more information about your question -
Transfer the value
How can i passed the value from view page to the controller page in the cakephp? please give me suggestion with the full code in both pages? -
1 <input type="checkbox" name="checkbox1 " value="1" />
2 <input type="checkbox" name="checkbox" value="2" /> -
$headers = "From: sender@yourdoma in.com rn";
$sentmail=mail( $to,$subject,$m essage,$header) ;
you r missing s
$sentmail=mail( $to,$subject,$m essage,$headers );Leave a comment:
-
How can write html tag and php variables in a single line
please explain me how can i write html tag and use php variable in the same line for example:-
$strState .= '<option value = "'.$record['state_id'].'" '.$strSelected. ' >'.$record['state_name'].'</option>';
<option > is a html tag
$record is a php variable
please explain me how use '' and "" quotes here -
What is the use of question mark and colon (? and :) mean for in PHP?
Please describe me what is the main use and difference between question mark and colon (? and :) in php ?
Code:function get_all_state_details($state_id) { $sql = "SELECT * from states "; $rows = $this->db->query($sql); while ($record = $this->db->fetch_array($rows)) { $strSelected = $record['state_id'] == $state_id ? 'selected = "selected"' : ''; $strState
Last edited by Dormilich; Feb 28 '12, 06:25 AM. Reason: Please use [CODE] [/CODE] tags when posting code. -
difference between " quotes and '' quotes
please define me what is the main difference between double quotes and single quotes ?
Code:$ans=20; echo "$ans"; output 20 echo '$ans'; output $ans; if we can type function update_query($filename,$data,$where) { $sql= "UPDATE ".$filename." SET "; foreach ($data as $key=>$value) { $sql.=$key."='$value'";
Last edited by Dormilich; Feb 9 '12, 06:41 AM. Reason: Please use [CODE] [/CODE] tags when posting code. -
value update by using class
Code:function changeusername($username) { $data['username'] = $username; $ans = $this->db->update_query("indiagren_admin",$data,"username!=' '"); echo "ANS".$ans; } function update_query($filename,$data,$where) { $sql= "UPDATE ".$filename." SET "; foreach ($data as $key=>$value) { $sql.=$key."=.$value";
Last edited by Dormilich; Feb 9 '12, 06:40 AM. Reason: Please use [CODE] [/CODE] tags when posting code. -
what is difference $a=10,$a='10' and $a="10"
what is the main difference between in php
$a=10;
$a='10';
$a="10";
but all output is given 10 then what is the difference between these values? -
send values between functions
how can send the value from one function to another function in php
No activity results to display
Show More
Leave a comment: