No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
To integrate our data base with other site, I've got a xml coding (given below) but they require a JSP output steps and tips to achive that would be appriciated. TIA. <?php include('db_connect.php');?> <?php $query=mysql_query("select * from tbl_seat")or die(mysql_error()); $xml="<libraray>\n\t\t"; while($data=mysql_fetch_array($query)) { $xml .= "<From>".$data['fromloc']."</From>\n\t\t"; $xml .= "<To>".$data['toloc']."</To>\n\t\t"; $xml .= … |
|
I'm trying to connect mysql database through API, and I'm using the following coding. I could't get the proper access to the database. Do I need to create a JDBC to the database or is there any other options available? <%@page import="java.sql.DriverManager"%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <% String … |