Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~14.4K People Reached
About Me

a Computer Science graduate and self-proclaimed PHP geek

Favorite Tags

41 Posted Topics

Member Avatar for mrvijayakumar

I want to sort four dimensional array based on 0th index by using following method, Here is the code: var main_arr = [ [] ]; var hdnFromValues = [11,16,12,17,14,18,15]; var hdnToValues = [12,17,13,18,15,19,16]; var hdnSPIDs = [11,12,13,14,0,0,0]; var hdnFlag = [D,E,E,D,A,A,A]; for (var j = 0; j < hdnFromValues.length; j++) …

Member Avatar for Airshow
0
310
Member Avatar for anuj11

I integrated PayPal in my plenty of projects & one of my client account credited with 16845$ solidly. But, for transfering the amount to your account from PayPal may take sometime as like other gateways do & to transfer more amount you need proper authentication to do.

Member Avatar for asan_1
0
261
Member Avatar for devianleong

Hello devianleong, We don't understand what you are asking for. But, i feel like you need AJAX script which will load your product options/attributes. Here are the few links for study, 1. http://www.w3schools.com/php/php_ajax_php.asp 2. http://www.w3schools.com/php/php_ajax_database.asp 3. http://stackoverflow.com/questions/6804327/jquery-ajax-call-from-javascript-to-php 4. http://stackoverflow.com/questions/2269307/using-jquery-ajax-to-call-a-php-function 5. http://stackoverflow.com/questions/12075143/using-ajax-to-run-php-code 6. http://stackoverflow.com/questions/13351175/calling-php-functions-in-javascript-using-ajax 7. http://stackoverflow.com/questions/6610300/how-to-call-a-php-function-with-ajax

Member Avatar for devianleong
0
233
Member Avatar for sanbhu2105

![adaaf5db1246d14f3d49f2b1c09d1756](/attachments/large/2/adaaf5db1246d14f3d49f2b1c09d1756.jpg "adaaf5db1246d14f3d49f2b1c09d1756") Here are my few suggestions, 1) Do check whether, error logs are ON, or try to add these lines to enable, ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(-1); 2) Replace all $_POST with $_REQUEST (Just a try) 3) Add backtick (above tab key & near to 1 key) symbol in all your …

Member Avatar for diafol
0
240
Member Avatar for sidim

$dirPath = $_POST['company']; if(is_dir($dirPath)) { $result = mkdir($dirPath, 0755); if ($result == 1) { echo '<br/>'.$dirPath . " has been created".'<br/>'; } else { echo '<br/>'.$dirPath . " has NOT been created".'<br/>'; } } else { echo '<br/>'.$dirPath . " already exists".'<br/>'; }

Member Avatar for sidim
0
327
Member Avatar for gogs85

Agree with JorgeM point. Anyway, try this http://simplehtmldom.sourceforge.net/ . It will works perfect...

Member Avatar for mrvijayakumar
0
242
Member Avatar for nazmule27

$JSONdata = json_decode($jSOnString); echo $JSONdata[0]->amount; echo $JSONdata[0]->trxId;

Member Avatar for mrvijayakumar
0
178
Member Avatar for mxood

Here are my reviews... 1. Logo should be in img tag.. currently given as background image 2. Create sitemap in XML & submit to major search engines. There are plenty of online tools to generate 3. Try to give this image also in img tag, "../images/front.jpg" - Name the file …

Member Avatar for mxood
0
280
Member Avatar for bojan123

Change the memory size in php.ini file because the allocated memory 67108864 bytes is 64MB. Try to set 128MB or something.. Or use below code as first line of the page.. ini_set('set_memory_limit',-1);

Member Avatar for bojan123
0
249
Member Avatar for dlaverick

get_posts() will helps you to sort the issue. This function will retrieves a list of latest posts based upon the setting paramaters as array. Refer the link for more explanation & examples.. http://codex.wordpress.org/Template_Tags/get_posts

Member Avatar for diafol
0
308
Member Avatar for aspertrace

$result will returns as resource type. Better try this, while($Row = mysql_fetch_array($result)) { echo $Row['FirstName']; }

Member Avatar for aspertrace
0
217
Member Avatar for sree jith

Simple script here... [Took from w3schools] <!DOCTYPE html> <html> <head> <script> function loadXMLDoc() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("myDiv").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","ajax_info.php",true); xmlhttp.send(); …

Member Avatar for diafol
0
352
Member Avatar for Ericson27

Use JQuery or HTML5 tags to get this done as like mentioned by @phorce.. :)

Member Avatar for Webville312
0
300
Member Avatar for sushants

Read http://webdesign.tutsplus.com/articles/seo-articles/meta-tags-and-seo/

Member Avatar for honeysign
-1
208
Member Avatar for klemme
Member Avatar for klemme
0
391
Member Avatar for webmoster

Try this PHP code, <?php // create a new cURL resource $ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, 0); // grab URL and pass it to the browser curl_exec($ch); // close cURL resource, and free up system resources curl_close($ch); ?>

Member Avatar for webmoster
0
301
Member Avatar for thilipdilip
Re: Json

echo "<ul>"; foreach($loop as $mydata) { echo "<li>".$mydata."<ul>"; foreach($mydata->values as $values) { echo "<li>".$values->value . "</li>"; } echo "</ul></li>"; } echo "</ul>";

