Posts by Luan Devecchi • 151 points
7 posts
-
2
votes1
answer743
viewsQ: shell_exec() PHP of a Python script
The script <?php $output = shell_exec('py core003.py'); echo $output; ?> Rotate the script => import sys print(sys.version) The output is 3.0.1 (r301:69561, Feb 13 2009, 17:50:10) [MSC…
-
1
votes1
answer35
viewsQ: Metatag aleatoria
We use the metatags of Opengraph to detail a little more our site on Facebook for example. <head> <meta property="og:locale" content="pt_BR"> <meta property="og:url"…
-
1
votes2
answers219
viewsA: Limit result to random
Hello, I managed to solve, follow the solution: SELECT * FROM mpbbolao WHERE eTIME1>=2 order by rand() LIMIT 1 "order by Rand()" makes the order random, so the first result will also be.…
-
1
votes2
answers219
viewsQ: Limit result to random
I use the query SELECT * FROM mpbbolao WHERE eTIME1>=2 LIMIT 1 for example. To receive a query result I use LIMIT 1. Is there any way I can randomize what that "1" result will be?…
-
3
votes2
answers1084
viewsQ: Pass SQL value to a VB.Net variable?
I have this code that runs an SQL: strsql = "select Nome, Senha from users where Nome=@field1 and Senha=@field2" objcmd = New Data.MySqlClient.MySqlCommand(strsql, objconn) With objcmd…
-
4
votes0
answers56
viewsQ: No ideas for Load logic
I recently asked for help on this topic> Separate all items from a string The problem is, my game is an offline Card-Game that has an "inventory" of cards, only I have no idea how I actually "put…
vb.netasked Luan Devecchi 151 -
2
votes1
answer208
viewsQ: Separate all items from a string
I’m trying to make a system of save/load, I’m stuck on the loading part of the game cards, which are numbered for example: 1,2,3. To string contains the card numbers and other information:…