ermm... wats the general commands to uninstall programs.....izzit rpm -e cos it keep telling me package not installed.....
anyway anyone know any good links for licq for redhat 9.0 shrike ... cos downloaded one ... dun seems to be working ... trying to get rid of it
appreciate if anyone can... (3 Replies)
Anyone who could help me with those three commands, i'm really new in cshell script so please be understandable..
Need to demostrate those three commands
del
trash (incl -ai) i that you will be asked to confirmed that they can be deleted
a to move all those files from dustbin
and to... (2 Replies)
Hello!!
I have directories from 2008, with files in them. I want to create a script that will find the directoried from 2008 (example directory:
drwxr-xr-x 2 isplan users 1024 Nov 21 2008 FILES_112108), delete the files within those directories and then delete the directories... (3 Replies)
Hi,
I'm having trouble deleting a route:
# route del 192.168.0.0
SIOCDELRT: Invalid process
# route del -net 192.168.0.0
SIOCDELRT: Invalid argument
The route is in the table:
# route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 ... (1 Reply)
Hi,
I got big problem.
a line contains like this:
Hell "A,B,C", how to delete A or B or C by using sed or other tools?
I do not have any idea.
Many thanks. (2 Replies)
i have file that looks like this:
031000503 2000049262784 LCK00000050
i want to look like this:
031000503 2000049262784 LCK00000050
i'd like to del 10-15
Please use code tags! (6 Replies)
i was faced by a question from a friend. i found it very tricky. all my months of learning unix i never can figure it out still. heres the question he faced me with. wondering if you all can help me figure a solution.
ill let him know the forums helped me out :D
What command would you use... (10 Replies)
HI Guys
I have below input :
PO 121255 SorkO_RM_,rlsmel=310_410_3_11104_43831
PO 125564 SorkO_RM_,rlsmel=007G43823
I want delete line which have "_" after = Sign
Output :
PO 125564 SorkO_RM_,rlsmel=007G43823 (2 Replies)
Discussion started by: pareshkp
2 Replies
LEARN ABOUT PHP
mssql_num_fields
MSSQL_NUM_FIELDS(3)MSSQL_NUM_FIELDS(3)mssql_num_fields - Gets the number of fields in resultSYNOPSIS
int mssql_num_fields (resource $result)
DESCRIPTION mssql_num_fields(3) returns the number of fields in a result set.
PARAMETERS
o $result
- The result resource that is being evaluated. This result comes from a call to mssql_query(3).
RETURN VALUES
Returns the number of fields, as an integer.
EXAMPLES
Example #1
mssql_num_fields(3) example
<?php
// Connect to MSSQL and select the database
$link = mssql_connect('KALLESPCSQLEXPRESS', 'sa', 'phpfi');
mssql_select_db('php', $link);
// Select some data from our database
$data = mssql_query('SELECT [name], [age] FROM [php].[dbo].[persons]');
// Construct a table
echo '<table border="1">';
$header = false;
// Iterate through returned results
while ($row = mssql_fetch_array($data)) {
// Build the table header
if (!$header) {
echo '<thead>';
echo '<tr>';
for ($i = 1; ($i + 1) <= mssql_num_fields($data); ++$i) {
echo '<td>' . ucfirst($row[$i]) . '</td>';
}
echo '</tr>';
echo '</thead>';
echo '<tbody>';
$header = true;
}
// Build the row
echo '<tr>';
foreach($row as $value) {
echo '<td>' . $value . '</td>';
}
echo '</tr>';
}
// Close table
echo '</tbody>';
echo '</table>';
// Clean up
mssql_free_result($data);
mssql_close($link);
?>
SEE ALSO mssql_query(3), mssql_fetch_field(3), mssql_num_rows(3).
PHP Documentation Group MSSQL_NUM_FIELDS(3)