Create a Function from a button

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you'd have an error yes.

Code: Select all

$sql = "SELECT ID, field_name FROM " . "default_listingsDBElements WHERE (paypaluser);
isn't a string.
and your if is trying to set a constant string to another constant string.

I'm not really up on sql querying, so I can't help a whole lot in that area right now.
Post Reply