Displaying 8 results from an estimated 8 matches for "mysql_num_row".
Did you mean:
mysql_num_rows
2003 Dec 09
3
Web Interface for CDRs
Does anyone know where that nice .php is that was written to access the
CDRs from mysql DB?
Bruce W. Hedreen
Computer Technologies of Eastern Carolina, LLC
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.543 / Virus Database: 337 - Release Date: 11/21/2003
-------------- next part --------------
An HTML attachment was
2006 Dec 18
2
AGI Help Please
...ot;,"",$s[0])] = trim($s[1]);
if (($env == "") || ($env == "\n")) {
break;
}
}
// main program
$clid = $agi[callerid];
connect_db();
$query1 = "SELECT * FROM cdr WHERE dst = '$clid' ";
$query_result1 = @mysql_query($query1);
$row_count = mysql_num_rows($query_result1);
$row1 = @mysql_fetch_array ($query_result1);
fputs($stdout,"There have been\n");
fputs($stdout,"$row_count calls made\n");
fflush($stdout);
fclose($stdin);
fclose($stdout);
exit;
?>
There are no debug errors and the query is going through just fine... and...
2012 Nov 12
3
Unable to lauch php-script to truncate database
...riable";
mysql_query($sql);
/**************************************************************
Deleting temp tables
**************************************************************/
$result=mysql_query("SHOW TABLES FROM $DBName ") or die(mysql_error());
if(mysql_num_rows($result)>0)
{
while($row=mysql_fetch_row($result))
{
if(substr($row[0], 0, 3) === '___' && strrev(substr($row[0], 0,
3) === '___'))
{
$sql = "DROP TABLE $row[0]";
mysql_query($sql);
}...
2004 Aug 06
2
XML statistics on remote server
what i did in this situation was dump the stats/status file to the local
server through a lynx --dump call from php .. and then i also update a
sql table to reflect the changes so i can poll that instead ..
a.
<p>On Thu, 26 Feb 2004, MacSym wrote:
>
> Hi everybody,
>
> I am wondering if it is possible to generate the XML/XSL files on a remote
> server (status.xsl,
2003 Oct 03
4
PATCH: mysql authentication
Here's another patch. This one isn't much different from the last patch,
except it tries a little harder to make sure that the required fields
are returned by the query (like the pgsql module does).
One question about how t_strdup works. How and who should memory
returned by t_strdup be freed? My patch has a function my_get_str()
which returns the value of t_strdup, and then I do
2006 Apr 16
11
Best way to sort categories w/ pager
Ahoy,
I made this pager,
" def list
@item_pages = Paginator.new self, Item.count, 10, @params[''page'']
@items = Item.find :all, :conditions => "category_id =
#{params[:condition]}",
:limit => @item_pages.items_per_page,
:offset => @item_pages.current.offset
@categories = Category.find_all
2006 Nov 22
11
Rewriting caller ID from database?
Hi
Most of our customers have generic names like "Hospital", so I need to
rewrite their caller ID name by looking up the number in a database on the
Asterisk server, and rewriting the name such as "Reading Hospital" so that
we know who's calling.
Any idea if this can be done with Asterisk, and how to do it?
Thank you.
2007 May 23
0
Problems compiling res_config_mysql (asterisk addons)
...undefined reference to `ast_log'
res_config_mysql.o(.text+0x14d3):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:419:
undefined reference to `mysql_store_result'
res_config_mysql.o(.text+0x14ee):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:420:
undefined reference to `mysql_num_rows'
res_config_mysql.o(.text+0x1521):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:421:
undefined reference to `ast_log'
res_config_mysql.o(.text+0x152f):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:426:
undefined reference to `mysql_fetch_row'
res_config_mysql.o(.t...