282 Posted Topics

Member Avatar for muralibobby2015

hello... i am not sure..is there any chance to open my webpage in firefox. for example i am browsing mywebsite using IE. when ever i click link of the page then automatically it will open in firefox. this option is not for all pages only for specified page. thanks.

Member Avatar for muralibobby2015
0
119
Member Avatar for muralibobby2015

hello... i am doing mail concepts. in this i want to send a dynamic attachments with email. actually user gets email with attachment. this attachment will be dynamic. how to create dynamic attachment for email.i tried this. but no use. anybody help. i have 'attachments.txt'file with content [CODE]User Name: <<name>> …

Member Avatar for muralibobby2015
0
125
Member Avatar for muralibobby2015

hello, i have to display google images in my website. i would like to add google images in my wishlist simply drag the image into dropbox. it will add into my wishlist. for this i am using this code. this code is from [URL="http://demos.hacks.mozilla.org/openweb/DnD/"]mozilla[/URL] but it is not working in …

Member Avatar for madCoder
0
134
Member Avatar for muralibobby2015

hello.... i am searching google images from my website. when ever i searched with keyword i am getting 500 internal server error. how to solve this problem? even i informed to webmaster, he said it is the programmer issue. we can't do anything for this. i searched a lot for …

0
77
Member Avatar for muralibobby2015

hello... in my site i want to do search images from google and put a link to each image "upload this image". when i click this link automatically upload this image in to my site. i searched a lot after i found this script. but how to add link and …

Member Avatar for Jamesapoe
0
104
Member Avatar for muralibobby2015

hello..... i am using this function to create a folder in images folder. all uploaded images are store in newly created folder.it is working fine when run the code..it is creating images/newfoldername/uploadedimages.jpg in localhost. but in server same code is not working. it is creating images/uploadedimages.jpg and also creating null …

Member Avatar for muralibobby2015
0
111
Member Avatar for muralibobby2015

hello........ i want to do display all folder files using ajax. anybody tell me how to do this?

Member Avatar for Henzard
0
69
Member Avatar for muralibobby2015

hello.... i want to search google images from my site. i got this code from google. but in this i want a link to each image to add images to my folder. how to do this? [CODE]<!-- copyright (c) 2009 Google inc. You are free to copy and use this …

0
74
Member Avatar for sugikrish

