1) How do I add a simple page counter to a PHP page and insert the values in a MySQL table?Also I would need the MySQL table value to be updated with each new visit.
I have this text file: 1 - word 1 - trata 2 - love 2 - green 2 - omg 3 - hello How to parse this file so that I get the following?
I want a table with an integer column, that may or may not be filled (it is a social security number). But if it is filled, I want it to be UNIQUE : there cannot be two entries of the same number.
I have an array in PHP that looks like this: [0]=> array(2) { [\"name\"]=> string(9) \"My_item\" [\"url\"]=>
I\'m working on an windows app. This app contains a dynamic list of names, that are displayed in the form (user can add or delete a certain name).
I have table with articles and there is around 150.000 of records, in that table开发者_运维问答 I have column name which is type of varchar(45). Now I want to make index, constraints or trigger on tha
Is session id repeatable across servers for in-proc session? For example 开发者_StackOverflowwe are using 2 IIS servers - is there any chance that the IIS servers could create the same session id? We
My django model looks like this: class Entity(models.Model): name = models.CharField(max_length=40) examples = models.ManyToManyField(Example, blank=True)
I want to generate customer ids for invoices and thus don\'t want to start counting from 1 for obvious reasons. In MySQL can you generate a random number that is unique?
I have models Person and Phone/Email with HABTM relationship. After some pain I found out, that my life is easier, when I break HABTM into: Person hasMany PeoplePhone, Phone hasMany PeoplePhone, Peopl