Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Tags

6 Posted Topics

Member Avatar for blueshiftdani

I am trying to update several rows in the database using mysql statement. My code is as follows. <?php $query = mysql_connect("localhost","root","toor"); mysql_select_db("busticket",$query); $result=mysql_query("Select * from ticket_reservation WHERE validate_status='No'") or die(mysql_error()); while($row=mysql_fetch_array($result)) { echo "<tr><td><input type='checkbox' id='name' name='name[]' value=".$row['id']."</td><td>".$row['userid']."</td><td>".$row['busid']."</td><td>".$row['numberofseats']."</td></tr>"; } echo"<tr><td><input type='submit' name='submit' Value='Validate Tickets'></td></tr>"; if(isset($_POST['submit'])) { if(is_array($_POST['name'])) { $qry …

Member Avatar for pritaeas
0
375
Member Avatar for opelio4n

You may try using a drop down list for company names. Make a single form for all seven companies. Make a login form for all useraccounts... Now create a new database and connect to it (depends which database you are using) Create tables for user accounts and company information saparately. …

Member Avatar for diafol
0
172
Member Avatar for ribrahim

You have not added the code for inserting salutation ID. You may use string concatenation like: ."$SalutationTitle".+."ClientName". Use `join` to get the values ffrom both tables at the same time.

Member Avatar for blueshiftdani
0
267
Member Avatar for blueshiftdani

I want to deploy a database application in C#. I should write a script for creating a database and its tables. The script should work only at install time and setup the database automatically. Or tell me if there is another better way to do that. Actually I wanted to …

Member Avatar for djjeavons
0
426
Member Avatar for blueshiftdani

I am trying to store a value from a selected row from one table into another. My code is as follows. string CustomerID = textBox1.Text; SqlConnection con1 = new SqlConnection(ConfigurationManager.ConnectionStrings["ConString"].ConnectionString); con1.Open(); SqlCommand myCommand = new SqlCommand("Select CustomerID, Name from TableCustomer WHERE (CustomerID like '" + CustomerID+ "')", con1); SqlDataReader rdr …

Member Avatar for blueshiftdani
0
4K
Member Avatar for Denral

that is the right way try using namespace std; after iostream statement and it will surely compile....

Member Avatar for blueshiftdani
0
186

The End.