Sponsored Content
The Lounge What is on Your Mind? Post a Cool Music Video (Part I) Post 302158111 by sysgate on Monday 14th of January 2008 08:16:51 AM
Old 01-14-2008
Metallica - Wherever I May Roam feat. San Francisco Symphony
Metallica - Wherever I May Roam(S&M)
 

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Cool YouTube Video: Here Comes Another Bubble - The Richter Scales!

You will like this :) fi4fzvQ6I-o (2 Replies)
Discussion started by: Neo
2 Replies

2. What is on Your Mind?

Post a Cool Music Video (Part II)

This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with.... Throwing Fire At The Sun by Heather Nova QXq44BPL-wo (11 Replies)
Discussion started by: Perderabo
11 Replies

3. What is on Your Mind?

Post a Cool Music Video (Part III)

This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with.... Operator by Jim Croce A2iS8XctJKo (9 Replies)
Discussion started by: Perderabo
9 Replies

4. What is on Your Mind?

Cool video

Grand Central Big Freeze jwMj3PJDxuo It looks as tho it's movie scene from M. Night Shyamalan :b: (0 Replies)
Discussion started by: sparcguy
0 Replies

5. What is on Your Mind?

Post a Cool Music Video (Part IV)

This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with.... Beyond The Invisible by Enigma hx2jrunyGjE (16 Replies)
Discussion started by: Perderabo
16 Replies

6. What is on Your Mind?

Post a Cool Music Video (Part V)

This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with.... Octavarium by Dream Theater xK3qylwd-M0 (9 Replies)
Discussion started by: Perderabo
9 Replies

7. What is on Your Mind?

Post a Cool Music Video (Part VII)

We post videos by linking them in from youtube. Videos from other sites are not absolutely forbidden, but we know that youtube won't tolerate videos that we won't tolerate. We have instructions on how to post youtube videos: How to use youtube tags. Please follow the format in those instructions to... (11 Replies)
Discussion started by: zxmaus
11 Replies

8. UNIX for Dummies Questions & Answers

Creating Music Video

i'm flex developer and i'm not familiar with this world. i need to make out of mp3, bitmaps , flv, text a music clip. can i do it with shell? can i use some video editing program on the server ? thanks in advance. (0 Replies)
Discussion started by: sigalmaria
0 Replies

9. What is on Your Mind?

Post a Cool Music Video (Part VI)

A few years ago we had a series of threads where we posted music videos. Let's try another one and see what happens. :) We post videos by linking them in from youtube. Videos from other sites are not absolutely forbidden, but we know that youtube won't tolerate videos that we won't... (18 Replies)
Discussion started by: Perderabo
18 Replies

10. What is on Your Mind?

Post a Cool Music Video (Part VIII)

We've all heard this, right? 9bZkp7q19f0 Post some cool music...! You may want to review the earlier threads:Part I Part II Part III Part IV Part V Part VI Part VII (3 Replies)
Discussion started by: Scott
3 Replies
CUBRID_COMMIT(3)							 1							  CUBRID_COMMIT(3)

cubrid_commit - Commit a transaction

SYNOPSIS
bool cubrid_commit (resource $conn_identifier) DESCRIPTION
The cubrid_commit(3) function is used to execute commit on the transaction pointed by $conn_identifier, currently in progress. Connection to the server is closed after the cubrid_commit(3) function is called; However, the connection handle is still valid. In CUBRID PHP, auto-commit mode is disabled by default for transaction management. You can set it by using cubrid_set_autocommit(3). You can get its status by using cubrid_get_autocommit(3). Before you start a transaction, remember to disable the auto-commit mode. PARAMETERS
o $conn_identifier -Connection identifier. RETURN VALUES
TRUE, when process is successful. FALSE, when process is unsuccessful. EXAMPLES
Example #1 cubrid_commit(3) example <?php $conn = cubrid_connect("localhost", 33000, "demodb", "dba"); @cubrid_execute($conn, "DROP TABLE publishers"); $sql = <<<EOD CREATE TABLE publishers( pub_id CHAR(3), pub_name VARCHAR(20), city VARCHAR(15), state CHAR(2), country VARCHAR(15) ) EOD; cubrid_set_autocommit($conn,false); if (!cubrid_execute($conn, $sql)) { printf("Error facility: %d Error code: %d Error msg: %s ", cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg()); cubrid_disconnect($conn); exit; } $req = cubrid_prepare($conn, "INSERT INTO publishers VALUES(?, ?, ?, ?, ?)"); $id_list = array("P01", "P02", "P03", "P04"); $name_list = array("Abatis Publishers", "Core Dump Books", "Schadenfreude Press", "Tenterhooks Press"); $city_list = array("New York", "San Francisco", "Hamburg", "Berkeley"); $state_list = array("NY", "CA", NULL, "CA"); $country_list = array("USA", "USA", "Germany", "USA"); for ($i = 0, $size = count($id_list); $i < $size; $i++) { cubrid_bind($req, 1, $id_list[$i]); cubrid_bind($req, 2, $name_list[$i]); cubrid_bind($req, 3, $city_list[$i]); cubrid_bind($req, 4, $state_list[$i]); cubrid_bind($req, 5, $country_list[$i]); if (!($ret = cubrid_execute($req))) { break; } } if (!$ret) { cubrid_rollback($conn); } else { cubrid_commit($conn); $req = cubrid_execute($conn, "SELECT * FROM publishers"); while ($result = cubrid_fetch_assoc($req)) { printf("%-3s %-20s %-15s %-3s %-15s ", $result["pub_id"], $result["pub_name"], $result["city"], $result["state"], $result["country"]); } } cubrid_disconnect($conn); ?> The above example will output: P01 Abatis Publishers New York NY USA P02 Core Dump Books San Francisco CA USA P03 Schadenfreude Press Hamburg Germany P04 Tenterhooks Press Berkeley CA USA SEE ALSO
cubrid_rollback(3), cubrid_get_autocommit(3), cubrid_set_autocommit(3). PHP Documentation Group CUBRID_COMMIT(3)
All times are GMT -4. The time now is 10:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy