Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-20-2003, 08:54 AM   PM User | #1
kenny873
New Coder

 
Join Date: Feb 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
kenny873 is an unknown quantity at this point
mysql_pconnect() difference with the "@"

what is the difference betweeen :

1) @ $db = mysql_pconnect("localhost", "userid", "passwd");

and

2) $db = mysql_pconnect("localhost", "userid", "passwd");
kenny873 is offline   Reply With Quote
Old 02-20-2003, 09:40 AM   PM User | #2
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,233
Thanks: 4
Thanked 81 Times in 80 Posts
Spookster will become famous soon enough
The @ symbol suppresses errors for the function you use it with.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 02-23-2003, 06:54 PM   PM User | #3
Jesh
Registered User

 
Join Date: Feb 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Jesh is an unknown quantity at this point
It mysteriously contacts the pentagon and lets them know all illegal software running on your PC. Don't ever use it!

Jesh
Jesh is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 08:29 AM.


Advertisement
Log in to turn off these ads.