They're the same. According to the link above: the sizeof function is an alias of: count().
That's a helpful post for controlling the output of PHP's date().
"echo can print more than 1 argument, print can only print 1 argument."
Since PHP uses $ to declare variables (and not int, etc), one can run into issues with an if statement being unintentionally true.
For example, 0 == null.
The triple equals sign (===) allows you to prevent these cases by only returning true if the two inputs are not the same type.
So, 0 === null is not true. Also, 0 === "0" is not true either.
Since I was using EasyPHP, I needed to extract the files into the following directory (there's also another php directory in EasyPHP, not sure why, but it's worth adding the files under "ext" there too): C:\Program Files\EasyPHP-12.1\php\php546x120827090829\ext
You will also need to add the following lines to your PHP.ini file under PHPExt:
I recommend not installing 2005 if you have SQL Server 2008 Express installed! You will not be able to manage your 2008 server, and you will need to uninstall management studio to install the 2008 version here: http://www.microsoft.com/en-us/download/details.aspx?id=22985
The above website has some great snippets of code which can:
This is some very useful code from Stack Overflow which allows the user to select a folder in VBA and reads the folder path into a variable. I'm currently making a macro which opens several XML files in a folder, and this will help users to input the folder where those XML files are located:
Dim diaFolder As FileDialog
' Open the file dialog
Set diaFolder = Application.FileDialog(msoFileDialogFolderPicker)
diaFolder.AllowMultiSelect = False
Set diaFolder = Nothing
Application.DisplayAlerts = False
On Error Resume Next
On Error Goto 0
Application.DisplayAlerts = True
- The code between "On Error Resume Next" and "On Error Goto 0" will be skipped if an error is generated.
- It also won't display the error to the user because of the code on line 1 (Application.DisplayAlerts = False).
- "ThisWorkbook" will need to be declared.
If you get this error when you just type “java” into the command prompt, then it can be solved by typing “PATH=C:\Program Files\Java\jdk1.7.0_06\bin” (the folder of your java.exe).