320 Posted Topics

Member Avatar for raf.fredi
Member Avatar for pritaeas
0
100
Member Avatar for mcwebalizer

refer this for retrieve data from mysql to google map [url]http://code.google.com/apis/maps/articles/phpsqlsearch.html[/url]

Member Avatar for mcwebalizer
0
1K
Member Avatar for jacksantho

Html in php [CODE=php] <?php print '<select name="speriod"> <option value="'.$cval.'">'.$cval.'</option> </select>'; ?> [/CODE]

Member Avatar for karthik_ppts
0
89
Member Avatar for lloydsbackyard

Try this [CODE] <?php $month = 'JANUARY'; echo $mon = date('m',strtotime($month)); ?> [/CODE]

Member Avatar for karthik_ppts
0
157
Member Avatar for Lius
Member Avatar for riseguim

below this post under the heading of "Has this thread been answered?" click on the "Mark this threasd as solved" Link.

Member Avatar for karthik_ppts
0
180
Member Avatar for heshanm

Undefined variable: account_number means the value is not posted or you use wrong variable $_POST['account_number']. Post your html code here. And instead of youe line 6 try this. [CODE=php] if(isset($_POST['account_number'])) $account_number=$_POST['account_number']; else $account_number=''; [/CODE]

Member Avatar for heshanm
0
109
Member Avatar for phaedrusGhost

just echo out your qry [CODE=php] echo $sql="INSERT INTO table_name (id, city, state, zip, address_no_street, unit_no, price, beds, baths, sqft, property_type, date) VALUES ('$id', '$city', '$state', '$zip', '$address', '$unit', '$price', '$beds', '$baths', '$sqft', '$propType', NOW())"; [/CODE] copy this query and execute it in the SQl section of your phpmyadmin and …

Member Avatar for karthik_ppts
0
167
Member Avatar for Dragonbaki
Member Avatar for karthik_ppts
0
179
Member Avatar for karthik_ppts

Hi Frendz, I'm using the following code for generating the alert message. [CODE=php]echo '<script>alert("Your project has timed out. Contact your project Manager")</script>';[/CODE] Its working fine in my local server. But in online server its not working. whats going wrong with this?

Member Avatar for P0lT10n
0
175
Member Avatar for canadaussie12

Replace your 25th line [CODE=php] $message = "E-mail:".$_POST['email']."<br>Color:".$_POST['FavColour']."<br>Message:".$_POST['message'] ; [/CODE]

Member Avatar for canadaussie12
0
180
Member Avatar for Aardwolf
Member Avatar for srinidelite

I cant able to understand your queries. Can you explain with some more details?

Member Avatar for MooGeek
0
74
Member Avatar for RazorRamon

if you wnat to get the id value from the address bar, try this [CODE]$id=$_GET['id'][/CODE]

Member Avatar for RazorRamon
0
289
Member Avatar for geekme

No need to buy domain. Just download XAMPP(free download) and install in your system. It act as your local server.

Member Avatar for diafol
0
169
Member Avatar for Pro2000
Member Avatar for atfOnly

[url]http://www.webcheatsheet.com/PHP/multidimensional_arrays.php[/url] [url]http://www.liamdelahunty.com/tips/php_multi_dimensional_arrays.php[/url] [url]http://www.php-learn-it.com/php_arrays.html[/url] This what is got in google search? Why dont you try google?

Member Avatar for atfOnly
0
172
Member Avatar for Pro2000

You can use mysql_insert_id() function. refer [url]http://php.net/manual/en/function.mysql-insert-id.php[/url]

Member Avatar for Pro2000
0
93
Member Avatar for Xufyan

[CODE=php] <?php function dateDiff($start, $end) { $start_ts = strtotime($start); $end_ts = strtotime($end); $diff = $end_ts - $start_ts; return round($diff / 86400); } echo dateDiff("2006-04-05", "2006-04-01"); ?> [/CODE] $start--------- dob $end----------- current date

Member Avatar for karthik_ppts
0
90
Member Avatar for rakibtg
Member Avatar for marinaa

[url]http://www.daniweb.com/web-development/php/threads/368118[/url]

Member Avatar for karthik_ppts
-1
48
Member Avatar for abhi10kumar
Member Avatar for almostbob
0
210
Member Avatar for Jiaxin

try this code [url]http://www.daniweb.com/web-development/php/threads/371050[/url] with csv file

Member Avatar for atfOnly
0
156
Member Avatar for Charles1620

[url]http://www.daniweb.com/web-development/php/threads/368118[/url]