Member Avatar for mrvijayakumar
0
171
Member Avatar for mrvijayakumar

Currently am running a website. Its good for SEO, currently i added few self written widgets to retreive data using AJAX. I needs to make those AJAX widgets SEO friendly. Give some suggestions.. Thanks in advance..

Member Avatar for LastMitch
0
78
Member Avatar for jasminjew

HI, Check below links with examples, 1. http://stackoverflow.com/questions/11504335/what-is-the-difference-between-a-and-a-in-php 2. http://stackoverflow.com/questions/2715654/what-does-mean-in-php?lq=1

Member Avatar for eburlea
0
210
Member Avatar for mallows.yum

Will u share click button HTML code too? Are you using JS also? If means, share that tooo.. :)

Member Avatar for mallows.yum
0
133
Member Avatar for Ritesh_4

Try http://css-tricks.com/perfect-full-page-background-image/ & http://css-tricks.com/forums/discussion/19221/background-size-and-ie8/p1 Hope this will helps you.. :)

Member Avatar for Ritesh_4
0
173
Member Avatar for amith_ami

Instead of this structure mysite.com/?category=sports. why dont you try the permalink structure like this mysite.com/category/sports? Structure which i mentioned also good for SEO.. :) Login into your Wordpress Dashboard Go to Settings -> Permalinks

Member Avatar for mrvijayakumar
0
112
Member Avatar for fheppell

1. addslashes 2. stripslashes Be safe in handaling users, 1. Never trust users 2. Validate input data strictly

Member Avatar for fheppell
0
213
Member Avatar for mallows.yum

Try this, $UserName = $session->username; $strSQL = "SELECT * FROM employee WHERE proj_mgr = $UserName";

Member Avatar for arunmagar
0
367
Member Avatar for brainfo
Member Avatar for seju

This can be done in many ways, here is the one quick solution.. <script> function PerformAction() { var SelectedValue = document.Form.SelectValue.value; if(SelectedValue == "mail") document.getElementById("VisibleID").style.visibility="visible"; else document.getElementById("VisibleID").style.visibility="hidden"; return false; } </script> <form action="" method="get" name="Form"> <select onchange="PerformAction()" name="SelectValue"> <option value=""></option> <option value="mail">Mail</option> </select> <div style="visibility:hidden;" id="VisibleID"> Username : <input name="" …

Member Avatar for arundhati dalal
0
227
Member Avatar for shilu2
Member Avatar for mrvijayakumar
0
339
Member Avatar for london-G

Problem may be in closing DIV tags... make sure HTML tags are closed properly..

Member Avatar for mrvijayakumar
0
204
Member Avatar for mcddewitt

Dont perform else.. Once performed, it will redirect to index.jsp. your form data will be cleared. Remove below lines: else { document.location.href = "index.jsp" }

Member Avatar for mrvijayakumar
0
151
Member Avatar for markrootcarman
Member Avatar for Maideen

Compare the stored Date field & the Date in loop from/to report requried using IF stmt. Add all the Amount as seperate variables for each date & show the result. Note: Above point may increase CPU usage.

Member Avatar for Maideen
0
2K
Member Avatar for chrispitt

A method for accessing files in server using FTP. When server prompts for username & password. Give username as anonymous or ftp. Password can be anything u wish. But, most of the servers are well protected. :)

Member Avatar for chrispitt
0
188
Member Avatar for MasterHacker110
Member Avatar for crescendo
0
287
Member Avatar for phfilly

echo "$file <a title='Delete book' href='Page-name.php?del=$file'>X</a>"; if(isset($_REQUEST['del'])) { $link = './book/'.$_REQUEST['del']; if(unlink($link)) echo "Success"; else echo "Failed"; }

Member Avatar for phfilly
0
2K
Member Avatar for daniel36
Member Avatar for Troy III
-1
602
Member Avatar for mrvijayakumar

Friends, Kindly suggest me best PHP Open Source for Social Networking website. Looking forward your best suggestions. Thanks in advance...

Member Avatar for diafol
0
535
Member Avatar for london-G
Member Avatar for chrispitt

profile=new Object(); profile.FName="Vijayakumar"; profile.Lname="S"; document.write(profile.FName+" "+profile.Lname); Created Object & new instances of an Object & added 2 properties to it... :)

Member Avatar for lamiv007
0
95
Member Avatar for garyjohnson

HI garyjohnson, For auto align center using DIV, margin & width plays a important role. So, u must assign the width to fix the issue. Eventhough, there is few more possiblities to fix, here are the details, Fix 1: #overlay { position:absolute; position:fixed; z-index:1; width:100%; height:100%; background-color:rgba(0, 0, 0, .8); …

Member Avatar for JorgeM
0
328
Member Avatar for mrvijayakumar

Hi all, Currently am developing a wordpress blog to download free resouces. I need a pure PHP script that allow useres to download files after liking my facebook page/follow my twitter page. Thanks in advance...

Member Avatar for mrvijayakumar
0
100
Member Avatar for davidm23

Its very easy to do, Just change extension .html to .php. Run this on server. It will works fine.

Member Avatar for davidm23
0
181

The End.