Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-05-2011, 09:02 PM
HIddenPanda's Avatar
HIddenPanda HIddenPanda is offline
I Am... Da Sheep
 
Join Date: Jul 2010
Posts: 52
Gender: Male
Credits: 7,690
HIddenPanda
Default Modding Suggestion: Error Messages

functions.php
PHP Code:

function error($message$title "Error!") {

$display "Error: " $message "<br><br>" . @mysql_error();

templatedefine($title$message);
exit();


USAGE:
PHP Code:

if (blah blah standards not met) {

error("Simple one-line error message");


See what I'm getting at HoF/Dev Staff?
__________________
dasheep.tk
Reply With Quote
 

Thread Tools
Display Modes

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
Warning Messages (more) Abronsyth Questions and Supports 4 10-04-2014 06:40 PM
Error messages~ Pear Questions and Supports 15 09-05-2014 12:45 PM
Better Messages Buttons Inf3rnal Mys v1.2.x Mods 2 10-28-2011 11:11 AM
Help: messages and email Isura Questions and Supports 1 07-24-2011 02:09 PM
Delete All Messages in Inbox Mod [by Kae] Kaeliah Mys v1.2.x Mods 0 04-02-2011 02:30 AM


All times are GMT -5. The time now is 05:27 PM.

Currently Active Users: 3879 (0 members and 3879 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