Posts by Rodrigo Marques • 23 points
4 posts
-
0
votes3
answers209
viewsA: Pass value to variable
solved like this: <select name="estados" id="estados" title="Selecione um Estado"> <option value="0" selected disabled>Selecione um estado</option> <?php…
phpanswered Rodrigo Marques 23 -
0
votes3
answers209
viewsQ: Pass value to variable
I need the variable $idestados receive status id value when an option is selected but I’m getting beat up by ajax and jquery so I want to know if you have a better option to do this. The $anuncio is…
phpasked Rodrigo Marques 23 -
1
votes1
answer1069
viewsQ: How to set and access session after using session_name
I have a $_SESSION["id"]="123"; and direct access her so: echo $_SESSION["id"]; If I use the session_name(md5("seg".$_SERVER["REMODE_ADDR"].$_SERVER["HTTP_USER_AGENT"])); how I will access or set…
phpasked Rodrigo Marques 23 -
1
votes1
answer82
viewsQ: Classes with operations extending another class
I have a class called cliente class cliente { private $id; private $nome; function getId() { return $this->id; } function getNome() { return $this->nome; } function setId($id) { $this->id =…