* Thus wrote Mike Migurski ([EMAIL PROTECTED]):
preg_match('/(!DOCTYPE.+\/html)/ms', $http_response, $html)
...puts it into $html[1]. Adjust to suit your local standards-compliance
practices. You can also look for everything after the first instance of
\n\n.
Thats assuming that the
Sorry, i didn't itent to be a spam, believe me. But i don't know how to do this
aplication
* Thus wrote Phillip Blancher ([EMAIL PROTECTED]):
I am trying to count in mySQL the number of entries in the field day where day=2
or 3.
Then I want to check just to see if that returned a value greater than 0 or not.
I am using the code below, but having a problem, I keep getting 0 as
I tried using the print_r for $shipping. - All i want this to do is to check
to see what days in the grouping is there, and if there is anything for a
grouping, charge $5 for the delivery. If there are items in two of the
groupings, charge $10 and if there is in all three groupings, charge $15.
On Jul 22, 2003, Rausch Alexandru claimed that:
|Sorry, i didn't itent to be a spam, believe me. But i don't know how to
|do this aplication
|
In that case, you might want to start with something a bit less ambitious,
maybe learning to wrap your mail, and some tutorials?
Chris:
Thanks for the suggestion - I have peeked through Smarty - not bad - but it
seems that the designer would still need to learn a different syntax. That
is not an issue for this application however - I have really no need for
separating the template and the code, since the template is
On Jul 22, 2003, Tony Crockford claimed that:
|I really am having a difficult day.
|
|I want to do an incrementing while loop that will echo out the values of
|$variable1 , $variable2, $variable3 which exist previously.
|
|so how do I get the incrementing number onto the word variable? to make
|a
Hello,
I am a beginner programmer and I am trying to do the following:
I have a commercial script (catalog.php) which accepts variables using the
POST method. This script, however, is not designed to handle form fields
other than textfield.
I have an intermediate script (translate.php) which
Hello,
Sorry, there was a small error on my previous posting. To call the script I
would do catalog.php?query-string, instead of
translate.php?query-string.
Thanks.
GS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nope. What if it's b.php, or c.php. They could come from many pages. I
wish it was that easy.
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: July 22, 2003 4:02 PM
To: Beauford.2005
Subject: RE: [PHP] Redirection Question
Beauford.2005 mailto:[EMAIL PROTECTED]
Guillermo Scharffenorth [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I am a beginner programmer and I am trying to do the following:
I have a commercial script (catalog.php) which accepts variables using
the
POST method. This script, however, is not designed to handle
On Jul 22, 2003, Freek van de Griendt claimed that:
|Hi,
|
|I just started using PHP and installed it on my Windows machine, together
|with Xitami (Web server). But now, when I try to write a simple PHP file I
|get the following error:
|
|Security Alert! The PHP CGI cannot be accessed directly.
The other methods suggested avoid that entanglement.
Kevin
Beauford.2005 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Maybe I didn't explain enough. What if they come from b.php or c.php.
How do I automatically log what page they tried to access. So hard
coding
I've got a nested array below that I'm having some trouble simplyfing.
Here is an example of how the array is now:
Array
(
[0] = Array
(
[0] = 2003-06-10 17:00:00
[1] = 9054.89
)
[1] = Array
(
[0] = 2003-06-10 17:00:00
I recently upgraded from 4.1.2 all the way to 4.3.2 without a single
bump -- your experience may vary :)
Cheers,
Rob.
On Tue, 2003-07-22 at 16:11, Merlin wrote:
there is definatelly a bug in 4.2.1 since this sentence:
Argostoli is the 'capitol' of Kefalonia / Kefallinia. One of the Greek
Hi,
So I can create the files, move them, etc. to backup my database and a
couple of directories, but how do I create a gzip file of that and send
it to the user? I need to basically execute a command to gzip a couple
of files/directories... I also need to figure out how to un-gzip a gzip
(Power went out in my area for the last four hours)
Thanks for all the feedback.
Anyway, just to make sure my scripts etc were correct I
threw 4.2 back in using the same ini that I was with 4.3.2
No problems with 4.2 but 4.3.2 doesn't work. Page1.php works
properly by creating the session file
hi list,
i need to write a php page to execute a perl module on my client's unix
machine, how do i do that?
the perl module is some simple encryption module for security reason my
client doesn't allow me to read the source code. the perl function that i
need to execute will return an encrypted
I'm looking for an accomplished PHP developer for a contract position
(project runs 'till Feb 04). Please contact me for further details w/ a
plain-text version of your resume as well as links to portfolio or
recent work. Some on-site work is required in Boston and/or Andover MA.
Sean Brown
Hi,
I'm using PEAR::Archive_Tar to create a tar backup. I already have all
my stuff ready in some folders, so this is whats going on:
//we need the files
$files[0] = ../downloads/;
$files[1] = ../images/;
$files[2] = ../pages/;
$files[3] = ../pages_test/;
* Thus wrote Beauford.2005 ([EMAIL PROTECTED]):
Maybe I didn't explain enough. What if they come from b.php or c.php.
How do I automatically log what page they tried to access. So hard
coding login.php?next=a.php would only work for one page.
Use the code that Grant Rutherford posted earlier,
Sorry all, apparently this doesn't work on either Windows or Linux.
Again, I thought it was working and once I got farther along I see that
it really wasn't. Basically what I get after I login is an empty screen.
Here is what I have :
This is the script that runs to see if the user is logged in.
jwulff mailto:[EMAIL PROTECTED]
on Tuesday, July 22, 2003 3:58 PM said:
I've got a nested array below that I'm having some trouble simplyfing.
Here is an example of how the array is now:
[snip]
How are you creating the array in the first place?
c.
--
PHP General Mailing List
Beauford.2005 wrote:
Sorry all, apparently this doesn't work on either Windows or Linux.
Again, I thought it was working and once I got farther along I see that
it really wasn't. Basically what I get after I login is an empty screen.
Here is what I have :
This is the script that runs to see if
Hi,
I have a ming generated movie with 3 frames. How can I add a stop() action to
every frame ?
Now when the movie start it play to last frame and stop there . (I made a
$movie-add( new SWFAction(stop()) ); to every frame ). The resulted moview
I want to be stoped at first frame.
Thanks
--
On Tue, 22 Jul 2003 17:08:50 -0400, you wrote:
I am trying to count in mySQL the number of entries in the field day where day=2 or
3.
Then I want to check just to see if that returned a value greater than 0 or not.
I am using the code below, but having a problem, I keep getting 0 as the total
Hi,
Wednesday, July 23, 2003, 6:22:58 AM, you wrote:
JS I have a function that assigns some session variables I need available
JS during a user's visit. Oddly enough, as I assign about 7 variables, I
JS noticed that not all had data. This is the function:
JS function setupUserEnv ($userArray)
Is there a way to delete array fields without resort the keys? The keys
of this particular array are the position of the words it holds to their
position in a string and if they are changed it screws everything up. I
tried using array_splice but that, unfortunately, rearranges the keys.
So, to
Maybe I didn't explain enough. What if they come from b.php or c.php.
How do I automatically log what page they tried to access. So hard
coding login.php?next=a.php would only work for one page.
TIA
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: July 22, 2003 4:16
* Thus wrote Jason Giangrande ([EMAIL PROTECTED]):
Is there a way to delete array fields without resort the keys? The keys
of this particular array are the position of the words it holds to their
position in a string and if they are changed it screws everything up. I
tried using array_splice
Thanks Curt.
Your suggestion works great. I had come up with this to clear the
array, which also worked for me in this instance, by doing this
$array['item'] = ;
But I think your suggestion is better because one I have used the array
fields once I have no further use for them so I might as
Thanks to all, I got it working - sort of. It works perfectly on
Windows, but will not work on Linux. I am using the same versions of
PHP, Apache and MySQL on both. I have asked this before and have been
told they are interchangeable, but more times than not I have to make a
bunch of changes to
* Thus wrote Freek van de Griendt ([EMAIL PROTECTED]):
Hi,
I just started using PHP and installed it on my Windows machine, together
with Xitami (Web server). But now, when I try to write a simple PHP file I
get the following error:
Security Alert! The PHP CGI cannot be accessed directly.
Hope someone can solve my problem.
I'm using Interbase as a database. I get error message when I retrieve data
from the database (ibase_fetch_row) which contain chinese character.
Warning: ibase_fetch_row(): arithmetic exception, numeric overflow, or
string truncation Cannot transliterate
Beauford.2005 wrote:
Hi,
I am trying to figure out how to redirect a user back to a page but not
having much luck.
For example: I click on a menu item on my site which goes to a.php. This
file includes another file that determines if they are logged in or not.
If not, they are sent to login.php
Don't all variables registered to a session need to be declared as global?
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:15 PM
To: Jeff Stillwall
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Some SESSION Vars not
hi there i dont know if this happens in php4 but say i have a list of radio
buttons in an array like
input type=radio name=secondary_banner[]
input type=radio name=secondary_banner[]
it only returns the one selected into the array, so instead of having 2
keys i only get the one , the empty one
* Thus wrote Wei ([EMAIL PROTECTED]):
Hope someone can solve my problem.
I'm using Interbase as a database. I get error message when I retrieve data
from the database (ibase_fetch_row) which contain chinese character.
Warning: ibase_fetch_row(): arithmetic exception, numeric overflow,
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
hi there i dont know if this happens in php4 but say i have a list of radio
buttons in an array like
input type=radio name=secondary_banner[]
input type=radio name=secondary_banner[]
it only returns the one selected into the array, so
Hi,
Wednesday, July 23, 2003, 12:03:07 PM, you wrote:
WV Don't all variables registered to a session need to be declared as global?
WV Warren Vail
WV [EMAIL PROTECTED]
I am sure they do not but
I just tried reading the docs and it is as clear as mud so its back to
the suck it and see method
* Thus wrote jwulff ([EMAIL PROTECTED]):
I've got a nested array below that I'm having some trouble simplyfing.
Here is an example of how the array is now:
[...]
Array
(
[0] = Array
(
[0] = 2003-06-10 17:00:00
[1] = 9054.89
[2] = 153.84
Off the top of my head, try using OR in your query rather than AND
day=\2\ or day=\3\
day probably won't equal both 2 and 3, which is why you are getting 0.
Also, if you group by item name, you are going to get the total for each
itemname, is that what you want, or just the overall total?
* Thus wrote Michael Smith ([EMAIL PROTECTED]):
Hi,
I'm using PEAR::Archive_Tar to create a tar backup. I already have all
my stuff ready in some folders, so this is whats going on:
//we need the files
$files[0] = ../downloads/;
$files[1] = ../images/;
$files[2]
Oh, and also, this is off-topic here, there is another list dedicated to
pear support:
http://www.php.net/mailing-lists.php
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
* Thus wrote Warren Vail ([EMAIL PROTECTED]):
Don't all variables registered to a session need to be declared as global?
no
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I found one of my problems and also implemented your suggestions, and
still the same thing. It will not redirect.
The problem I found is that $_SERVER['SERVER_NAME'] does not include the
port number. On my Win PC I am using port 800. So I changed this line
to:
$_SESSION['goto'] = http://;
Tom Rogers wrote:
Try passing a reference to the array like this
function setupUserEnv ($userArray) {
[snip]
}
Otherwise no idea at this point :)
I could give that a shot, but as I mentioned, if I var_dump($userArray) at
the beginning of the function, I see that $userArray is populated
* Thus wrote Jeff Stillwall ([EMAIL PROTECTED]):
I have a function that assigns some session variables I need available
during a user's visit. Oddly enough, as I assign about 7 variables, I
noticed that not all had data. This is the function:
function setupUserEnv ($userArray) {
* Thus wrote Jeff Stillwall ([EMAIL PROTECTED]):
Tom Rogers wrote:
Try passing a reference to the array like this
function setupUserEnv ($userArray) {
[snip]
}
Otherwise no idea at this point :)
I could give that a shot, but as I mentioned, if I var_dump($userArray) at
the
Tom Rogers wrote:
I am sure they do not but
I just tried reading the docs and it is as clear as mud so its back to
the suck it and see method
From the on-line docs, regarding $_SESSION (at
http://us3.php.net/manual/en/reserved.variables.php#reserved.variables.sessi
on):
This is a
* Thus wrote Beauford.2005 ([EMAIL PROTECTED]):
Sorry all, apparently this doesn't work on either Windows or Linux.
Again, I thought it was working and once I got farther along I see that
it really wasn't. Basically what I get after I login is an empty screen.
Here is what I have :
This is
umm yes i had to use select menus instead
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
hi there i dont know if this happens in php4 but say i have a list of
radio buttons in an array like
input type=radio name=secondary_banner[]
input type=radio name=secondary_banner[]
it only
How would I download any new files on a remote machine to my local one (in a
specific folder) via ftp?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jul 22, 2003, Michael Smith claimed that:
|Hi,
|
|So I can create the files, move them, etc. to backup my database and a
|couple of directories, but how do I create a gzip file of that and send
|it to the user? I need to basically execute a command to gzip a couple
|of files/directories... I
On Jul 22, 2003, jwulff claimed that:
|How would I download any new files on a remote machine to my local one (in a
|specific folder) via ftp?
You do realize that this is like subscribing to a automotive mail list and
asking how to buy groceries.
I would start by checking the man page for wget.
Hi
My Code :
?php
$uploaddir = '/tmp';
print pre;
if
(move_uploaded_file($_FILES['userfile']['tmp_name'],
$uploaddir . $_FILES['userfile']['name'])) {
print File is valid, and was successfully
uploaded. Here's some more debugging info:\n;
Hi,
I have written a feed reader for my personal use. The
php code given below does work. But it works only with
a single feed. How can I save multiple cookies
(array?) and display a few more RSS feeds. The example
page can be found at...
http://shantanuoak.com/test1.php
?php
if ($delete==yes)
Chris,
As I said, you are not calling your session user_info, the only way to name
a session is to use session_name() BEFORE session_start() if you are not
using a session_name call then change your setcookie call to the following
and this should kill it for you:
setcookie(session_name(),,,/);
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]):
I want to warn you though, PHP depricates the use of register_globals =
On,
so it would be recommendable to use your modified script and keep coding
using $_POST, $_GET and
* Thus wrote Shantanu Oak ([EMAIL PROTECTED]):
Hi,
I have written a feed reader for my personal use. The
php code given below does work. But it works only with
a single feed. How can I save multiple cookies
(array?) and display a few more RSS feeds. The example
page can be found at...
You could serialize your an array and save it in the cookie, but I would
also recommend using a session and then save the serialized array in
this instead.
Jacob Vennervald
On Tue, 2003-07-22 at 09:36, Curt Zirzow wrote:
* Thus wrote Shantanu Oak ([EMAIL PROTECTED]):
Hi,
I have written a
Hi James so what you are saying is that if I am not running mysql
4.0.10-gamma then the full text search wont work.
Strange because if I run the full text search on both full text indexed
fields I get the correct resultset, however I only want to do a full text
search on a column at a time, let
Hi,
I get this warning when trying to write to a .txt file. Strange enough, I
don't get this error when trying to do the same this on my local server.
Can anybody help me with this?!
Warning: fopen(respons.txt) [function.fopen]: failed to create stream: Permission
denied in
Please Start a new email when starting a new topic.
* Thus wrote Dore van Hoorn ([EMAIL PROTECTED]):
Warning: fopen(respons.txt) [function.fopen]: failed to create stream: Permission
denied in /usr/local/slash/apache/vhosts/goldore.nl/httpdocs/enquete/bekijken.php
on line 206
My bet is
My guess would be you don't have any write permission. Your first error is a
permission denied using fopen(). The rest of your errors is caused by using
the invalid filepointer '$file'. So check if you have any write permission!
I don't have any on my commercial hosting either, but I do on my
Hi,
It might even be possible that Winamp itself provides
hooks to a running instance of itself via command line
parameters (one can hope) which would simplify the
task greatly.
Winamp (v2 at any rate, I haven't worked with v3) has a great API, including
hooks via the command line, which is
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
* Thus wrote Shantanu Oak ([EMAIL PROTECTED]):
Hi,
I have written a feed reader for my personal use. The
php code given below does work. But it works only with
a single feed. How can I save multiple cookies
(array?) and display a few more
On Tuesday 22 July 2003 15:46, Angelo Zanetti wrote:
Hi James so what you are saying is that if I am not running mysql
4.0.10-gamma then the full text search wont work.
Strange because if I run the full text search on both full text indexed
fields I get the correct resultset, however I only
(BHi all,
(B
(BI am getting in troubles trying to install the GD library under solaris
(Bmachine
(B
(BI already installed php in my solaris machine using solaris 2.8 and
(BIplanet 4.7, there is no problem to deal with,
(B
(Bthe problem is that now I need the GD library,
(B
(Bwhat I
On Tuesday 22 July 2003 14:44, chandrakant Reddy wrote:
[snip]
The output that I am getting :
File is valid, and was successfully uploaded. Here's
some more debugging info:
Array
(
[userfile] = Array
(
[name] = filename.txt
[type] = text/plain
I used to have the same problem. It seems it's not safe to include a
file you have just writen.
Beauford.2005 wrote:
Done. You must have read my mind. I just finished putting the whole
thing in MySQL - since I am using it anyway to hold all my other data it
was easy to do. Took me about 45
why reply if you didnt understand ? ok more specifically has anyone served
ads with flash which also has an alternative image banner served if ppl dont
have the plugin ?
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:39 AM
To: Php-General
Phillip Blancher wrote:
if($array[0]==) { $array[0]=0; } else { }
if($array[1]==) { $array[1]=0; } else { }
if($array[2]==) { $array[2]=0; } else { }
if($array[3]==) { $array[3]=0; } else { }
if($array[4]==) { $array[4]=0; } else { }
if($array[5]==) { $array[5]=0; } else { }
if($array[6]==) {
if you do sniff the hash, the key, and the session. You will have to
get your request in before the key becomes stale,
race, race!
In most cases the authentication is the
first thing done so we're dealing with micro seconds.
Most cases?
Why re-invent the wheel?
--
Joel Rees,
Hi All,
Can anyone aswer this simple question, that i still have not found it
anywhere...
Is PHP capable of running on Apache 2.x and if so what version ?
And is it stable ?
Thankxs for any reply
Miguel Angelo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am running some cronjob scripts that are written in PHP. However
things are not working as expected because my php.ini file auto-prepends
a file. This auto-prepending is meant for my PHP web pages and I don't
want it loaded when I run PHP from the command line.
Is there a way from me to
php -c php.ini-file
Jacob Vennervald
On Tue, 2003-07-22 at 12:52, Jean-Christian IMbeault wrote:
I am running some cronjob scripts that are written in PHP. However
things are not working as expected because my php.ini file auto-prepends
a file. This auto-prepending is meant for my PHP web
Miguel Angelo wrote:
(B
(B Is PHP capable of running on Apache 2.x and if so what version ?
(B And is it stable ?
(B
(B
(BPHP will run on Apache 2 but ...
(B
(B#1 Apache 2 is multi-threaded whereas PHP is not. You need to turn
(BApache 2's multi-threading off.
(B
(B#2 Turning Apache 2's
Jacob Vennervald Madsen wrote:
(B
(B php -c php.ini-file
(B
(BThanks!
(B
(BI hate to say it but this was actually in the manual :( I just didn't
(Bknow where to look ...
(B
(Bhttp://php.net/manual/en/features.commandline.php
(B
(BJean-Christian Imbeault
(B
(B
(B--
(BPHP General
Jean-Christian Imbeault [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Miguel Angelo wrote:
Is PHP capable of running on Apache 2.x and if so what version ?
And is it stable ?
PHP will run on Apache 2 but ...
#1 Apache 2 is multi-threaded whereas PHP is not. You need to turn
Ivo Fokkema wrote:
(B
(B May I add this little note from the PHP installation txt file :
(B
(B
(B ATTENTION: Apache 2 Users
(B
(BAt this time, support for Apache 2 is experimental. It's
(Bhighly recommended you use
I would think that a Java applet would be your best bet. You can have
real-time updates instead of page reloads. However, you will need to
write a server to handle the specific requests for the applet. That can
be done in Java, C/C++, or even Perl. I would prefer Perl because of
it's
This is what I decided to do. So the pages that need to be secured, I
send the the SID as a GET QUERY variable.
I don't like it, but it's the only thing I seems right.
Joel Rees wrote:
if you do sniff the hash, the key, and the session. You will have to
get your request in before the key
I think you need to make a second index that just consists of the one
column
ALTER TABLE biblio ADD FULLTEXT (title)
if you want to search on just that one column.
---John Holmes...
Exactly!
If you want to do a fultext search on a single column you must have a
fulltext index on that
Does somebody know how to access SSH (port 22) using PHP ?
(B
(BThanks.
(B
(B
(B__
(BMau ringtones yang gaya ? -- http://www.ponselgaya.com
(B
(B--
(BPHP General Mailing List (http://www.php.net/)
(BTo unsubscribe, visit:
Hello all, I am trying to execute a bat file, and its not working. I manage
to get the CMD in the win task list however its not executing the bat
file, and its not closing it self...?? What I need it for is to execute a
modem to send a SMS. I got that working but the php stuff is not really my
Well, firstly, you should not have to use the double \\ when using the
single quotes, try it without and see if it works...
ie,
?php
exec('c:\WINNT\system32\cmd.exe /c START c:\test.bat c:\xxx.txt');
?
On Mon, 2003-07-21 at 16:34, Mikael wrote:
Hello all, I am trying to execute a bat file,
Use
algo.bat
REM Output from a batch file
Dir C:\
sleep 10
?php
echo exec (C:/algo.bat);
?
or
?php
echo system (C:/algo.bat);
?
Check if the safe_mode is on, and turn to off
Un saludo, Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
mysql_connect() added support for client flags in 4.3+
I'm wondering if there is another method to supply these flags for any
php 4.3?
thanks,
john
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got brain fade today and am in need of a clue, please accept
apologies if this is obvious.
I have a data table:
P_ref P_code P_Value
I want to read the data out where P_ref='somevalue' and create variables
for the content of P_Code with a value of P_Value
what should I be looking for in
Hello.
I am trying to restart my FTP daemon by killing it and then starting it using
the shell_exec() function:
shell_exec('kill '.$pid );
Shell_exec does nothing by this - when i do ps -ef later, i see the daemon
with the same pid still running.
But it did return the correct pid when i ran:
check out the linux sudo command
pete
R evr{v wrote:
Hello.
I am trying to restart my FTP daemon by killing it and then starting it using
the shell_exec() function:
shell_exec('kill '.$pid );
Shell_exec does nothing by this - when i do ps -ef later, i see the daemon
with the same pid still
Try sudo (man sudo)
Pietuka Krusti wrote:
Hello.
I am trying to restart my FTP daemon by killing it and then starting it using
the shell_exec() function:
shell_exec('kill '.$pid );
Shell_exec does nothing by this - when i do ps -ef later, i see the daemon
with the same pid still running.
But
$res=mysql_query(SELECT P_Code, P_Value FROM table WHERE
P_ref='somevalue');
while(list($code, $value)=mysql_fetch_row($res)) {
// now I'm not sure if you want
$$code=$value;
// or you want
$array[$code]=$value;
}
Tony Crockford wrote:
I've got brain fade today and am in need of a clue,
Hi to all,
I'm looking for a PHP-mySQL-opensource-shop - solution. Any suggestions or
experiencies that could be usefull. Wich
TIA
Alexander
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.oscommerce.com/
Alexander wrote:
Hi to all,
I'm looking for a PHP-mySQL-opensource-shop - solution. Any suggestions
or experiencies that could be usefull. Wich
TIA
Alexander
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi tony,
how is your table structured? is is a csv-file, a database, a html-table,
...?
ciao SVEN
Tony Crockford wrote:
I've got brain fade today and am in need of a clue, please accept
apologies if this is obvious.
I have a data table:
P_ref P_code P_Value
I want to read the data out
hi tony,
how is your table structured? is is a csv-file, a database, a
html-table,
...?
ciao SVEN
Ooops!
MySQL sorry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all
Can someone tell me where i am going wrong here. I am trying to echo a '£' to the
screen which has come from a database field. I get the field by:
$notes=%row[notes];
and the feild contains the data £25000, however when i echo this to the screen i get
£25000. I have tried
then try:
$query = 'select * from `yourTable` where `P_ref`=somevalue';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result))
{
$rows[] = $row;
}
var_export($rows);
hth SVEN
Tony Crockford wrote:
hi tony,
how is your table structured? is is a csv-file, a database, a
1 - 100 of 208 matches
Mail list logo