-
Replied To a Post in selected value display for checkbox from dropdownlist
You can find many tutorials about that on the web. [Here is one](http://stackoverflow.com/questions/22728170/retrieve-data-into-ajax-dropdown-menu-using-php-mysql-jquery) -
Began Watching Looping maximum 20 times every second
Basically I am woking on this project where I have been given an api. the maximum number of times i can access is 20 calls per second I need to … -
Replied To a Post in Looping maximum 20 times every second
[sleep](http://www.php.net/manual/en/function.sleep.php) also check out [set-time-limit](http://www.php.net/manual/en/function.set-time-limit.php) -
Replied To a Post in Set Homepage according to the templates .
so you want to add skins (diverent look for each reader) to wordpress? or are you talking about themes (admin set this trough the dashboard)? -
Began Watching Set Homepage according to the templates .
Working on wordpress.. Want to set homepage when i click the templates. ..Templates are under dropdown menu. -
Replied To a Post in Set Homepage according to the templates .
go to your dashboard goto settings->read select the page you want to be you startpage -
Replied To a Post in insert data depending on radio button
i now see that i forgot to remove te spouse in the last part :( // wheder we have a spouse or not, if child add it if($child == "Yes") … -
Began Watching How to post and echo posted variables using serialize in jquery??
<form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> <option value="0">Select Week</option> <option value="1">This Week</option> <option value="2">Last … -
Replied To a Post in How to post and echo posted variables using serialize in jquery??
works the result is in the htmlResponse var <form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> … -
Began Watching database
i have database with catogiries like education,food,health how can i describe fields and inter connect the tables -
Replied To a Post in database
checkout database normalisation. [this one](http://www.databasedev.co.uk/database_normalization_basics.html) has some nice examples on the 2e halve of the page -
Began Watching insert data depending on radio button
hey guys so im trying to insert data from my contact form into database depending on radio button. as u can c i have 2 radio button both under "spouse … -
Replied To a Post in insert data depending on radio button
// always do this: require "connection.php"; $add = mysql_query("INSERT INTO contacts VALUES('$name','$house')"); $add2=NULL; // so we can do: if ($add2) do stuff $add3=NULL; // wheder we have a child or … -
Began Watching Getting values from pop up google map
I am working on PHP to get logitude and laltitude values from pop-up google map. I am successful in poping up the google map and getting values into the main … -
Replied To a Post in Getting values from pop up google map
to create a custum botton in google maps see [https://developers.google.com/maps/documentation/javascript/controls](https://developers.google.com/maps/documentation/javascript/controls) a little over halfway down -
Replied To a Post in HTTP Authentication
what do you got so far? -
Began Watching HTTP Authentication
How to create a HTTP Authentication dialog box by using PHP and HTML. -
Replied To a Post in HTTP Authentication
[http://www.phpro.org/tutorials/Basic-Login-Authentication-with-PHP-and-MySQL.html](http://www.phpro.org/tutorials/Basic-Login-Authentication-with-PHP-and-MySQL.html) -
Began Watching Broken Image from blob data PHP?
i am trying to Upload and Store an Image inside a MySQL, for some reason i got a broken image when photo is submitted . i know its a bad … -
Replied To a Post in Broken Image from blob data PHP?
You have to use [base64_encode](http://us3.php.net/manual/en/function.base64-encode.php) There is even an example there by Cristiano Calligaro -
Replied To a Post in Create multidimensional array from array of keys and a value
better: function makeArray($keys, $value) { $var=array(); $index=array_shift($keys); if (!isset($keys[0])) { $var[$index]=$value; } else { $var[$index]=makeArray($keys,$value); } return $var; } $keys = array('key1', 'key2', 'key3'); $value = 'some value'; $md =makeArray($keys,$value); … -
Began Watching Create multidimensional array from array of keys and a value
Hi all. Have been racking my brains about how to go about creating a multidimensional array dynamically from an array of keys. Something like... $keys = array('key1', 'key2', 'key3'); $value … -
Replied To a Post in Create multidimensional array from array of keys and a value
works: $keys = array('key1', 'key2', 'key3'); $value = 'some value'; $string='$md'; foreach($keys as $index => $key) { $string.="['$key']"; } $string.= '=$value;'; eval($string); var_dump($md); but: > If eval() is the answer, … -
Began Watching Login attempt counter
i want to add a login attepmt counter here, that if inccorect password count==3 it will be redirected to the forgotpassword.php need some help thankyou in advance (: /* * … -
Replied To a Post in Login attempt counter
you might want to take a look at [$_SESSION](http://www.w3schools.com/php/php_sessions.asp) -
Began Watching how do i insert data from one localhostdatabase to serverdatabase
<?php $host = "localhost"; $user = "root"; $pass = ""; $databaseName = "foresight"; $tableName = "userinfo"; $con = mysql_connect($host,$user,$pass); $dbs = mysql_select_db($databaseName, $con); $result = mysql_query("SELECT * FROM $tableName where … -
Replied To a Post in how do i insert data from one localhostdatabase to serverdatabase
first change your password on your remote server. Don't post it again! 2e you forget to select the databaseon the remote, you do on localhost 3e mysql is deprecated. check … -
Began Watching sending mail
<?php $to='gsankar5181@gmail.com'; $message='hai'; $sen=mail($to, 'My Subject', $message); if($sen) echo "yes"; else echo "no"; ?> 14-04-04 14:35:44 : Message is missing sender's address 14-04-04 14:39:37 : Message is missing sender's address … -
Replied To a Post in sending mail
$headers = 'From: webmaster@example.com' . "\r\n"; $sen=mail($to, 'My Subject', $message,$headers); -
Began Watching Undefined index: id line 7
Undefined index: id line 7 help me please email me asap at asmafayaz@hotmail.co.uk <?php // Connect to database server $conn = mysqli_connect("mysql5", "fet12014211", "Milkshake12","fet12014211"); // Show a particular value. $id … -
Replied To a Post in Undefined index: id line 7
if you call your script like `yourfile.php?id=1234` $id will be 1234 -
Replied To a Post in Page Limit Error
> Parse error: syntax error, unexpected $end in 91 You probably have open brackets if you Indent you can easly spot where. -
Began Watching post id to another page for update
Hi I am new, Pls help me the following issue. When click the update button, ID should be to another page to process the update function. Below is my entire … -
Replied To a Post in post id to another page for update
You can use [$_SESSION](http://www.php.net/manual/en/function.session-start.php) or $_POST <input type="text" value="<?php echo $row['id'];?>" readonly> -
Began Watching Page Limit Error
I try to limit my search result to 5-7 per page, but i got this error: *Parse error: syntax error, unexpected T_STRING * My Code is: <?Php require "config.php"; // … -
Replied To a Post in Page Limit Error
Look like a copy/passed erros arround line 21. You mix mysql statments with pdo objects. how to [use pdo corectly see this](http://www.php.net/manual/en/pdo.prepare.php) something simular at line 38 -
Replied To a Post in I am stuck in this code
ok look like ` if(!(curl_errno($ch)>0)){` is false That means you have an error in your curl part. so add an `else echo curl_error($ch);` between line 69 and 70 p.s. my … -
Began Watching I am stuck in this code
<?php extract($_POST); if (isset($price)){ $xml = "<?xml version='1.0' encoding='UTF-8'?> <TKKPG> <Request> <Operation>CreateOrder</Operation> <Language>EN</Language> <Order> <Merchant>WAYTELL</Merchant> <Amount>".$amt."</Amount> <Currency>566</Currency> <Description>".$prot."</Description> <ApproveURL>http://localhost/integration/approved.php</ApproveURL> <CancelURL>http://localhost/integration/declined.php</CancelURL> <DeclineURL>http://localhost/integration/declined.php</DeclineURL> </Order> </Request> </TKKPG>"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://196.46.20.36:5443/Exec"); curl_setopt($ch, … -
Replied To a Post in I am stuck in this code
the same as this post [this post](http://www.daniweb.com/web-development/php/threads/476165/parse-error-syntax-error-unexpected-) See that you didn't change to if ($child->getName() == "URL") $url = (string) $child; have you done a `var_dump('$gateway_url');` yet? post the result -
Began Watching web design
Which between HTML and Php? is the easier language one can learn by themselves with the help of tutorials and some other e-learning materials? -
Replied To a Post in web design
Best start with html. php is mostly used to create html pages dynamically. -
Began Watching Multiplication table in PHP and HTML
I know I've been here before, but I need additional help. I somehow need the following table to have HTML code that will create a table with two columns and … -
Replied To a Post in Multiplication table in PHP and HTML
You have "Width" in your form but uses $_POST["width"] -
Replied To a Post in Parse error: syntax error, unexpected '<'
Does $gateway_url has the right value now? do a `var_dump($gateway_url);` also: It makes no sens to me to open a link in an IFrame and than immediately redirect (the mainframe) … -
Replied To a Post in Parse error: syntax error, unexpected '<'
line 57 if ($child->getName() == "URL") $url = $child; $child is of type simplexml-element (object) therefor so is $url use (string) yo make it a string: if ($child->getName() == "URL") … -
Began Watching Parse error: syntax error, unexpected '<'
$gateway_url = $url."?ORDERID=".$orderid."&SESSIONID=".$sessionid; <iframe src="<?php echo $gateway_url; ?>" style="border:0px #FFFFFF none;" name="manframe" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="60px" width="468px"></iframe> Please I need help. I get this error Parse error: syntax error, … -
Replied To a Post in Parse error: syntax error, unexpected '<'
$gateway_url = $url."?ORDERID=".$orderid."&SESSIONID=".$sessionid; ?> <iframe src="<?php echo $gateway_url; ?>" style="border:0px #FFFFFF none;" name="manframe" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="60px" width="468px"></iframe> -
Began Watching Using Xampp with wordpress
I need help finding a way to use xampp with an already hosted wordpress? -
Replied To a Post in Using Xampp with wordpress
- install xampp - install wordpress - install same plugins as on your hosted wp - export data frorm hosted wp (admin/extra) - import data on local wp and you … -
Replied To a Post in Backup database empty file
and what are the error that you are getting?
The End.