03-05-2016
OK, I checked the database and threads 264504 and 264506 are "gone"... there is no row entry for those two threads.
I'll check the PHP and MySQL error log files to see if there is further info.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just inst freeBSD boot installation and it didnt work for(probably my lack of knowledge) reasons but i now have to partitions in freeBSD and i really need them back for windows at the moment. i just cant find them. The bad thing is that i only got this bundled version of windows so i cant really... (2 Replies)
Discussion started by: riwa
2 Replies
2. UNIX for Dummies Questions & Answers
when i am doing the crontab editing i am using the setenv EDITOR /usr/bin/vi
but their was an error i tried to put set EDITOR /usr/bin/vi and it wnet through and i started editing using the command crontab -e but somehow it is slow and displayed something like e300 and i tried to stop because it... (3 Replies)
Discussion started by: afuella
3 Replies
3. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
4. Solaris
Hi all
I have a really strange situation. This morning I ran lpstat -p and it didn't return any results. I ran lpstat -t and the scheduler is running.
How strange, it seems all the printers have disappeared from my server.
Can anyone perhaps explain to me how this is possible? (4 Replies)
Discussion started by: soliberus
4 Replies
5. UNIX Desktop Questions & Answers
I'm doing an assignment for a Unix course at school.
I attempted to rename one of the shell programming questions from home to Q1 by typing:
mv home Q1
It returned a message saying
mv: cannot access home
And now there's no home or Q1 in the directory. Please help! (8 Replies)
Discussion started by: slogged
8 Replies
6. Solaris
Hello all I was configuring a SUN 2540 raid and after a reboot the hba`s is gone.
There is no longer an entry in etc/path_to_inst for them (2 cards).
I tried a reconfigure boot several times but it does not work.
The hba`s is a SUN qlogic 2200 in x4240 server (AMD).
Using solaris 10 update7.... (6 Replies)
Discussion started by: vettec3
6 Replies
7. Solaris
Hi, I've got an issue here: After I logon to the xscf prompt of this Sun M5000 and did 'XSCF> version -c xcp', the xscf prompt disappeared. I can't get it back and can't log out.
exit
rebootxscf
logout
#.
#>
#>
~#
~#
exit
sendbreak
exit
I tried to set the Mode Switch to the service... (3 Replies)
Discussion started by: aixlover
3 Replies
8. Solaris
Can't find the data in either pool.
bash-3.00# zoneadm -z PPSMzone1 move /zpool/ppsmzone1
cannot create ZFS dataset zpool/ppsmzone1: dataset already exists
Moving across file-systems; copying zonepath /rpool/PPSMzone1...
Cleaning up zonepath /rpool/PPSMzone1...
bash-3.00# zonecfg -z... (1 Reply)
Discussion started by: LittleLebowski
1 Replies
9. Solaris
System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD.
I have been experimenting on the above system, using ldmp2v to create "clones" of my physical systems as LDoms on the server when there was an unscheduled power outage. After the system came back up I had lost my LDoms, although... (7 Replies)
Discussion started by: apmcd47
7 Replies
10. Solaris
I have a problem where I installed several OSes as partitions on one disk. And suddenly I cannot see Solaris 11.3 in the bios boot screen anymore. I have no clue why. Do anyone have a suggestion so I can dig further somewhere?
I first installed Solaris 11.3. Then Windows10 (gaming). Then Linux... (3 Replies)
Discussion started by: kebabbert
3 Replies
LEARN ABOUT PHP
mysql_data_seek
MYSQL_DATA_SEEK(3) 1 MYSQL_DATA_SEEK(3)
mysql_data_seek - Move internal result pointer
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_data_seek(3)
o PDO::FETCH_ORI_ABS
bool mysql_data_seek (resource $result, int $row_number)
DESCRIPTION
mysql_data_seek(3) moves the internal row pointer of the MySQL result associated with the specified result identifier to point to the spec-
ified row number. The next call to a MySQL fetch function, such as mysql_fetch_assoc(3), would return that row.
$row_number starts at 0. The $row_number should be a value in the range from 0 to mysql_num_rows(3) - 1. However if the result set is empty
(mysql_num_rows(3) == 0), a seek to 0 will fail with a E_WARNING and mysql_data_seek(3) will return FALSE.
o $
result -The result resource that is being evaluated. This result comes from a call to mysql_query(3).
o $row_number
- The desired row number of the new result pointer.
Returns TRUE on success or FALSE on failure.
Example #1
mysql_data_seek(3) example
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
$db_selected = mysql_select_db('sample_db');
if (!$db_selected) {
die('Could not select database: ' . mysql_error());
}
$query = 'SELECT last_name, first_name FROM friends';
$result = mysql_query($query);
if (!$result) {
die('Query failed: ' . mysql_error());
}
/* fetch rows in reverse order */
for ($i = mysql_num_rows($result) - 1; $i >= 0; $i--) {
if (!mysql_data_seek($result, $i)) {
echo "Cannot seek to row $i: " . mysql_error() . "
";
continue;
}
if (!($row = mysql_fetch_assoc($result))) {
continue;
}
echo $row['last_name'] . ' ' . $row['first_name'] . "<br />
";
}
mysql_free_result($result);
?>
Note
The function mysql_data_seek(3) can be used in conjunction only with mysql_query(3), not with mysql_unbuffered_query(3).
mysql_query(3), mysql_num_rows(3), mysql_fetch_row(3), mysql_fetch_assoc(3), mysql_fetch_array(3), mysql_fetch_object(3).
PHP Documentation Group MYSQL_DATA_SEEK(3)