Home » Tag Archives:ph (page 790)

Tag Archives: ph

How to verify if $_GET exists?

November 18, 2017 Php Leave a comment

Questions: So, I have some PHP code that looks a bit like this: <body> The ID is <?php echo $_GET["id"] . "!"; ?> </body> Now, when I pass an ID like http://localhost/myphp.php?id=26...

What is md5() for?

November 18, 2017 Php Leave a comment

Questions: I was reading this tutorial for a simple PHP login system. In the end it recommends that you should encrypt your password using md5(). Though I know this is a beginners’ tutorial, and...

get first letter of each word

November 18, 2017 Php Leave a comment

Questions: How would I get the first letter of each word for a given string? $string = "Community College District"; $result = "CCD"; I found the javascript method but wasn’t sure how to convert...

Doctrine 2 + unsigned value

November 18, 2017 Php Leave a comment

Questions: Is it possible to specify a column type of unsigned integer in Doctrine 2? Answers: You can but you will loose portability. Use columnDefinition attribute and set it to integer unsigned. Th...