Profile
Achievement
 
    
                iridium's Recent SnippetsTagged mysql
- All /
 « Prev 1 Next »
Simple but useful function for getting a single piece of data from a database and placing it straight into a variable.
Example:
$variable = one_result("SELECT columnOne FROM table WHERE columnTwo=whatever");
This would insert the value of colu...
        
        
        
            1 
        
        
            964 
        
                    posted 16 years ago by iridium