SOWPub Small Business Forums  
 

Click Here to see the latest posts!

Ask any questions related to business / entrepreneurship / money-making / life
or share your success stories (and educational "failures")...

Sign up for the Hidden Business Ideas Letter Free edition, and receive a free report straight to your inbox: "Idea that works in a pandemic: Ordinary housewife makes $50,000 a month in her spare time, using a simple idea - and her driveway..."

NO BLATANT ADS PLEASE
Also, please no insults or personal attacks.
Feel free to link to your web site though at the end of your posts.

Stay up to date! Get email notifications or
get "new thread" feeds here

 

Go Back   SOWPub Small Business Forums > Main Category > Original SOWPub Forum Archive
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old June 10, 2002, 07:53 PM
Steve MacLellan
 
Posts: n/a
Default Re: Any php Installers Here

> This goes for anybody, not just Taylor. This
> is just fyi for those reading so if they
> install it, and wonder "Why am I
> getting these errors". They can come
> here and I should have a fix for it. It's
> free, it's just advice for the code.
> Sometimes a variable needs a @ placed before
> it lol. It's comical, sometimes.





If we define a variable that is a connection to the database:



$db_something = @mysql_connect("yourhost", "database",
"password");
if (!$db_something) {
echo( "(p)Unable to connect to the database.(/p)" );
exit();
}



(brackets used in place of html angle brackets in code above)


... the "@" tells the function to fail silently and displays your
custom error message rather then the MySQL default error message.





> Also, for those that are curious, Php Nuke
> is a terrific content management system that
> you can get for free:


> Php Nuke is at:
> http://www.phpnuke.org Also,if interested,
> another great tool the PHP community loves
> is PhpMyAdmin. This is for those of you who
> have php/mysql support and would love a free
> script that can help you back up your data,
> modify tables, add tables, and so on.
> Amazing Tool.


> PhpMyAdmin:
>
> http://www.phpwizard.net/projects/phpMyAdmin/
> Give them a shot you might like them.


> Joel





There is a complete package you can download from sourceforge.net
that you can double-click on and it will automatically install the Apache
Server Software, PHP, MySQL, and PHPAdmin to test scripting on your local
machine.


Best Regards,
Steve MacLellan





homebusiness-websites.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is On
Forum Jump

Other recent posts on the forum...


Seeds of Wisdom Publishing (front page) | Seeds of Wisdom Business forum | Seeds of Wisdom Original Business Forum (Archive) | Hidden Unusual Business Ideas Newsletter | Hotsheet Profits | Persuade via Remote Influence | Affia Band | The Entrepreneur's Hotsheet | The SeedZine (Entrepreneurial Ezine)

Get the report on Harvey Brody's Answers to a Question-Oriented-Person


All times are GMT -4. The time now is 02:51 PM.


Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.