Posts by Matheus Rocha • 59 points
4 posts
-
-3
votes1
answer118
viewsQ: Delete Repeated Words from Variable
Follows the code: $selbanco = "SELECT * FROM exemplo WHERE id=5"; $querybanco = mysql_query($selbanco); while($teste=mysql_fetch_array($querybanco)){ $testando = $teste['teste']; } <td…
phpasked Matheus Rocha 59 -
3
votes1
answer1214
viewsQ: Delete repeated values from a variable
I’ll just give you a simpler example so I don’t have to post the whole code, I don’t know if that’s possible. $exemplo = "exemplo exemplo" echo $exemplo; When displaying this variable with echo it…
phpasked Matheus Rocha 59 -
1
votes2
answers2955
viewsQ: Capture field value by its ID and turn into a variable
I want to take the value of a field from my table and turn it into a variable. Example: <td id='exemplo'>VALOR EXEMPLO</td> want to take the content and turn it into a variable using…
-
1
votes1
answer565
viewsQ: Send without giving Refresh and using onchange
I want to send without refreshing my page and using on change I’m using the code below Form: <form action="" id="ajax_form" method="post" > <input type="text" name="resultado1" size="5"…