Imagine you want to load a popup menu with the name of the files from a given folder, the user will later select an entry from that popup menu to load that file thanks to the file info we will store in the popup menu rowtag property. Now what if we want to sort the popup menu alphabetically? The solution is to load the data into a couple of arrays, sort those arrays together and then load the result into the popup menu. Given ‘f’ is the folder we want to display the items of, this is the code: Dim …
Month: October 2017
Array of arrays
In PHP you can use arrays of arrays. This is a very convenient way to store data for later manipulation. This is an example of an array with 2 web records: $urls = array(); $url = array( “Full” => “[URL http://www.maxprog.com]Maxprog[/URL]”, “URL” => “http://www.maxprog.com”, “Text” => “Maxprog” ); $urls[] = $url; $url = array( “Full” => “[URL http://www.apple.com]Apple[/URL]”, “URL” => “http://www.apple.com”, “Text” => “Apple” ); $urls[] = $url; You can format the output this way: foreach( $urls as $url ){ echo “<a href=\””. $url[‘URL’] . “\”>” . $url[‘Text’] . “</a><br>\n”; } The result will be: <a href=”http://www.maxprog.com”>Maxprog</a><br> <a href=”http://www.apple.com”>Apple</a><br> You can try …
Why is PayPal so slow to refund?
If you have contacted us to get a refund thru our refund page we usually process your request in a few hours. If you have contacted any of our card processors directly either to get a refund or to open a claim we will accept your request as fast as we can. In either cases as soon as the refund has been initiated you have to wait for the process to clear. It can take from a few minutes to a week for the fund to be back to your bank account. Why is PayPal so slow to refund? When …
64bits versions of maxprog products
We are currently working on 64-bit versions of all our products. Apple macOS, Microsoft Windows and Linux are all 64-bits operating systems (note that MS Windows has also a 32-bit version available). Let me explain a bit what’s that about, the terms 32-bit and 64-bit refer to the way a computer’s processor handles information. A 64-bit operating system handles large amounts of memory more effectively than a 32-bit system. While 32 bits of information can only access 4 GB of memory, a 64-bit machine can access 17.2 billion gigabytes of system memory! That means that your video card and other …
