02-06-2006
even free -m command will give the same result
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ok -- i've got the main install done, but when it goes to set up apt, i can't get to an http or ftp server to get the packages. seems my dns isn't working. problem is -- i have no way, or at least don't know a way, to get into any sort of gui, in which i think i could get it going myself. i'm stuck... (1 Reply)
Discussion started by: aenemated
1 Replies
2. UNIX for Dummies Questions & Answers
ok i installed DEBIAN, and i cant get online.. so suppp. i ahve cable and it uses DHCP.
so i ahd red hat :eek: and i jsut type modprobe 8139too, dhcpcd eth0 and... i think thats it.. im pretty sure thats it. but NOW. i install DEBIAN type out my modprobe it works yah yah. then i type out 'dhcpcd... (1 Reply)
Discussion started by: z3mo
1 Replies
3. Debian
It says that these files should be written to a floppy: Studenten Net Twente - Index of /debian/dists/etch/main/installer-i386/current/images/floppy/
How would all of those fit onto a floppy? Could I write a CD instead? (8 Replies)
Discussion started by: Bradj47
8 Replies
4. Debian
Hi Guys,
I'm new to Linux and Debian (Solaris is by bag). Anybody know where I can download a set of installation cd's/dvd's for Debian from (latest stable release please).
Thanks in advance
Marty (3 Replies)
Discussion started by: callmebob
3 Replies
5. Debian
I'm trying to install Debian to a partition on my hard drive. I have my computer booted into Knoppix from a CD and I'm using it to download the necessary files to create an install disk that I can boot from (on a USB memory stick).
Here is what someone on another forum told me to do:
Are... (0 Replies)
Discussion started by: Ultrix
0 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am trying to execute the following tar command with two --exclude options to suppress extract of the two directories specified.
Do I need to single quote the directory paths ??
Many thanks for your help.
The relevant code excerpt from the script is:
cd /var/www/${SITE}
... (7 Replies)
Discussion started by: daveu7
7 Replies
7. Debian
Hello,
I need to upgrade my Debian system 7.8 to 8.5 but by default via apt-get It moves to 8.6 version(latest stable version). I'm new to Debian so didn't figure out the solution.
I've checked few suggestions over internet like editing apt source list file using snapshot archive.
Please... (2 Replies)
Discussion started by: Mannu2525
2 Replies
LEARN ABOUT PHP
mysql_free_result
MYSQL_FREE_RESULT(3) 1 MYSQL_FREE_RESULT(3)
mysql_free_result - Free result memory
SYNOPSIS
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should
be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
omysqli_free_result(3)
oAssign the value of
NULL to the PDO object, or PDOStatement::closeCursor
bool mysql_free_result (resource $result)
DESCRIPTION
mysql_free_result(3) will free all memory associated with the result identifier $result.
mysql_free_result(3) only needs to be called if you are concerned about how much memory is being used for queries that return large result
sets. All associated result memory is automatically freed at the end of the script's execution.
o $
result -The result resource that is being evaluated. This result comes from a call to mysql_query(3).
Returns TRUE on success or FALSE on failure.
If a non-resource is used for the $result, an error of level E_WARNING will be emitted. It's worth noting that mysql_query(3) only returns
a resource for SELECT, SHOW, EXPLAIN, and DESCRIBE queries.
Example #1
A mysql_free_result(3) example
<?php
$result = mysql_query("SELECT id,email FROM people WHERE id = '42'");
if (!$result) {
echo 'Could not run query: ' . mysql_error();
exit;
}
/* Use the result, assuming we're done with it afterwards */
$row = mysql_fetch_assoc($result);
/* Now we free up the result and continue on with our script */
mysql_free_result($result);
echo $row['id'];
echo $row['email'];
?>
Note
For backward compatibility, the following deprecated alias may be used: mysql_freeresult(3)
mysql_query(3), is_resource(3).
PHP Documentation Group MYSQL_FREE_RESULT(3)