Member Avatar for n_e
0
116
Member Avatar for Espenij

$_POST[betalingsbetingelser] is not defined. try this [CODE=php] if(isset($_POST[betalingsbetingelser])) $beta=$_POST[betalingsbetingelser]; else $beta=""; $_SESSION["betalingsbetingelser"] = $beta; [/CODE]

Member Avatar for karthik_ppts
0
56
Member Avatar for jacob21
Member Avatar for divyakrishnan
0
106
Member Avatar for feedz87
Member Avatar for mgt
0
2K
Member Avatar for Joe34
Member Avatar for saadi06

check out this query [CODE]select userid,count(rate_type) as cnt from tbl_name where cnt>1000 and rate_type='+ve' group by userid limit 0,10[/CODE] Note:Query is not tested

Member Avatar for karthik_ppts
0
62
Member Avatar for peterpa

I think you has infinite loop iteration. echo your line 7 as [CODE=php]echo $pin=mt_rand(1000000,9999999999);[/CODE] and check what happens?

Member Avatar for divyakrishnan
0
150
Member Avatar for chaychie

try this code [CODE=php] <html> <body style="background-color:#E0FFFF;"> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_course", $con); $result = mysql_query("SELECT * FROM Courses ORDER BY Year, Sem, CourseCode"); echo "<table border='1' cellpadding='2' cellspacing='0'> <tr> <th>CourseCode</th> <th>CourseName</th> <th>Year</th> <th>Sem</th> <th>Grade</th> <th>Option</th> </tr>"; ?> <?php while($row …

Member Avatar for chaychie
0
260
Member Avatar for Danny159
Member Avatar for twiss
0
136
Member Avatar for krabz01
Member Avatar for diafol
0
114
Member Avatar for garyjuano
Member Avatar for karthik_ppts
0
62
Member Avatar for jacob21
Member Avatar for iranmovie
Member Avatar for extemer

if php, [url]http://www.w3schools.com/php/php_file_upload.asp[/url]

Member Avatar for karthik_ppts
0
100
Member Avatar for wilko1995

where du you execute your query? I think you missed it. and at the end og your 12th line you missed semicolon.

Member Avatar for karthik_ppts
0
109
Member Avatar for jrotunda85

Try this; [CODE=php] $date1 = $rs['created_date'];//field from db $date2 = date("Y-m-d"); $diff = abs(strtotime($date2) - strtotime($date1)); $years = floor($diff / (365*60*60*24)); $months = floor(($diff - $years * 365*60*60*24) / (30*60*60*24)); $days = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24)/ (60*60*24)); printf("%d Years %d Months %d days\n",$years $months, $days); [/CODE]

Member Avatar for karthik_ppts
0
153
Member Avatar for extemer

refer this [url]http://www.w3schools.com/php/php_file_upload.asp[/url]

Member Avatar for krabz01
0
117
Member Avatar for ashiiiish

refer this [url]http://www.macronimous.com/resources/Converting_HTML2PDF_using_PHP.asp[/url]

Member Avatar for chrishea
0
255
Member Avatar for Xufyan

[CODE=php] <?php for ($a=1; $a<=10; $a++) { if($a!=10) echo $a . ", "; else echo $a."."; } ?>[/CODE]

Member Avatar for twiss
0
119
Member Avatar for Xufyan

your $count1 value is always less than 2 because its not incremented anywhere... I think in your inner for loop you should increment $count1++ instead of $count++

Member Avatar for Xufyan
0
97
Member Avatar for jacob21
Member Avatar for karthik_ppts
0
319
Member Avatar for Supergrass

You have missed a semicolon on 512 [CODE=php] <form action="<?php echo wp_specialchars( $_SERVER['REQUEST_URI'] ); ?>" method="post"> [/CODE]

Member Avatar for Supergrass
0
2K
Member Avatar for apanimesh061

[CODE=html] <meta http-equiv="refresh" content="15;pagename.html" /> [/CODE] put this code in your <head> section. This will help to refresh your page every 15 seconds.

Member Avatar for karthik_ppts
0
209
Member Avatar for Palanii
Member Avatar for MDanz

replace ur line 2 with [CODE=javascript] <select name='preset' onchange='preset(this.value);'> [/CODE] and line 9 with [CODE=javascript] document.form.big[0].value = action1; [/CODE]

Member Avatar for karthik_ppts
0
90
Member Avatar for RazorRamon

your SQL is not meet your requirement.. Post the structure of hotspot table here...

Member Avatar for karthik_ppts
0
196
Member Avatar for sam230

The End.