- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
$ratequeri="SELECT type FROM roomreservation ORDER BY room_no DESC LIMIT 1 "; mysql_select_db($database_ast_conn, $ast_conn); $Result111 = mysql_query($ratequeri, $ast_conn) or die(mysql_error()); $omgg=mysql_fetch_array($Result111); $rrate; if($omgg=="Deluxe Floor Room"){$rrate=350;} elseif($omgg=="Executive Club Floor Room"){$rrate=350;} elseif($omgg=="Junior Suite"){$rrate=350;} elseif($omgg=="Executive Suite"){$rrate=350;} elseif($omgg=="Presidential Suite"){$rrate=350;} $insertqueri="INSERT INTO roomreservation (rate) VALUES ('$rrate') "; mysql_select_db($database_ast_conn, $ast_conn); $Result1111 = mysql_query($insertqueri, $ast_conn) or die(mysql_error()); ///////////////////////// … |
|
HI EVERY ONE how i can insert a confirm dialog box behind delete record button so that it will prompt like this ARE YOU SURE YOU WANT TO DELETE? YES OR NO ? if yes button is pressed then it will delete other wise dont .? thanks in advance |
|
Re:
I'm creating a WebSite in VWD 2010 Express. The Login page I created turns out to show the Email and Password that I once entered as part of testing to stay in the textbox. How do I delete it? Thanks |
|
Re:
Hello, How to show search results from Database **WITHOUT** Gridview. I am making property dealing site in which when user seraches the property the results should come on the webform **not** in a gridview control How can i acheive this??? |
|
Re:
So I'm uploading multiple images to a folder and inserting the images information to a database. The upload and insert is working great but the loop is running twice for each file and adding the information into the databse twice. I am unsure as to why this is happening. Please … |
|
Re:
what should i write in the body tag so background image does not repeat?? <body background="images/red-and-black-powerpoint-template.jpg"> |
|
this is our insertion logic. but the problem is that after inserting one record we reset the textfields to clear them.and after that if we again press the insert button it duplicate the previous record into our database.we want to tackle with this??????so that no duplicate entry should be inserted … |