void Halt (); void Reply (const char * num,uint8_t stat); { this is the error message for this code 7|error: 'uint8_t' has not been declared 9|error: expected unqualified-id before '{' token

Member Avatar
Member Avatar
+0 forum 3

Here is exercise in error handling, while looping and for looping with itertools.chain. It is also exercise of functions not letting user to go without giving proper input. I call them to myself 'jail functions'. Here you could add as an exercise breaking out of loop and continuing until user request to quit. The code works in both Python2 and Python3 with Python2 input overwritten to be raw_input.

Member Avatar
Member Avatar
+0 forum 1

Below is a documented code example showing how to use the SQLite3 class to connect and query your database (and check for errors). IMHO using PDO is a better alternative, as this extension uses mixed technology in a non-standard way (objects, arrays and exceptions). If there are any questions let me know.

Member Avatar
+2 forum 0

Below is a documented code example showing how to use the SQLite functions to connect and query your database (and check for errors). Please note that using the SQLite extension is NOT RECOMMENDED. This extension is no longer available in PHP 5.4.0. If you want your scripts to be future proof it is better to switch to PDO. If there are any questions let me know.

Member Avatar
+2 forum 0

Below is a documented code example showing how to use the [PDO](http://php.net/pdo) classes/objects to connect and query your database (and check for errors). If there are any questions, or you want to see different features, let me know. UPDATE: I've encountered a problem with PDO and bit fields (MySQL). If you experience any problems with those I suggest changing the column type to TINYINT(1).

Member Avatar
Member Avatar
+2 forum 1

Below is a documented code example showing how to use the [MySQLi](http://php.net/manual/en/book.mysqli.php) (MySQL improved) classes/objects to connect and query your database (and check for errors). If there are any questions, or you want to see different features, let me know.

Member Avatar
+5 forum 0

Below is a documented code example showing how to use the [MySQL functions](http://php.net/manual/en/book.mysql.php) to connect and query your database (and check for errors). Please note that using the MySQL extension is **NOT RECOMMENDED**. This extension is no longer maintained and will be deprecated soon. If you want your scripts to be future proof it is better to switch to [MySQLi](http://www.daniweb.com/web-development/php/code/434480/using-phpmysqli-with-error-checking) or [PDO](http://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking). If there are any questions, or you want to see different features, let me know.

Member Avatar
+3 forum 0

Hi! I just want to share you this code snippet of mine which I use always in my application. This code snippet will help you debug your code easily. It will also help you locate where the error occurred and it also create an Error log located on your project directory. [QUOTE] In Visual Basic, Erl, a Visual Basic (undocumented in Visual Basic 4, 5, and 6 but present in all versions of Visual Basic thus far) "global variable," gives you access to the line number of any erroring line of code. So by using line numbers and by using …

Member Avatar
Member Avatar
+0 forum 4

The End.