city wide connection


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers city wide connection
Prev   Next
# 1  
Old 05-06-2008
city wide connection

what would be the best way to phyisically connect a series of computerised bus stops to a central computer in a city-wide network??
 
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

For Indian Members: What City Do You Live?

A Tribute to India For our Indian members, please let us know in the poll what city you live (or work)? Mumbai (Bombay) Delhi Kolkata (Calcutta) Chennai (Madras) Bangalore Hyderabad Pune Ahmedabad Kanpur Surat Other (Please Tell Us in Post and Write in Poll, Thanks!) Don't Live in... (32 Replies)
Discussion started by: Neo
32 Replies

2. UNIX for Dummies Questions & Answers

divide the file into multiple files based on the city name

Hi, I have a file abc.dat. It contains the fileds of empid, empname, empcity. each city contains 10 records. i want to create the city file and pass the same city records into the file. I don't know the city names. In unix using awk command how can we do? abc.dat: 1 john delhi 2... (2 Replies)
Discussion started by: raghukreddy.ab
2 Replies

3. What is on Your Mind?

For China members:which city do you live?

hi guys: i am live in Changsha China , i am study here . which city do you live? (1 Reply)
Discussion started by: kingdream
1 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
Login or Register to Ask a Question
MAXDB_STMT_SQLSTATE(3)							 1						    MAXDB_STMT_SQLSTATE(3)

maxdb_stmt_sqlstate - Returns SQLSTATE error from previous statement operation

SYNOPSIS
string maxdb_stmt_sqlstate (resource $stmt) DESCRIPTION
Returns a string containing the SQLSTATE error code for the most recently invoked prepared statement function that can succeed or fail. The error code consists of five characters. '00000' means no error. The values are specified by ANSI SQL and ODBC. Note Note that not all MaxDB errors are yet mapped to SQLSTATE's. The value HY000 (general error) is used for unmapped errors. RETURN VALUES
Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000' means no error. EXAMPLES
Example #1 Object oriented style <?php /* Open a connection */ $maxdb = new maxdb("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } $maxdb->query("CREATE TABLE temp.mycity LIKE hotel.city"); $maxdb->query("INSERT INTO temp.mycity SELECT * FROM hotel.city"); $query = "SELECT name, zip FROM temp.mycity ORDER BY name"; if ($stmt = $maxdb->prepare($query)) { /* drop table */ $maxdb->query("DROP TABLE temp.mycity"); /* execute query */ $stmt->execute(); printf("Error: %s. ", $stmt->sqlstate); /* close statement */ $stmt->close(); } /* close connection */ $maxdb->close(); ?> Example #2 Procedural style <?php /* Open a connection */ $link = maxdb_connect("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } maxdb_query($link, "CREATE TABLE temp.mycity LIKE hotel.city"); maxdb_query($link, "INSERT INTO temp.mycity SELECT * FROM hotel.city"); $query = "SELECT name, zip FROM temp.mycity ORDER BY name"; if ($stmt = maxdb_prepare($link, $query)) { /* drop table */ maxdb_query($link, "DROP TABLE temp.mycity"); /* execute query */ maxdb_stmt_execute($stmt); printf("Error: %s. ", maxdb_stmt_sqlstate($stmt)); /* close statement */ maxdb_stmt_close($stmt); } /* close connection */ maxdb_close($link); ?> The above example will output something similar to: Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> Error: 42000. SEE ALSO
maxdb_stmt_errno(3), maxdb_stmt_error(3). PHP Documentation Group MAXDB_STMT_SQLSTATE(3)