Hi
I have an ASP application what used to use an SQL 2000 database, but as we want to upgrade our server farm I need to connect to a SQL 2005 database instead.
I have tried changing the connectionstring in many different ways but it will still not connect to my 2005 database.
My current...
Hi
My new host has session.use_trans_sid set to 0 (Off) and I have place in my code that says
<?
global $asess_name, $asess_passwd, $asess_data;
session_register("asess_name");
session_register("asess_passwd");
session_register("asess_data");
global $login, $passwd;
$asess_name = $login...
Hi
I have a script with 2 language files (german and danish).
First i include the german language file because the user is german, then the user sends a message to a danish user and that triggers an e-mail to the danish user, but the danish user gets a german e-mail instead of a danish.
I...
Hi all
I hope someone can help me with this small but annoying problem.
I have search for help, but was not able to find any on this issue.
On a page I have a list with a checkbox in front of each line there the user can select multiple and then click either a approve button or a decline...
Hi
I have the a foreach loop in my code, but i'm getting "Invalid argument supplied for foreach()" error.
At the beginning of the file i have these two lines:
require_once("classes/Countries.php");
$countries = new Countries;
And later on i have these lines:
if (...
Hi
I have a button on my form and then the code from that button runs, without stepping through the code, it deletes the value of the txtRunnerNumber textbox that has been inserted by the code earlier on.
Why does the code deletes the value and not then i stepping through the code?
My code...
Hi
I'm programming a language option, that displays labels in the correct language, but i have some trouble inserting the array values into the page.
I have the following:
<?
// Setting up a query with all labelids and the labeltext
if ($lang) {
$lab = mysql_query("SELECT labelid, english...
Hi
I have a shopping system, that has several $ command but it will not work. I can use $_GET command however, but the other command is much easier to use and remember.
Are there anyone who can explain why i can't use then $ command anymore?
Thanks
Peter Larsen
Hi
I have made a query in Access XP and want to use it as a docmd.RunSQL statement in VB, but i get an "Syntax error in INSERT INTO statement" error.
My sql statement look like this:
INSERT INTO dbo_tblReportNoWork ( ReportNo, [Level], FirstCFMReportNo, CFMCase, ListMonth, CFMItemno )
SELECT...
Hi
I have an ASP-page with some VBScript in it!
In the following VBScript part BR should return minimum 1 record, if the user (powner) is in the tabel, but it doesn't.
-- Code begin --
powner = xa.activesheet.cells(3,15)
SQL = "SELECT Init FROM brugere WHERE Init = ' & powner &...
Hi all
Why can't I use the 'Dim dbs as Database' in Access 2002 (XP)?
How do I use OpenRecordSet in Access 2002?
I have tried 'Set rst = currentDb.OpenRecordSet("SELECT * FROM tblTable")', but it says 'Type Mismatch'
Thanks in advance!
Kind regards
Peter Larsen
Hi
I have a bit of code that compares two dates, one date from a form and one date from New Date().
Here is the code i wrote:
var d = new Date();
var da = (d.getDate() + "-" + (d.getMonth()+1) + "-" + d.getYear());
if (document.form1.real.value < da) {
alert("The...
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.