Posts by Alexandre Baggott Ayres • 11 points
2 posts
-
0
votes2
answers51
viewsA: How to insert a value filtered by SELECT within an UPDATE query in the PHP script
Changes your query to mysqli_query($link,"UPDATE usuario SET ativo_sn = 's' WHERE ra = '".$usuario['ra']."' "); You need to take out the variable quotes that you want to pass.…
-
0
votes1
answer47
viewsQ: Problem with regex in php
Hello, in my code I want to separate a string, having as separator a value that should be found via regular expression. Down with what I tried: $data =…