I have an Oracle query in a NodeJS function and having trouble with the loop thru the record set. Nodejs, hence javascript stuff.
Example: results from query of table with 20 columns, on of which is "ticket".
I loop thru the record set and stuff the values into a mainArray
for(var i in result)...
I'm have trouble getting values from an array returned from a php class. Code example:
<?php
require_once("include/NameDetails.php");
class TestQueries {
var $CE_Config_DB = NULL;
function getNameInfo($searchType, $searchValue) {
$resultArray = array();
$query = "SELECT...
Not able to install any version of PHP on Vista under IIS 7.0. Most common error relates to ISAPI module not being properly configured. Any ideas out there?
I have some basic code that will not work on my localhost, but works just fine on my website?? Is there something in the php.ini that needs to be changed? Just setting a hidden field with js and submitting??
<html>
<head>
<title>Test Page</title>
<script language = "javascript" type =...
I have a website written in ASP with an Access db. I have an INSERT on a page that does not produce any ASP error (err.description), but produces a browser error saying "error with sql insert statement". The insert is completing even though the error is displayed??? Any ideas out there?
thanks...
Using cdosys for email on a Windows 2003 box. Email transmits but with numerous "!" intermingled in the text. I've tried a number of encodings to stop it, but nothing seems to work. Any ideas out there?
Thanks in advance,
scripter50
I have an ASP page generating html code like this...
<%for i = 1 to nNbrOfDays%>
<table>
<tr>
<td>Day <%=i%> <input type="text" name="txtDate<%=i%>">td>
<td><select name="cboService<%=i%>" style="width:120" onchange="fnPopVisits<%=i%>();">
<option value="0">No Service</option>
<option...
I have an asp page, much of the html is dynamically generated in ASP for loops. My problem is saving the data.
The code runs like this..
How many? (Qty input box)
For i = 1 to Qty
Field 1
Field 2
Field 3
Next
For k = 1 to Field 3 Qty
Field 4
Field 5
Next
If...
I have an ASP page with a dynamically generated form, where the user inputs a number, presses proceed and the form is generated. Then I need to insert the data into a table and that's where I'm lost. Here's a code snipet.. thanks in advance for your assistance!
<form action = "thispage.asp">...
I'm trying to get a connection to a local MS Access from an ASP page, but getting a "Data Source Name cannot be found.." This is just for development.
System DSN is named "Image", no userid or pwd set:
set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN = Image"
sql = "SELECT *...
I have some PHP code in OOP format to maintain and upgrade. In most of the pages, an object is created using class 'block', but there is no 'require_once(block.php)' on the page and no 'include' file. How the heck does the file know where to get the class information?
Thanks,
PHP Oldie, OOP Newbie
I found some code in a shareware PHP app that I've never seen and can't seem to identify. Can anyone shed any light on this:
$listTeam = new request();
$listTeam->openTeams($tmpquery);
My problem is the "->" - what does this mean?
Thanks in advance
I am having trouble accessing variables that are in javascript - dynamically generated html forms. Typically I am writing a script with innerHTML generating radio or checkboxes, placed in <div> or <span> tags on my html page. My trouble is accessing the variables via hidden fields - I can't seem...
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.