I find for just numbers type_digit() works great combined with addslashes() but what about for a mixture, to prevent SQL injection?
Tehim 0 Light Poster
TySkby 41 Junior Poster
diafol
Tehim 0 Light Poster
Tehim 0 Light Poster
Tehim 0 Light Poster
TySkby 41 Junior Poster
diafol
Tehim 0 Light Poster
diafol
Tehim 0 Light Poster
diafol
digital-ether 399 Nearly a Posting Virtuoso Team Colleague
diafol
Tehim 0 Light Poster
Steven_B 0 Light Poster
Tehim 0 Light Poster
diafol
Steven_B 0 Light Poster
digital-ether 399 Nearly a Posting Virtuoso Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.