- Upvotes Received
- 7
- Posts with Upvotes
- 6
- Upvoting Members
- 7
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
a Computer Science graduate and self-proclaimed PHP geek
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++) … |
|
Re:
Hi,currently i m developing a PHP Cart. I have a php function is call product option value. When Admin adding product ,ajax will load my php function without refreshing page to allow admin to select the option like color,size etc. In my php function got no any submittion data but … |
|
Re:
hello, i have below code and i need to change the status to inactive when i press the delete button. it happens that when i use the code below, the status does not change at all. can anyone tell me where am having an error in the code? <?php session_start(); … |
|
Re:
Hi, I can't seem to find the answer I'm looking for online (maybe keywords are too common?). Is my code only verifying whether my directory is created? Or is it actually validating? I need it to validate, but I'm unsure whether or not it's doing that. $dirPath = $_POST['company']; $result … |
|
Re:
Dears, how to get div or content informations text and pictures from another website and show in my webpage? Please help! |
|
Re:
Foloowing is my out put of data, Now I need to show in label the 'amout' and 'trxID'. Please help me. { "transaction": { "amount": "29", "counter": "1", "currency": "BDT", "receiver": "01811700563", "reference": "a", "sender": "01711643998", "service": "Payment", "trxId": "270413065", "trxStatus": "0000", "trxTimestamp": "2013-07-02T00:00:00+06:00" } } |
|
Re:
hi i have built a website which has been live for a while but i am not sure if i am doing it right. The website i created is http://canadianfavoritepizza.com ( by no means am i trying to attract people to this website, obviously this is a location based website … |
|
Re:
Hi, I have a problem with PHP error is: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4320001 bytes) in /home/explorer/public_html/secure/foto/libs/upload/Image.php on line 480 Image.php code > http://pastebin.com/Wu8cHYUx Please help |
|
Re:
I am running a custom query for my recent posts, code can bee seen at: http://pastebin.com/CFZdP3c9 This code is just for my recent posts, not the actual page content. My problem is that it shows my current page post item and I cannot figure out how to pass over it. … |
|
Re:
<?php $username = $_SESSION['username']; $result = 'sample'; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $sql = "Select FirstName from Person Where LoginID = (Select LoginID from UserLogin Where Username = '$username')"; $result = mysql_query($sql,$con); echo $result; ?> I'm kinda new to this server-side scripting … |
|
Re:
Hi, I have been working on trying to figure out, how to call a php function in javascript, for about two weeks. PS: I don't have code to post because I really don't know how to implement this. |
|
Re:
hi guys i need help, i need php code about how to put a sound in website... thanks!!! |
|
|
|
Re:
Hi all, I have to create a function, that lets users write a newsletter from an intranet, instantly share that on the companys Facebook page wall. The intranet stuff is made, and all fine - just need to post it on the wall too.. Anyone knows what api or plugin … |
|
Re:
Help me! I have a domain, I would like to handle subdumain with .htaccess file. for example: http://usa.hotbizzle.com or http://india.hotbizzle.com should not redirect to sub folder. URL should not change in the browser but it has to call a file php file and give result. Is there any possibilities in … |
|
Re:
Hi all, I'm having one problem with disapling the json data into ul and li based content with using of foreach() json data from database is [{"id":1},{"id":2,"children":[{"id":3},{"id":4},{"id":5,"children":[{"id":6},{"id":7},{"id":8}]},{"id":9},{"id":10}]},{"id":11},{"id":12}] $loop = new RecursiveIteratorIterator( new RecursiveArrayIterator(json_decode($get_menu, TRUE)), RecursiveIteratorIterator::SELF_FIRST); foreach($loop as $mydata) { echo $mydata foreach($mydata->values as $values) { echo $values->value . "\n"; } … |
|
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.. |
|
Re:
hello friends, What is the differnece between $name and $$name? |
|
Re:
hi all! i have here a code to delete a record <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Can't use ' . … |
|
Re:
Hello, I have used the css background-size: cover, where it works well on Firefox and IE9, however, on IE8 it is not using this css at all, anyone can help me find a way to make it compatible on IE8 (and previous versions if possible) as well? |
|
Re:
hi all i want to change my wordpress site category url. now its like this mysite.com/?cat=1 ,but i want to change it like this mysite.com/?category=sports . i dont know how to make this. pls help me to do this. tnx in advnc |
|
Re:
I have a snippet of mysql which is filled in with two variables: SELECT `download` FROM `images` WHERE `owner_un`='$owner' AND `url`='$url' The `$url` variable comes directly from a URL variable. This input should only ever contain alphanumeric characters, if this helps. Thanks for any help |
|
Re:
hi all! i have here a code. <?php /** * Main.php */ include("include/session.php"); ?> <html> <head> <title>Export to Excel</title> </head> <body> <form action="saverec.php" method="post"> <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . … |
|
Re:
Hello all, I am having problem with jquery hover action. When ever i refresh a page the hover action is working but whenever i click on any tab (category tab section) hover action is failed. I am tired of finding solution on google. Please help me. The site url is … |
|
Re:
hello...help me rapidly.. query is that.. when we select the mail from the select tag and then automatically display the two text box like user name and contact no.. how i do this...? but remeber it that without use button....i hope as soon as i vl get my perfect ans... |
|
Re:
I have tried following code index.php <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>JQuery Popup Demo</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript"> function openOffersDialog(x) { $('#overlay').fadeIn('fast', function() { $(boxpopup).css('display','block'); $(boxpopup).animate({'left':'30%'},500); $('#content').html(x); }); } function closeOffersDialog(prospectElementID) { $(function($) { $(document).ready(function() { $('#' + prospectElementID).css('position','absolute'); $('#' + prospectElementID).animate({'left':'-100%'}, 500, function() … |
|
Re:
Hello, I have a website in which I want to replace the menu bar. I have created the menu using html and CSS. The Css file is a separate file. I have included the sidebar using include sidebar.html. The sidebar does shows but all the rest of the page is … |
|
Re:
WHat am I doing worn with this code?? I am trying to create a submit popup confirmation beofre inserting record into DB and if they cancel they are returned to my index.jsp page.. I am messed with the script a few different ways but am still having issues <form id="myform" … |
|
Re:
Hello friends, I have just joined this online community. I also started a new website about choosing the best car loan service provider. If you have some suggestion to promot my website then give me your suggestion. |