- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 2
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
75 Posted Topics
i want to know is there any inbuild function to add spaces in javascript after particular interval..!!? there is string '00009999' i want to add blank space 0000 9999 after every 4 digits.? | |
I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.! | |
i have an application which run fine on emulator now i want it into my device. for tht i need to convert it into alx file. i just want to know how can i convert my application into alx file in order to deploy into my device. thanks in advance. | |
i just to know how can we implement the feature of live streaming in my blackberry aplication.. thanks in advance. | |
<script> var counter1 = Math.abs(5/160); var output = counter1; alert(output); var counter = output.split('.',1); alert(counter); </script> when i run this code i got the error in firebug.. split is not a function.? | |
Hello Friends.. i have 2 folder in root directory DEMO1 and DEMO2 containing same kind of files. when i login in DEMO1 through localhost/demo1/index.php and it will direct me to welcome.php and after login when i change demo1 to demo2 from address bar.. I Still remain in SESSION or welcome … | |
I just want to know which would be the best CMS for a Social Networking Site.. Is it Joomla or Drupal..? | |
| |
i want to read Excel-sheet.. for that i am using PHPExcelReader.. when i use it on localhost.. its work fine but on my linux server it throw this error [code]Fatal error: Class 'ZipArchive' not found[/code] through google i came to know that i have to uncomment the zip.dll in PHP.ini … | |
Re: such error generally comes when their is some error in sql query.. or when supplied arrguement have some problem.. try to debug your query [code]$query = "select * from table"; $result = mysql_query($query) or die(mysql_error());[/code] ![]() | |
Re: this cool [URL="http://getperfectanswers.com/menu2.html"]Menu[/URL] contain no [B]javascrip[/B]t at all.. it is based on complete CSS.. this may help you.. | |
Re: you can update the password also... run this query in database 'mysql'->table 'user' [code] update user set Password = md5('12345') where user = "root";[/code] above query update the user 'root' with password '12345' | |
Re: http://getperfectanswers.com/url-rewriting-htaccess/ this link may help...!! | |
Re: Its not php poblem.. try [code] <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> [/code] | |
Re: u can pass values from one to another page by storing it in SESSION. header is use to redirect the page. and if you really want to pass values through header only then u have genrate url. header('location:destination.php?value1=1&value2=3'); but it is not a good method... just store values in SESSION … | |
Re: if it is one page code... then i can clearly see that u forgot to put particular code inside the php tag.. [code] include('include "includes/header_account.php"'); if($logged[id]) { [/code] ![]() | |
Re: http://getperfectanswers.com/info/facebook-like-login-form-works-even-javascript-is-off-or-on/ try demo.. validation in facebook style..!! | |
Re: this is header problem http://getperfectanswers.com/info/cannot-modify-header-information-headers-already-sent-by/ | |
Re: Here is the good article related to Header problem http://getperfectanswers.com/info/cannot-modify-header-information-headers-already-sent-by/ | |
Hello friends this is something weird... when i insert some italian characters in mysql. like [B]è ò à ù ì[/B] i got this in database [B]è ò à ù ì [/B] my table charset is latin1. thanks in advance. :) | |
Re: try below code on line 16 (above 2nd while loop) [code=php]mysql_data_seek($result, 0); [/code] | |
i m searching a record from database. and it contain more than 10lac records. it take lot of time and some times mysql got crashed. how i can reduce searching time..?? does xml will be helpful in this case.? | |
Hello Friends.. i m inserting near about 20000 in db at a time.. i jst want to know how can i get the number of inserted rows and time taken to done that..!!! Thanks in advance.. | |
is there any to export data from mysql to excelsheet through PHP.. Thanks in advance..!! :D | |
i need javascript for a textbox which allow only alphabet and first letter becomes capital on keyup..!! any help will be appriciated..!! thanks.! | |
i want to convert string into hexdecimal value.. Like 'Hi' into 00680069 [code=php]<?php function ascii2hex($ascii) { $hex = ''; for ($i = 0; $i < strlen($ascii); $i++) { $byte = strtoupper(dechex(ord($ascii{$i}))); $byte = str_repeat('0', 2 - strlen($byte)).$byte; $hex.=$byte." "; } return $hex; } //echo ascii2hex('he'); echo dechex(ord('hello')); ?>[/code] I got … | |
![]() | Re: though i didnt understand ur question clearly but almost same problem i m also facing..!! which is related utf-8 first of all tell where are you facing problem.? in displaying non-ascii values on browser or inserting in db..? what i found is to convert the value into hexadecimal.. n insert … ![]() |
i want to convert hexa to string in php... i google and and got this function... [code=php] function hexToStr($hex) { $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); } return $string; } [/code] it works but not in case of " 062E063506450020003500300030002E0030003000300020004B005700440020064506460020062D06330627062800200032003500380038062706440645062A06280642064A00200031002C003400320031002E0036003100320020004B005700440020062706440645062A06480641063100200031002C003400320031002E0036003100320020004B00570044 " kingly guide me little … | |
hello friends.. i have a excel file which has more than 20000 rows..!!`when i upload the file i got this error ' MySQL server has gone away ' even i increase the maximum excution time to 3000..and and memory limit to 512.!! i just want to know how many rows … | |
hello friends.. i have a value in database in this format.. 20091231190903 i want to split in date format in php 2009-12-31 19:09:09:03 how can i do it...? kindly guide me plz.. | |
anyone can tell how to add mins in php.? i have values in Db in this format 00:10, 4:05 etc i want to add mins...!!! can anyone guide me little bit Thanks | |
hello i m a frameset in which there are three frames..!! i want that user should not see each frame indiviually by clicking on "show this frame" in Mozilla..!! can we stop that.? thanks in advance | |
i have a page where listing of items is done... it also have searching feature with pagination... when i submit searching then its working fine.. but during panigation i have to pass all query parameters through url.. to get it work.. it there any way to use pagination without using … | |
i m using .htaccess file for that i have to change AllowoverRide from none to all...!! i just want to know does it can effect security of appache server..?? | |
this is my code [code=php] $query="call call_history('','$real_sdate','$real_edate','$level','$userid',@_count,'0','10')"; //Listing the result $rs = mysqli_query($mysqli,$query); $rs = mysqli_query($mysqli,"SELECT @_count"); while($row = mysqli_fetch_assoc($rs)) { print_r $row; }[/code] always i get blank result or error mysqli_fetch_assoc() expects parameter 1 to be mysqli_result i want to do it with procedural mysqli.. not with oop mysqli..!! … ![]() | |
is there any way to paginate the page without using limit in Query..!! Actually i m working on predefined stored procedures. and i m not allowed to make in changes that..!!! and that does contain limit function at all..!!!! any suggestions how should i do it.? thanks in advance | |
i have a data in mysql in this format.. 1,2,3,4,5,6... can i split and show this data in this format in mysql?? 1 2 3 4 5 6 thanks ijn advance ![]() | |
when i wrote localhost/site/images/ i can see all images of my site... how can i stop it...!! i tried .htaccess with code "deny to all" but it does not show images when i run the site on browser..!! What should i do.? | |
i want to encrpt query parameters in Url... So that end user unable to understand it..!!! [url]www.test.com/page.php?uid=1234&tid=234[/url] can we encrypt or hide value through .htaccess..??? | |
error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!! | |
i m updating 3000 records in on query after few sec.. page shows network timeout...!! how to get rid of it.. thanks | |
[url]http://www.d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm[/url] these type of jquery pagination are riable for large data...??? where query doesnt need 'limit' in it..!!! thanks | |
i m searching for it from last two hrs. but didnt find anything useful.. i hope some reply to this topic..!!! i just need a php script to upload excelsheet data into mysql table..!! thanks | |
Re: [QUOTE=kbramprasath;1048653][code=php] <?php include("config.php"); // $sql="delete from UsersR where UsersID='$UsersID'"; $sql="CALL DeleteUsers('$_POST[UsersID]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record deleted"; mysql_close($con); header("location:delete.php"); ?> [/code] it is my procedur [code=mysql] DROP PROCEDURE IF EXISTS `UsersR_DELETE_byPK` GO CREATE PROCEDURE UsersR_DELETE_byPK ( IN UsersID INT(11) ) BEGIN DELETE FROM UsersR … | |
Re: this is may be because of Query u used..!! [code=mysql] $result = mysql_query('SELECT COUNT(*), upline, name, lft, rgt FROM tree '. 'WHERE lft BETWEEN '.$row['lft'].' AND '. $row['rgt'].' ORDER BY lft ASC;');[/code] [B]count[/B] return 1 result.. delete count(*) from query and use [B]mysql_num_rows($result)[/B] for row count | |
[code=php] include_once('session.php'); include_once('config.php'); $userid = $_SESSION['userid'] ; $uname = $_GET['uname']; $query= "call sp_active('$uname','$userid',@u_active)"; $result = mysql_query($query) or die('query_error'.''.mysql_error()); if($result) { header('location:vagent.php'); } [/code] simple php code.. but still throwing Cannot modify header information - headers already sent by i have also use ob_start(); but of no use | |
Re: Try this [code=php]<?php header("Location:yahoo.com"); ?>[/code] it can be possible that short tags are off in php.ini. So Try once the above code.!! | |
Re: [url]http://www.lotsofcode.com/php/php-array-pagination.htm[/url] This link will be useful.. only you have put static data in an array..!! |
The End.