Jump to content

warnings


jagguy

Recommended Posts

1)I am gettin some warnings I want to supress, eg I am going through a dir and deleting files and the file '.' and '..' comes up with warnings when trying to delete.

What is @ and & in regards to error supression.

2)Also when using include statement I sometime sget an error with header files as it thinks this echos to the screen and fails. When i get rid of includes statement it works fine. Can I suppress this statements like with 'warnings'?
Link to comment
Share on other sites

[quote author=spfoonnewb link=topic=124231.msg514443#msg514443 date=1169854815]
Huh?

What does your include statement look like?

Does the file exist?

Codes would help
[/quote]

i include this
include("dbconnect.php");

-- the file below
<?php

error_reporting(E_ALL);
    // some basic sanity checks

        //connect to the db
        $link = mysql_connect("localhost", "jagguy_root", "")or die("Could not connect: " . mysql_error());
        // select our database
        mysql_select_db("jagguy_formdata") or die(mysql_error());
?>

ps what does the & symbol do again?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.