Hey,
I want to know how many entries there is in a table : is there a simple
function to do that ?
Thanks.
By the way, does anyone know how to make an autorun on a CD rom, so that
when the CD is inserted, it opens the user's internet browser (in full
screen if possible). 2 1565
In article <c8**********@s milodon.ecp.fr> , Jean-Baptiste Hétier wrote: Hey, I want to know how many entries there is in a table : is there a simple function to do that ?
Yes. Grab your manual, and lookup what count() does in a SQL query.
By the way, does anyone know how to make an autorun on a CD rom, so that when the CD is inserted, it opens the user's internet browser (in full screen if possible).
And how would that be related to PHP? Google has loads of information on
how to make such a CD. Btw, keep in mind that it is possible that the cd
will be inserted in computers without an X server (so what is full
screen in that case?) or on computers that don't have a internet
browser.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php>
Jean-Baptiste Hétier <dj**@radiopi.o rg> wrote in message news:<c8******* ***@smilodon.ec p.fr>... Hey, I want to know how many entries there is in a table : is there a simple function to do that ? Thanks.
If you meant number of fields in a table:
int mysql_num_field s(int result_identifi er)
If not, I don't know!
By the way, does anyone know how to make an autorun on a CD rom, so that when the CD is inserted, it opens the user's internet browser (in full screen if possible).
If Windows finds a file called AUTORUN.INF in the root directory of a
CD then it follows the instructions in this file to run a program. To
run index.htm in full screen, AUTORUN.INF looks like:
[autorun]
open=command /c start /max index.htm This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: delisonews |
last post by:
I'm looking for a simple, filesystem-based message board.
(No MySQL!) Something that I could include easily in my code:
include '../inc/messageboard.php';
.... so that the board shows up at the bottom of every PHP
page. The board should have just the basic features, like:
- posting capability
|
by: Patchwork |
last post by:
Hi Everyone,
Please take a look at the following (simple and fun) program:
////////////////////////////////////////////////////////////////////////////
/////////////
// Monster Munch, example program
#include <list>
|
by: Dan |
last post by:
Using XML::Simple in perl is
extreemly slow to parse big
XML files (can be up to 250M,
taking ~1h).
How can I increase my performance /
reduce my memory usage?
Is SAX the way forward?
|
by: Manuel Collado |
last post by:
I would like to write simple, yet well structured documents with a
really simple XML DTD (or schema). Either Docbook or SDocbook are
overkill for this simple case.
XHTML is simpler, but unstructured (no nested sections). And is not
really very simple.
Before trying to setup a stripped-down document format by myself, I
would like to know if there are simple XML document structure proposals
ready to be used (I dislike to reinvent the...
|
by: JKop |
last post by:
Take the following simple function:
unsigned long Plus5Percent(unsigned long input)
{
return ( input + input / 20 );
}
Do yous ever consider the possibly more efficent:
| |
by: Steven Blair |
last post by:
I have the following number:
64521234567890
and need to apply some sort of simple encryption.
Does c# have any classes for doing this. I cant use 3DES or anything as
complex as.
The size of the string cannot increase either (no more than 14 chars)
and must be numeric only.
|
by: abcd |
last post by:
I am trying to set up client machine and investigatging which .net
components are missing to run aspx page.
I have a simple aspx page which just has "hello world" printed....
When I request that page like http://machinename/dir1/hellp.aspx
instead of running that page it starts downloding ...whats missing here
....why the aspx engine not running the page....
|
by: firstcustomer |
last post by:
Hi,
Firstly, I know NOTHING about Javascript I'm afraid, so I'm hoping that
someone will be able to point me to a ready-made solution to my
problem!
A friend of mine (honest!) is wanting to have on his site, a Javascript
Calculator for working out the cost of what they want, for example:
1 widget and 2 widglets = £5.00
|
by: Giancarlo Berenz |
last post by:
Hi:
Recently i write this code:
class Simple
{
private:
int value;
public:
int GiveMeARandom(void);
|
by: Phillip Taylor |
last post by:
Hi guys, I'm looking to develop a simple web service in VB.NET but I'm
having some trivial issues. In Visual Studio I create a web services
project and change the asmx.vb file to this:
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel
<System.Web.Services.WebService(Namespace:="http://
wwwpreview.#deleted#.co.uk/~ptaylor/Customer.wsdl")_
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |