Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
95% Quality Score
Upvotes Received
18
Posts with Upvotes
16
Upvoting Members
13
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
2 Endorsements
Ranked #621
Ranked #1K
~71.5K People Reached
About Me

Computers,tennis, soccer, chess...

Interests
Web Programming & Design
PC Specs
MS Excell
Favorite Tags
Member Avatar for stokie-rich

Try this: http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/ http://windowsvj.com/wpblog/xampp-installation-error-port-80-or-443-already-in-use-apache2-2-service-failed/

Member Avatar for diafol
0
423
Member Avatar for showman13

Check jqGrid if it is what you need. http://www.trirand.com/jqgridwiki/doku.php http://trirand.com/blog/jqgrid/jqgrid.html http://www.trirand.com/blog/?page_id=5

Member Avatar for showman13
0
669
Member Avatar for eburlea

I have the following code in application.ini resources.db.adapter=PDO_MYSQL resources.db.params.host=localhost resources.db.params.username=myusername resources.db.params.password=mypassword resources.db.params.dbname=mydb resources.db.params.charset = "utf8" resources.db.params.driver_options.1002 = "SET NAMES utf8" I cheked on the internet and could not find out an answer, may you could help. Why the last row resources.db.params.driver_options.1002 = "SET NAMES utf8" is used, if the charset …

Member Avatar for eburlea
0
724
Member Avatar for eburlea

I am new in Wordpress. I have installed a plugin "Infinite Scroll". When I scroll down the page to load new articles into the page, a message appear "Loading...". I have tried to translate the message in admin panel, but that was not a translation, just a replacement of the …

Member Avatar for mattster
1
240
Member Avatar for Siberian

It worked for me this way: var lw = function(){}; lw.prototype = { getData : function(bat,bat2,bat3){ var params = {}; params[bat] = bat; params[bat2] = bat2; params[bat3] = bat3; return params; } } var what = new lw(); var result = what.getData("one","two","three"); for (var apple in result) { document.write(result[apple]+"<br/>"); }

Member Avatar for Siberian
0
129
Member Avatar for Alonso_1

Does it help? Instead: $statement = $db->query($query); Write: $statement = $db->query($sql);

Member Avatar for broj1
0
2K
Member Avatar for nadiam

Does it help you? <select name="table-type" id="select-t"> <option value="" disabled selected>Types of Tables</option> <option value="seat-r">Round Table</option> <option value="seat-b">Banquet Table</option> <option value="seat-s">Square Table</option> </select><br> No. of seats : <br> <input type="text" readonly placeholder="Select Table" size="8" id="inform" /> <select name="seatno" class="seat" id="seat-r" style="display: none;"> <option value="" selected disabled>No. of seats</option> <option value="6">6</option> …

Member Avatar for nadiam
0
259
Member Avatar for engrjd91

Try instead: $something = mysql_fetch_array($count); while ($something = mysql_fetch_array($count)){ write: while ($something = mysql_fetch_array($result)){

Member Avatar for eburlea
0
346
Member Avatar for Priti_P

Does it help you? <div id="parent"> <div id="id1">1</div> <div id="id2">2</div> <div id="id3">3</div> <div id="id4">4</div> <div id="id5">5</div> </div> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ var divsTotal = $('#parent div').length-1; var divId = $('#parent div:nth-child(' + divsTotal + ')').attr('id'); alert(divId); }); </script>

Member Avatar for eburlea
0
390
Member Avatar for eburlea

