Questions tagged as 'php'

2
answers

How to configure the doctrine terminal together with a Codeigniter project?

I'm doing the Doctrine integration in Codeigniter but I'm having trouble configuring the command line. First of all it is worth mentioning that I followed the Doctrine page. In order to install the dependencies correctly, I used Composer...
asked by 30.01.2014 / 22:57
1
answer

Rename the url with the contents of the database

How do I rename the url with the contents of the database in PHP using mod_rewrite ? For example: I have in the database a table named urls and I want to use this as follows. Let's assume that on my site I have a b...
asked by 03.04.2018 / 12:19
1
answer

htaccess constraints

I would like to clean my url so the user will not see it, I searched the internet but could not get it to work. I've already activated the bookstores in my wamp but could not get it to work properly. www.meusite.com.br/index.php?p...
asked by 17.12.2015 / 11:47
1
answer

When to use magic method __contructor or set and get

My question is regarding builder, for example, I have a class with name, age. the correct one is to use __constructor to pass values to them or use set and get?     
asked by 28.12.2014 / 04:10
2
answers

Form data does not send to email

I made a small form for sending e-mail. But when I test the send, nothing arrives in the destination email. As I do not have much experience in this part I could not identify the error, since when I send it does not give any. Here's my HTML: &...
asked by 11.02.2015 / 21:13
1
answer

Slideshow with MySQL BLOB images

I'm setting up an image manager and I need to display these images on a TV, via the browser for a slideshow. I can set up a slide show by setting each image's address, but I have several images in the DB, and I'd need to create an array of im...
asked by 26.01.2015 / 19:12
2
answers

How to send data from a php filter with several search fields

I'm creating a filter page, but this page will have many fields for the user to fill, select, and this will search the mysql database and return the data to the user on another page. One of the doubts that I have, that being many field...
asked by 15.09.2014 / 16:13
1
answer

Problem with autocomplete jquery-ui via Ajax / PHP

Talk to the people, all good! I have a webserver application that does not have a webserver. I have a webserver application that I have a webserver on. I have a webserver application that has a webservice. are correct for the source to handle th...
asked by 11.07.2016 / 03:56
1
answer

Doubt in code in probability calculation

I'm making a calculator to estimate the probability of lottery hits. I'm using this formula: Being:aisthenumberofdozensofthesteeringwheel(inMega-sena,a=60)bisthenumberofdozensdrawn(inMega-sena,b=6)kisthenumberofdozensperflyer(intheMega-se...
asked by 10.11.2017 / 21:08
1
answer

Checkboxes coming from the database with CodeIgniter

I have a database with a table named tblapoio , with 4 fields ( id , descricao , valor , tag ) I needed to make a form with a list of checkboxes with those values that exist in the table. I'm using CodeIgnit...
asked by 04.06.2015 / 18:48