I use the following code to connect to a MSSQL server and it works successfully
$myServer = "myserver";
$myUser = "user";
$myPass = "pass";
$myDB = "thedb";
//create an instance of the ADO connection object
$conn = new COM ("ADODB.Connection")
or die("Cannot start ADO");
//define...
Was able to solve the issue
I ran the mount command to see the list of devices.
I then unmounted both drives
I then ran the dd command using the device names.
I am completely new to Linux, so please pardon my ignorance on the subject.
I am trying to make an exact copy of a Windows formatted 1.44 HD (High Density) floppy disk. From what I have read the DD command in Linux will do the job for me.
I am trying to make an exact copy from 1 floppy disk...
Bit more information:
I think the issue is with the following piece of code
Event.observe('fltName', 'keyup', function(e) {filterByName(e);});
In firebug the url shows as adminAjax.php?actionval=getSelect
Once I changes the line to:
Event.observe('fltName', 'keyup'...
I am trying to get a list of names to be filtered as I type in.
The main page is as follows.
<html>
<head>
<title>ajax test</title>
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/myAjax.js" type="text/javascript"></script>
</head>
<body>
<div...
Sorry, the exact query didn't work but jaxtell sent me off in the right direction. The query I got to work is as follows:
Select Table1.Name from Table1 Where Table1.Name Not In ( select Table2.Name from Table2 Where Skill='skill3')
I have one table that contains the following
Table1
---------
Name |
---------
User1 |
User2 |
User3 |
User4 |
User5 |
---------
I also have a second table
Table2
------------------
Name | Skill |
------------------
User1 | Skill1 |
User1 | Skill2 |
User1 | Skill3 |...
$test=$_POST['data'];
include "connect_to_database.php";
mysqli_select_db($db,"database");
$result = mysqli_query($db,"Insert Into mytable (Field1,Field2,Field3,Field4) Values ('data','$test','data','data')");
In the table, Field1/Field3/Field4 are populated with data but Field2 is empty
I am using firebug and I can see that post is sending the following
data=Product%20Training%7Callitems%7CFirstname%20Secondname%20%3B%3Cbr%3EProduct%20Training%7Callitems%7CFirstName%20FirstName
In my PHP page I am using
$data=$_POST[data];
send to database code
But the variable is not...
OK I have got it half working
The function is now
function saveDragDropNodes()
{
var saveString = "";
var uls = dragDropTopContainer.getElementsByTagName('UL');
for(var no=0;no<uls.length;no++){ // LOoping through all <ul>
var lis =...
I know that this is a stupid question but where does this bit of code go?
Below I have put the function that is called when the save button is hit
function saveDragDropNodes()
{
var saveString = "";
var uls = dragDropTopContainer.getElementsByTagName('UL');
for(var...
I have this drag and drop application and would like to save the location to a database.
When I hit the save button all the correct information is sent to the following.
<div id="saveContent"></div>
How do I get the content sent to the <div> into a database.
Thanks in advance for any help...
I have the following date format which I need to input into a MySQL database but I am unable to date so.
Fri 3/26/2010 8:38 AM
I know it should be simple but I just can not get anywhere on it.
I am working on PHP 5.0.2
Very grateful for any help received.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.