Jump to content

Query Help - MySQL Functions


tsilenzio

Recommended Posts

If i want to get just a single field information from a row how would i do it? For example: Query im useing: "SELECT userName FROM users WHERE userID = '$userID' AND userName = '$userName'" I was trying not to use mysql_fetch_row or mysql_fetch_assoc because that uses an array and I need just one field from a single row

Link to comment
https://forums.phpfreaks.com/topic/63057-query-help-mysql-functions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.