Hi. I have an input type "number" set to display decimals. For example if I type "5" there should appear "5.0000". It works in Chrome and previous versions of Firefox. Now with Firefox 29 it does not work anymore. Does somebody know what could be the problem? $('#mynumber').bind('focusout', function(){ if(!isNaN(parseFloat($(this).val()))){ …

0
110
Member Avatar for eburlea

Hello! Is it possible to add autocomplete feature to input field with data loaded from local storage? <input type="text" id="medicine" /> <script type="text/javascript"> $(document).ready(function($){ var medicine = localStorage.getItem('medicine'); console.log(medicine); $('#medicine').autocomplete({source:medicine, minLength:2}); }); </script> I know thta 'source' requires an url, I succeded to make autocomplete with data from mysql. But …

Member Avatar for eburlea
0
2K
Member Avatar for eburlea

Hi. I have a mysql field with a record like: [2,5,11]. I have a query like: $query = $this->select() ->from($this->_name) ->where('id = ?', $id); This query work if record is of integer type: 5. Is it possible to create a query to find 5 in the array? Please advise. Thanks.

Member Avatar for eburlea
0
335
Member Avatar for eburlea

Hello. I have a function that checks the internet connection. I need to set a timeout to it. I have tried without success to do that. Please help. Here is the function: function isOnline() { if(navigator.onLine){ var uri = baseUrl+'ping'; var xhr = new XMLHttpRequest(); xhr.open('GET',uri,false); try{ xhr.send(); return true; …

Member Avatar for stbuchok
0
199
Member Avatar for eburlea

Hello everyone, I am trying to retrieve some info from a remote site using PHP DOMDocument and I cannot figure out why the code returns NULL, although the provided ID exists on the page. Please help. $dom = new DOMDocument("1.0", "utf-8"); @$dom->loadHTMLFile('http://sports.yahoo.com/news/messis-tax-hearing-put-back-122033643--sow.html'); $content = $dom->getElementById('yog-content'); var_dump($content);

Member Avatar for pritaeas
0
148
Member Avatar for eburlea

Hi. I am using Zend Framework Models. I have 2 tables: 'results' and 'resources'. Table 'results' has the columns: 'results_id', 'resource_id_team1', 'resource_id_team2', 'match_result'. Table 'resources' has the columns: 'resource_id', 'resource_name'. I want to retrieve the results from the table 'results' and I want to join 2 times the table 'resources', …

Member Avatar for eburlea
0
970
Member Avatar for eburlea

Hello. I need to create an array dynamically from a string value. Please advise how is it possible to retrieve the array values by keys. $mystring = 'myarray'; $myarray = ['a','b','c']; echo '<pre>'; print_r($$mystring); // it works properly echo '</pre>'; echo $$mystring[0]; // returns error

Member Avatar for eburlea
0
114
Member Avatar for eburlea

Hello. I have a form with captcha element. The text field displays on the right of the image. How can I make it displaying below the image? $path = Zend_Controller_Front::getInstance()->getBaseUrl(); $captcha = new Zend_Form_Element_Captcha( 'captcha', array( 'label' => 'Type the characters you see in the image below:', 'attribs' => array('id' …

Member Avatar for LastMitch
0
220
Member Avatar for eburlea

I have a login form 'Application_Form_Login' that I call in 'Application_View_Helper_Auth', so that the signin form appears on all pages. If I login from 'index/index', everything is ok, but it doesn't work correctly if I login from 'index/otheraction' or 'othercontroller/index'. The form code starts as follows: class Application_Form_Login extends Zend_Form …

Member Avatar for eburlea
0
389
Member Avatar for eburlea

Hello! I have a signup form that is working fine. Here it is a text element for providing the email address: $email = new Zend_Form_Element_Text('email'); $email->setLabel($sessionSettings->tr->translate('email')) ->setValue('') ->setAttribs(array('id' => 'email', 'class' => 'required email')) ->setRequired(true) ->addFilters(array('StripTags','StringTrim','StringToLower')) ->addValidators(array( 'NotEmpty', 'EmailAddress', array('Db_NoRecordExists', true, array('user', 'email_address')) )); $email->getValidator('NotEmpty')->setMessage('Email address field cannot be empty.'); …

Member Avatar for eburlea
0
367
Member Avatar for eburlea

Hi, all. I have a login form with a checkbox that needs to create cookies if checked. How is it possible to check after the form has been submitted if the checkbox has been checked? I have the following code in 'application/forms/Login.php': $remember = new Zend_Form_Element_Checkbox("remember", array('disableLoadDefaultDecorators' => true, 'required' …

Member Avatar for eburlea
0
202
Member Avatar for fheppell
Member Avatar for jasminjew

$fruit = 'apple'; $$fruit = 'red'; echo $fruit . ' is ' . $apple; // returns 'apple is red'

Member Avatar for eburlea
0
203
Member Avatar for eburlea

Hi! I have a form in Drupal that is filled up by an user and sent as email to the server. I have created a new module to modify the values in the form after the user submit it and to send them to the server with new values. Here …

Member Avatar for pritaeas
0
185
Member Avatar for atikah8890

Can this help you? <?php $dataLevel = [[280, "ANALYZE", 260, 560], [230, "APPLY", 260, 510], [180, "UNDERSTAND", 260, 460], [130, "REMEMBER", 260, 410]]; ?> <script type="text/javascript"> var dataLevel = JSON.parse('<?php echo json_encode($dataLevel); ?>'); for(var i=0; i<dataLevel.length; i++){ document.write(dataLevel[i] + '<br />'); } </script>

Member Avatar for atikah8890
0
330
Member Avatar for Dimonai
Member Avatar for Dimonai
0
903
Member Avatar for MattD00

Cookies and Sessions are 2 different things: http://php.about.com/od/learnphp/qt/session_cookie.htm

Member Avatar for riahc3
0
341
Member Avatar for eburlea

Hi all. I have a grid table and I need to set globally 2 kind of values for **emptyrecords**: 1. 'Nothing to display from the DB' -> if no data is retrieved from mysql 2. 'No data matches the search' -> after using search and nothing matched. Till now I …

Member Avatar for paulkd
0
151
Member Avatar for eburlea

Hi! I have a Zend project and I would like to implement a login form in the header of the site in such a way, that if a user is not logged in, he can use the site, but the form is always there, no matter what pages he access. …

Member Avatar for eburlea
0
595
Member Avatar for Borzoi

Check the picture properties, it may be read-only. Then you may change the code to: $old = "./images/general/item2.jpg"; $new = "./images/general/item44.jpg"; if(file_exists($old)) { rename($old, $new) or die('Error renaming file.'); echo "The file has been renamed successfully."; } else { echo 'The file does not exist.'; }

Member Avatar for Borzoi
0
214
Member Avatar for varunsara

Hello! I have the same problem and I have solved just half of it. I have downloaded a javascript plugin 'jsTimezoneDetect' (https://bitbucket.org/pellepim/jstimezonedetect/downloads) and linked it in the header. Then I wrote the following code that is returning the timezone: <script type="text/javascript"> var timezone = jstz.determine(); var user_timezone = timezone.name(); </script> …

Member Avatar for eburlea
0
321