try this one [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> function start() { window.document.formx.email.disabled = true; } onload = start; function chgtx1() { window.document.formx.email.disabled = !window.document.formx.blow.checked; } </script> </head> <body> <form name="formx" action="" method="post" > <table> <tr> …

Member Avatar for billy147
0
241
Member Avatar for muralibobby2015

hello.. i want to do a website wich is having search functionality. in this i have to do search flights,hotels etc.., some one suggested me to use kayak api for this. i searched every thing for this. but i didn't get any idea. anyone could suggest me how to use …

Member Avatar for muralibobby2015
0
237
Member Avatar for niths

[CODE]<? $total_width = 600; // base color $base_color = 'silver'; // add an array per field to show $graphs = array( array('label'=>'whatever', 'color'=>'red', 'amount'=>'28'), array('label'=>'more here', 'color'=>'green', 'amount'=>'36'), array('label'=>'just an example', 'color'=>'blue', 'amount'=>'82'), array('label'=>'even more', 'color'=>'orange', 'amount'=>'4'), ); for($x = 0; $x < count($graphs); $x++) { echo ' <table width="'.$total_width.'"> …

Member Avatar for muralibobby2015
0
83
Member Avatar for Naveed_786

[URL="http://www.w3schools.com/"]http://www.w3schools.com/[/URL]

Member Avatar for chrishea
0
112
Member Avatar for hmphf
Member Avatar for WaleedaaN

here is the code[CODE]<? $word = "a,b"; $word=explode(',',$word); echo $word[0]; echo "<br>"; /// a echo $word[1]; /// b ?>[/CODE]

Member Avatar for terabyte
0
203
Member Avatar for muralibobby2015

hello.. i am using random query with pagination. but i am getting same results in second page also. Two things I need to make happen: 1. click on a result, you click the back button, results are in same order. 2. You get a paginated list of results in a …

Member Avatar for muralibobby2015
0
144
Member Avatar for slap01
Member Avatar for micahgeorge

go through this[CODE]<? ob_start(); extract($_REQUEST); extract($_POST); $searchtext=$_REQUEST['searchtext'];/////////////$_REQUEST['searchtext'] your search content if($searchtext=='') { $exists=1; } function search_highlight($needle, $replace, $haystack) { $haystack = eregi_replace($needle,$replace,$haystack); return $haystack; } //echo $searchtext;exit; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <? if($searchtext!='') { …

Member Avatar for muralibobby2015
0
191
Member Avatar for muralibobby2015

hello.... i was completed login website. but client said some times user account over riding. showing another user login information. so how it solve. i was checked all of my code but there is no chance to show another user information. is there any chanse to over come this problem …

Member Avatar for mahavir123
0
61
Member Avatar for muralibobby2015

hello i am working on google map,streetview. i am using below code.[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Google Map and Street View</title> <script src="http://maps.google.com/maps?file=api&v=2&key=INSERT_API_KEY_HERE" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var lat = -33.867141; var lng …

Member Avatar for muralibobby2015
0
161
Member Avatar for muralibobby2015

hello... i am getting problem with this regex....what is the exact format of this pattern only 000-000-0000. exact this pattern only not other U.S phone number format. why because i am using below javascript for this validation. [CODE]if(window.document.UserDetails.phone.value=="") { alert("Please Enter The Phone Number") window.document.UserDetails.phone.focus(); return false; } var pattern …

Member Avatar for muralibobby2015
0
185
Member Avatar for Stefano Mtangoo

[QUOTE=futhonguy;1055694]I tried to use the above code for an example and i came across a Deprecated on Call-time pass-by-reference for these following code: [CODE]array_map( 'stripslashes',&$_POST ); //Strips slashes array_map( 'mysql_real_escape_string',&$_POST ); //Escapes data to protect against sql injection[/CODE]. put below code..... [CODE]array_map( 'stripslashes',$_POST ); //Strips slashes array_map( 'mysql_real_escape_string',$_POST ); //Escapes …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for OpenBSD
Member Avatar for sarithak

put like this in the html. i think it is the problem with charset. [CODE]<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />[/CODE]

Member Avatar for mschroeder
0
146
Member Avatar for muralibobby2015

hello... i have this array. $idratings[]=array($post->ID=>$caticons_ratings); [B]output:[/B] [CODE]Array ( [0] => Array ( [173] => 8 ) [1] => Array ( [170] => 9 ) [2] => Array ( [165] => 10 ) [3] => Array ( [161] => 6 ) [4] => Array ( [153] => 8 ) [5] …

Member Avatar for diafol
0
85
Member Avatar for briandns1

[QUOTE=ardav;915041]I've used one recently called Help Desk 1.0 by Linux Web Shop. The live chat module is awesome (for free). It also has a ticket system and a knowledge base builder (a complete support package). Unfortunately I can't remember from where I downloaded it (I think it was sourceforge, but …

Member Avatar for diafol
0
388
Member Avatar for muralibobby2015

hello... i am doing authors page. in this i want to display related authors of that site. in authors table author has a field author type. he can give more types by ',' separate. so i want to dispaly related authors who has matched his type. here i wrote my …

Member Avatar for pritaeas
0
89
Member Avatar for heshanm

use like this.[CODE]<input type="text" name="nic" size="30" class="attribute1" value="<?=$nic?>" />[/CODE]

Member Avatar for heshanm
0
212
Member Avatar for dandixon

ok. see this code[CODE]if($username) { $select=mysql_query("select * from registration where username='$username'"); $count=mysql_num_rows($select); if($count>0) { echo "username already exists"; } else { //write insert query } }[/CODE]

Member Avatar for muralibobby2015
0
181
Member Avatar for reibi
Member Avatar for muralibobby2015
0
125
Member Avatar for Virangya
Member Avatar for gpmmuthu

look at this. copy this code and change as your need. pagination.php [CODE]<?php function Pages($tbl_name,$limit,$path) { $query = "SELECT COUNT(*) as num FROM $tbl_name"; $total_pages = mysql_fetch_array(mysql_query($query)); $total_pages = $total_pages[num]; $adjacents = "2"; $page = $_GET['page']; if($page) $start = ($page - 1) * $limit; else $start = 0; $sql = …

Member Avatar for gpmmuthu
0
404
Member Avatar for kasakit
Member Avatar for nadskap2
Member Avatar for rajarajan2017
0
108
Member Avatar for backendcode

use strcmp() [CODE]<? echo strcmp(test,TEST);?><? echo strcmp(test,test);?>[/CODE]

Member Avatar for rajarajan2017
0
198
Member Avatar for Mujahid158

use explode() for it. count the size of that array . then looping for insert each tag separate [CODE]<?php // Example 1 $pizza = "piece1,piece2,piece3,piece4,piece5,piece6"; $pieces = explode(",",$pizza); $count=count($pieces); for($i=0;$i<$count;$i++) { echo $pieces[$i]; // piece1 //write insert query here. } exit; ?> [/CODE]

Member Avatar for metalix
0
161
Member Avatar for raylein
Member Avatar for raju_boini525
0
87
Member Avatar for Sherlock09

try like this[CODE]<? $i=0; while($row_books=mysql_fetch_array($books)) { if( $i<3) { ?> <a href="imagethumb.php?s=<?php echo $row_books['Image']; ?>"><img src="images/buttonname.gif" alt="<?php echo $row_books['Title']; ?>" width="72" height="19" border="0" /></a> <? $i++; } if($i==3) { echo "<tr>"; $i=0; } } ?>[/CODE]

Member Avatar for muralibobby2015
0
58
Member Avatar for braveheart_sb

try this code. when you upload an image crope the image and store it. then you retrive that image. i am explaing below code.first you create partners_logs folder and in that create subfolder 250x150.[CODE] 1. <? 2. if(is_uploaded_file($_FILES["pimage"]["tmp_name"])!='') 3. { 4. //echo"file in";exit; 5. //echo"in ";exit; 6. $rand_variable1=rand(10000,100000); 7. if(is_uploaded_file($_FILES["pimage"]["tmp_name"])) …

Member Avatar for muralibobby2015
0
201
Member Avatar for sainigks

yaa..it is the way as vibhadevit said. if you want with in that page then you write select query above the insert query. for example in your form user name should be unique. then you write select query like this. if it is true then insert the value. [CODE] $select=mysql_query("select …

Member Avatar for metalix
0
142
Member Avatar for dandixon
Member Avatar for BlackNinja

[QUOTE=BlackNinja;1302495]That doesn't work either, it doesn't matter what value i try to put in it is just not getting saved in the session. i tried [code=php]$SESSION['pas']="Testing session saving";[/code] and it wont even display that.[/QUOTE] [CODE]$_SESSION['pas']="Testing session saving"; [/CODE] i think If you are using the latest version of WAMP or …

Member Avatar for cwarn23
0
162
Member Avatar for fabzster
Member Avatar for mpc123
Member Avatar for UzuNarU

[URL="http://www.marcofolio.net/webdesign/php_random_image_rotation.html"]http://www.marcofolio.net/webdesign/php_random_image_rotation.html[/URL]

Member Avatar for UzuNarU
0
213
Member Avatar for muralibobby2015

fck editor image upload failing in my server. images are not uploading. but it is working in my localhost.....plz tell me what to do?

Member Avatar for ApocDen
0
149
Member Avatar for muralibobby2015

hello.. i have to do substraction of two php variables which is having datatype varchar. i am trying like this.[CODE] $a=5; $b=3; $c=$a-$b; [/CODE] but for float values [CODE] $a=3000.90; $b=2000; $c=$a-$b; [/CODE] out put is $1000.9. ok even i echo $a i am getting 3000.9 how to get two …

Member Avatar for muralibobby2015
0
87
Member Avatar for preetg

[QUOTE=preetg;1153139]hey you solve my prob......................but the code written inside while loop is not executing......... can you help me......... only P print into text file.. $tabledata .= "p"; thanx if you will help me about this ..........[/QUOTE] you missed this while loop close bracket ')'. put this. [CODE]while ($attendance_data = mysql_fetch_assoc($attendance_resultset))[/CODE]

Member Avatar for amitrohilla
0
688
Member Avatar for ekseks

i thing change date format here. i dont know it works. try once.[CODE] $("#datepick").datepicker({ dateFormat: 'yy-m-d' }); });[/CODE]

Member Avatar for Zagga
0
157
Member Avatar for bimalnayak

[QUOTE=bimalnayak;1282412]Hi , I want to convert numbers into words. Can anyone please help me to do that or how can i implement it in PHP codes pls tell me that.[/QUOTE][URL="http://www.geekpedia.com/code28_Convert-a-number-from-digits-to-words.html"]http://www.geekpedia.com/code28_Convert-a-number-from-digits-to-words.html[/URL]

Member Avatar for manzarr
2
368
Member Avatar for ManishS

[CODE]if($curnum == 0) { mysql_query("INSERT INTO users VALUES(`id`,'".$username."','".$password."','".$gender."'.".$byear.")") or die(mysql_error()); }[/CODE] put $id instead of id in query. but there is no need to put $id. it is not a manuall entry value. and next change ',' instead of '.' [CODE]'".$gender."'.".$byear."[/CODE]here. just leave it use like this. [CODE]if($curnum == 0) …

Member Avatar for metalix
0
109

The End.