Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Call Database search by URL for specific values

puu.sh/CfaF5.png

Would would I do this? I have a MySQL database; would i use PHP to make this call securely? Its in one db,one table, a few columns but one is name and one is credits.

TIA for any help
(Dec 9, 2018 04:50 PM)PerformanceDirectUSA Wrote:  puu.sh/CfaF5.png

Would would I do this? I have a MySQL database; would i use PHP to make this call securely? Its in one db,one table, a few columns but one is name and one is credits.

TIA for any help

I am confused as to what you are asking
http://sunjester.rf.gd - proxies, logins, scanner results
(Dec 9, 2018 04:52 PM)realsunjester Wrote:  I am confused as to what you are asking
I'm in the same boat as this guy.

OP, use coherent English to construct your sentences, please.

Je t'aime
[Image: fpZ5a5g.png]

(Apr 22, 2022 04:39 PM)-Scrub Wrote:  Jokes on you, I'm not smart enough to know what he's talking about.
(Dec 9, 2018 04:52 PM)realsunjester Wrote:  I am confused as to what you are asking

(Dec 9, 2018 04:56 PM)Nachfolger Wrote:  I'm in the same boat as this guy.

OP, use coherent English to construct your sentences, please.

Wowzers. That's what happens when I type a message just after waking up I guess. Let me rephrase.

In the URL I posted, this webservice I use lets me query a DB and POST to it for updates. I'm trying to figure out how to do that with a REST API.

github(dot)com/mevdschee/php-crud-api

Utilizing this API....
url/TEST/api.php/records/store_players/418 -- works (this is "id" in my table, the very first column)
url/TEST/api.php/records/store_players/1:422354506 -- does not work... this is the data from an entry in the second column.

puu.sh/CfdCS.png

I just need to have the URL like the second way and only spit out a "credits" number.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by YoonoJan 29, 2025 02:27 PM 1 268 Jan 29, 2025 02:27 PM
Last Post: Epic
[PHP] by faxxgridApr 30, 2020 11:45 AM 15 371 Apr 30, 2020 11:45 AM
Last Post: faxxgrid
[PHP] by EffexionJan 25, 2019 06:16 AM 2 169 Jan 25, 2019 06:16 AM
Last Post: Effexion