Posts by Deivid • 109 points
7 posts
-
1
votes1
answer97
viewsQ: Doubt with javascript console.log
i have a javascript that performs some actions on a site. I follow through the console to know what is happening, but at various times it executes a command that printa in console.log("check"); I…
-
0
votes2
answers1239
viewsA: How do I make it open a Pop-up by pressing a button?
Ta ai, JSS, CSS and HTML. to get an HTML for the freight calculation use the site http://www.trackside/ $(function() { $("#btnFrete").click(function() { $("#registerDiv").fadeIn(1000);…
-
1
votes1
answer57
viewsQ: Doubt about PDO connection
And everybody, I have a question about the PDO connection. This is the connection I have in the script that I’m configuring: <?php function getDB() { $dbHost = 'host'; $db = 'bd'; $dbUser =…
-
-1
votes1
answer59
viewsQ: Does anyone know where I can find this php?
I’m looking for a file, its name is server-side-script.php so what I researched seems to be a standard translation file, I didn’t get it very well. The point is that I have a script and it comes…
-
4
votes2
answers43
viewsQ: What’s the best way to post this echo?
What’s the best way to post this echo? I know there’s a quote missing, I just don’t know where to put it. <?php echo '<a href="page.php"><em>' <?php echo…
-
2
votes1
answer101
viewsQ: Transferring and summing values from an SQL column
I have two columns in a table, I need the values in column 1 to be transferred and added to the values in column 2. This can be done with a PHP or is there some easier way to do it? Original: ID / 1…
-
1
votes2
answers1955
viewsQ: Adding numbers from an array
I’m using a loop to show all the answers in a respective column of my bd. But I need to add all the numbers contained in that array. Code I’m using: <?php $host = "xxx"; $db = "xxx"; $user =…