Skip to content
Advertisement

Tag: php

call value from another table when the value is not null

I want to get the value from table stage_cdl if it has value and from tale stage_vdl if it has value. Before this, I used this code (below) but I only receive the array until value 5 not include the table stage_vdl_id. The output: invoice_stud table stud_stage_cdl table stud_stage_vdl table license_cdl_module table license_vdl_module table Here what I’ve done so far,

How to COUNT “accounts” only if character/user exist

I have 2 tables – “accounts” and “players” I’m using this query to COUNT accounts Accounts table estructure: Players table estructure: * Let’s say the query counts 10 accounts but only 3 accounts have a character/user created. I would like to know how to count only those 3 accounts without taking in consideration how many characters/users has the account, so

How to make a button to jump into specified table row

I have code that generate a table from my database. The code is Now that code will give me a big table. Is there any way to make some link or button to make me jump onto a specific row in a table ? Because scrolling through the big table really not efficient Answer well, i found a simple solution

Is this php login system secure? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago. Improve this question Is this login page secure, researching about sql-injection, is their a vulnerability if so how do I manage it? I previously

How to compare database data in php

I want to compare the database data in the php. This is my table hospital_payment_data table cash_receipt_publish table This is my sql syntax in this web page result I Want result If the date and the amount match or the amount match, I would like to express it as False by comparing the table with the table in cash_receipt_public. Answer

Advertisement