Posts by STRILEXLIVE • 93 points
6 posts
-
3
votes1
answer1139
viewsQ: My bot in Telegram is looping messages
Hello, I have the following code: <?php function readUpdate($updateId) { $fh = fopen(basename(__FILE__, '.php').'.txt', 'a'); fwrite($fh, $updateId.' '); fclose($fh); } function…
-
1
votes1
answer212
viewsQ: How to place a GET order on each line with jQuery
Hello, I have the following code: $('#checar').click(function() { $.ajax({ type: 'GET', url: 'checar.php', data: { lista: $('#lista').val() }, success: function(data) { $('#sucesso').html(data); }…
-
1
votes2
answers1095
viewsQ: How to take values within multiple tags
Hello, I have the following HTML page: <!DOCTYPE html> <html> <head> <title>Exemplo</title> </head> <body> <div id="text">Valor 1</div> <div…
-
1
votes1
answer675
viewsQ: PHP does not return database result
Hello, I have the following function: function makeLogin($user, $pass) { $pdo = new PDO("mysql:host=".HOSTNAME.";dbname=".DATABASE.";charset=utf8;", USERNAME, PASSWORD); $sql =…
-
0
votes2
answers423
viewsQ: Take an input value by name
Hello, I have the following function: function capturar($string, $start, $end) { $str = explode($start, $string); $str = explode($end, $str[1]); return $str[0]; } I use it with Curl, to get the…
-
1
votes1
answer713
viewsQ: Add a separator to each item
Hello, I have the website exemplo.com, in it I use the Bootstrap, I would like to add a / to each item in his navbar, as a breadcumb. Like a breadcumb but in the navbar. Thanks in advance.…