- Joined
- Dec 2, 2009
- Messages
- 3,351 (0.64/day)
System Name | Dark Stealth |
---|---|
Processor | Ryzen 5 5600x |
Motherboard | Gigabyte B450M Gaming rev 1.0 |
Cooling | Snowman, arctic p12 x2 fans |
Memory | 16x2 DDR4 Corsair Dominator Pro |
Video Card(s) | 3080 10gb |
Storage | 2TB NVME PCIE 4.0 Crucial P3 Plus, 1TB Crucial MX500 SSD, 4TB WD RED HDD |
Display(s) | HP Omen 34c (34" monitor 3440x1440 165Hz VA panel) |
Case | Zalman S2 |
Power Supply | Corsair 750TX |
Mouse | Logitech pro superlight, mx mouse s3, Razer Basiliskx with battery |
Keyboard | Custom mechanical keyboard tm680 |
Software | Windows 11 |
Benchmark Scores | 70-80 fps 3440x1440 on cyberpunk 2077 max settings |
Hi guys!
I created a simple search engine, but i am a beginner so don't know what is the problem with it.
I created the search, but the problem is, whatever i write on it.... it shows everything.
I know the LIKE action, but i dunno how to use it, can anyone help on here?
The code i have written is this:
Also, if i delete the like function everything i type doesn't matter, it shows everything on the database
I created a simple search engine, but i am a beginner so don't know what is the problem with it.
I created the search, but the problem is, whatever i write on it.... it shows everything.
I know the LIKE action, but i dunno how to use it, can anyone help on here?
The code i have written is this:
Code:
$result = mysql_query("SELECT * FROM student LIKE '%id%'");
Also, if i delete the like function everything i type doesn't matter, it shows everything on the database
Last edited: