Posts by Chris Born • 126 points
7 posts
- 
		2 votes2 answers96 viewsA: Validate username character numberTo limit the number of characters you can use the attribute maxlength in the input; <input maxlength="7"> But you ask how to validate the number of characters, so... You can count the input… phpanswered Chris Born 126
- 
		1 votes2 answers9856 viewsA: Align image next to horizontal menuJust assign the value table at the display from the menu or include a clearfix inside the menu. Below is an example: .divimg2 { background: #eeeeee; width: 400px; display: table; } .divimg2 ul {… 
- 
		0 votes2 answers583 viewsA: How to load external CSS via Codeigniter?Use the directory inside the function base_url(), and to shorten the call a little more, use <?= and ?> in place of <?php echo and ; ?>. Example: <link rel="stylesheet"… codeigniteranswered Chris Born 126
- 
		0 votes2 answers274 viewsA: Title in url with codeigniterYou can use the function (PHP) str_replace() to remove the hyphens from Lug. $filme = 'clube-da-luta'; str_replace('-', ' ', $filme); //Resultado: clube da luta To format the text, you can use… 
- 
		0 votes2 answers556 viewsA: Sql server - defaultCREATE TABLE [testes5] ( `id` integer PRIMARY KEY AUTOINCREMENT, `nome` varchar(255) DEFAULT 'Padrão', `data` date DEFAULT getdate() ) INSERT INTO [testes5] (nome, data) VALUES (DEFAULT, DEFAULT)… 
- 
		4 votes1 answer1817 viewsA: How to check the status of Paypal transactions by URLProblem solved! For those who are having any related problems, I recommend using the library created by Andrew Angell: https://www.angelleye.com/product/php-class-library-paypal/ In my case, I am… 
- 
		4 votes1 answer1817 viewsQ: How to check the status of Paypal transactions by URLIs there any way to return information from a transaction via id transaction in Paypal? Example (API Pagseguro):…