Thanks Ollie
I guess this means using PHP4 MSSQL functions in Windows and PHP4 Sybase
functions in Linux?
On Tue, 2003-02-25 at 04:47, Oliver Cronk wrote:
The MSSQL module for PHP DOES NOT USE ODBC. It uses the C library direct
style of connecting to MSSQL. Use your enterprise manager to
print input type=checkbox name=\rowid[.$row['rowid'].]\
value=\.$row['rowid'].\;
You must put all of those checkbox values into an array and then use the
foreach loop, to process the selected checkbox items)...
print_r($rowid); would print out the contents of the generated array
should be
I have a stats tracking program and a page that displays stats for various
dates/items depending on what options the user selects. I need to add some
kind of external reporting tool, i.e. they'd like to download the
information, preferably in Excel.
I tried forcing Excel to open the data
This is the easiest way but depending on what brouser you use and what version of
excel you have the results vary somewhat, try using Content-Disposition: inline and
then saving the the file from there, this works best for me, but its by no means
perfect. I seem to recall that someone posted a
In the first line, what do you mean where the file is? Where I want it to
be? It doesn't exist yet, I want to generate an Excel file from dynamic
data. And I don't want it to be saved on the server, I just want the user
to download it.
Anyway, I tried changing
Header(Content-Disposition:
Yes, but I have never personally used Linux to connect to MSSQL so I can't
really help you on that one. Although I hear that several people have done
this I would really recommend it (as Linux isn't a supported client O/S for
MSSQL). It is *fairly* straightforward on Windows - the hardest bit is
Hi,
Here is my code:
?
require(util.php);
$sql= new MySQL_class;
$sql-Setup(user,user,localhost);
$sql-connexion(materiel);
$sql-Query(select nom from personne);
$cpt=0;
while($row=mysql_fetch_array($sql-result))
{
I know this isn't the right group for this, but here we go.
I have 2 URLs, on has some webspace attachted to it, the other one is being
redirected the the first one.
Example:
http://www.pageOne.com has webspace.
At the moment when you got to http://www.pageTwo.com you get to see
[EMAIL PROTECTED] (2b4ever Php) writes:
I want http://www.pageTwo.com to be redirected to
http://www.pageOne.com/pageTwoindex.html, without losing the address
http://www.pageTwo.com.
Maybe something like
header(location:
Maybe on the 14th record the while statement is false.
Try do...while ???
Jochem
F.Collineau wrote:
Hi,
Here is my code:
?
require(util.php);
$sql= new MySQL_class;
$sql-Setup(user,user,localhost);
$sql-connexion(materiel);
$sql-Query(select nom from personne);
$cpt=0;
I have been having trouble with PHP sessions, the session variables are not
able to be called through the script.
If have commented the area at the bottome where the session variable is NULL
when var dump is called to check it (about 20 lines from the bottom...
depending on if the text is
Is the session.save_path in php.ini set and does the directory it refers
to exist?
Jochem
David Rice wrote:
I have been having trouble with PHP sessions, the session variables are
not able to be called through the script.
If have commented the area at the bottome where the session variable is
[EMAIL PROTECTED] (David Rice) writes:
I have been having trouble with PHP sessions, the session variables
are not able to be called through the script.
If have commented the area at the bottome where the session variable
is NULL when var dump is called to check it (about 20 lines from the
Hello everyone,
I was wondering if anyone can help me with solvoing this problem. For some reason,
the session_is_registered() function does not seem to see the session when the page is
reloaded. The pages following through all work, except if the user comes back to the
index page. At that
Hi! Anyone got an idea what the problem may be with the following code
$test[]=a;
$test[]=b;
foreach ($test as $key=$value)
{
if($key == something) echo $key
}
even though theres no key in the array named something the code will
print the key 0
Thanks
On Wednesday 26 February 2003 00:37, Jorge Miguel Fonseca Martins wrote:
As this has nothing to do with databases you should post to the php-general
list.
$test[]=a;
$test[]=b;
foreach ($test as $key=$value)
{
if($key == something) echo $key
}
even though theres no key in the
Here's something i can't get working it won't go to the last clause of this
page i don't think it can set the session variable
anyone see what im doing wrong? i need more caffeine to get my brain fired
up today lol..
===
? session_start();?
HTML
head
You need to register you varible first with the session
-Original Message-
From: David Rice [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] SESSIONS
Here's something i can't get working it won't go to the last clause of this
I Have made two pages, sess2.php and sess3.php
trying to create a session variable then access it in the other page.
now when i try and call the session in the second page i get no value,
and i have tried var_dump, and it gives me NULL anyone know if there is a
reason for this?!
page 1 is
[EMAIL PROTECTED] (Fredrik De Vibe) writes:
You can't register a session variable after output. You have already
registered it, just set $valid_user = 'something'.
Sorry, I was a bit too quick here. You _can_ register session
variables after output...
--
--Fredrik
The chief cause of problems
20 matches
Mail list logo