User Profile
Collapse
-
Try using the show-body-only option. -
You need to create a column e.g. your article table (given that the articles are in a database) that holds that value, so that you can look it up that way.
You could e.g. set the value automatically from the title on save just by making it lowercase, restricting it to be alfanumeric, and replace spaces with underscores.
Example table:
Code:ID TITLE URL_SLUG CONTENT 5 The Name the_name
Leave a comment:
-
There are multiple providers for that kind of data, e.g. ip2location.com and maxmind.com.
Since you only need to know the country, the free GeoLite Country db from Maxmind should do. Have a look here: http://www.maxmind.com/app/geolitecountryLeave a comment:
-
The notices are issued because you're trying to access indexes not currently set in the $_GET variable. Most likely because the form hasn't been submitted, so you should probably create a check for that, but one way to define a default value for the variables is by using ternary statements:
Code:$user = (isset($_GET['user'])) ? $_GET['user'] : '';
Leave a comment:
-
Which programming language to learn?
Up till now I've been a self though PHP programmer, with all the good and bad that comes with that.
I want to expand my horizon by learning a new language, and was hoping some of you here could enlighten me with some good alternatives.
I want to continue with web development, and I guess a typical application would be a CMS, with database integration and all that.
I've been thinking of C#, Java, Python and...
No activity results to display
Show More
Leave a comment: