Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 12-30-2012, 10:42 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 613,854
Hall of Famer is on a distinguished road
Default

Of course its not correct lol. You dont know how to use the strcmp() function dont ya? It accepts two arguments, not one. The arguments have to be strings, not objects. Try this:

PHP Code:
$name $adopts->query("SELECT name FROM ".constant('PREFIX')."owned_adoptables WHERE name='{$more}'")->fetchColumn();
if(!
strcmp($name$more)){
    
// The name has not be used...
}
else{
    
// Show error message

__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Names Abronsyth Webmasters Area 4 11-28-2015 04:55 PM
Names for adoptables? tahbikat Adoptables Buzz 1 06-22-2014 12:26 PM
Species Names Beaux Questions and Supports 5 05-09-2011 04:07 PM
Descriptions and Names for each level? milay Suggestions and Feature Requests 1 03-06-2009 06:26 AM
Help With Changing Names? rosepose Questions and Supports 2 02-07-2009 03:47 PM


All times are GMT -5. The time now is 09:10 PM.

Currently Active Users: 4015 (0 members and 4015 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636