Hi All,
get the following error when calling data from mysql,
*Warning*: mysql_fetch_row(): supplied argument is not a valid MySQL
result resource in */var/www/html/phpmysqltable.php* on line *36
*
Below are snippets of my code,
Line 22: $result = mysql_query(SELECT product_name,
Hi friends,
This is Rittwick Banerjee
I have a problem with PHP and MySql while i'm trying to give a code into a
PHP file. The main problem is I can't delete any kinds of records from my
MySql database using a PHP code .
Can any help me ?
If there any code possible please e-mail that to me at
just put a @ symbol before the function calll, eg
while ($myrow = @mysql_fetch_row($result)) {
etc
On 4/25/05, Mark Sargent [EMAIL PROTECTED] wrote:
Hi All,
get the following error when calling data from mysql,
*Warning*: mysql_fetch_row(): supplied argument is not a valid MySQL
Drewcore wrote:
just put a @ symbol before the function calll, eg
while ($myrow = @mysql_fetch_row($result)) {
etc
On 4/25/05, Mark Sargent [EMAIL PROTECTED] wrote:
Hi All,
get the following error when calling data from mysql,
*Warning*: mysql_fetch_row(): supplied argument is not a valid
On 4/25/05, Rittwick Banerjee [EMAIL PROTECTED] wrote:
Hi friends,
This is Rittwick Banerjee
I have a problem with PHP and MySql while i'm trying to give a code into a
PHP file. The main problem is I can't delete any kinds of records from my
MySql database using a PHP code .
Can any help
Hi all,
ever tried to test if your connection to the database succeeded? maybe
that's why it shouted that ...not a valid result resource... msg.
Balazs Hegedus
Mark Sargent wrote:
Drewcore wrote:
just put a @ symbol before the function calll, eg
while ($myrow = @mysql_fetch_row($result)) {
etc
Hi again,
just another tip...it's from the php man:
*manmysql_query()* will also fail and return *FALSE* if the user does
not have permission to access the table(s) referenced by the query./man
Balazs Hegedus
Mark Sargent wrote:
Drewcore wrote:
just put a @ symbol before the function calll, eg
Hegeds Balzs wrote:
Hi all,
ever tried to test if your connection to the database succeeded? maybe
that's why it shouted that ...not a valid result resource... msg.
Balazs Hegedus
Mark Sargent wrote:
Drewcore wrote:
just put a @ symbol before the function calll, eg
while ($myrow =
I rarely use the @ sign. It is what I call 'balistic programming'. You
know, a shell, once it leaves the cannon, is not controlled in any way, you
just hope it will get where you want to go.
Instead you should check for errors and recover from them as gracefully as
possible..
You will see
Hi!
I need some sort of RMI style with PHP. For example:
10 servers with backend server in php. Then on frontend server I need
to get request from this servers.
regards
Uros
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 25 April 2005 10:46, Rittwick Banerjee wrote:
Hi friends,
This is Rittwick Banerjee
I have a problem with PHP and MySql while i'm trying to give a code into a
PHP file. The main problem is I can't delete any kinds of records from my
MySql database using a PHP code .
Can any help
Mark Sargent wrote:
Hi All,
get the following error when calling data from mysql,
*Warning*: mysql_fetch_row(): supplied argument is not a valid MySQL
result resource in */var/www/html/phpmysqltable.php* on line *36
This means that $result is not a valid result resource. You can
Hello,
Is there somethigh special about Opera 8 and it's way to locally store
variable values?
I have a application which uses 2 variables to determine what information to
retrieve and output from DB. At the first page user has to decide what to do
and after that his given 2 variables
Hello
I want to develop a shopping car in flash using php so
there any good tutorial or sample code that explain
the flash integration with php
Regards
Khuram Noman
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
khuram noman wrote:
I want to develop a shopping car in flash using php so
there any good tutorial or sample code that explain
the flash integration with php
Check out amfphp (http://www.amfphp.org). Flash people tend to love it =)
grt,
Evert
--
PHP General Mailing List (http://www.php.net/)
To
From my knowledge amfphp is now vapourware, I am assuming lawsuits etc
.
PHPObject is the alternative, it however doesnt use the flash remoting
component but has its own, it streams serialized data as an array from
php classes. the sucky thing is you cant use the remoting monitor in
Hi all.
I have searched the net for some PHP scripts to do reservations for
hotels. Where there are multiple rooms which can be booked for a single
day or multiple days. However what I've found is not good enough and am
considering writing my own customing booking scripts, but before I start
I
I'm sure they would tell something about that on the mailing list or
website. From what I know it is still active and there's almost a 1.0
coming out
grt,
Evert
Dan Rossi wrote:
From my knowledge amfphp is now vapourware, I am assuming lawsuits etc
.
PHPObject is the alternative, it
On Monday 25 April 2005 10:45, Uro Gruber wrote:
I need some sort of RMI style with PHP. For example:
10 servers with backend server in php. Then on frontend server I need
to get request from this servers.
I think there is not the same technology available for PHP. RMI is a JAVA
based
Its been in active freeze for two years ? Besides PHPObject is AS2
compatible now.
On 25/04/2005, at 8:41 PM, Evert | Rooftop wrote:
I'm sure they would tell something about that on the mailing list or
website. From what I know it is still active and there's almost a 1.0
coming out
grt,
Evert
Hey,
This is the strangest problem I have had in a long time. I have tried
using apache 2 with php 4 as a module and CGI and on both PHP will not
be parsed, I have also tried php 5 and had exactly the same problem. I
am now trying apache 1.3 and php 5 as a module and it doesn't parse the
php and
[snip]
This is the strangest problem I have had in a long time. I have tried
using apache 2 with php 4 as a module and CGI and on both PHP will not
be parsed, I have also tried php 5 and had exactly the same problem. I
am now trying apache 1.3 and php 5 as a module and it doesn't parse the
php and
Hello Jay,
Monday, April 25, 2005, 12:51:21 PM, you wrote:
JB Were there any problems during the compile? Is this on Windows or
JB Linux or BSD? You really don't offer enough information for us to
JB get started on this.
It's Windows I guess from the WAMP in the subject :)
To the original
yes it will be real time and yes open source is what we're looking for.
For this hotel there are only 15 rooms so performance issues wont
really come into play.
Devraj Mukherjee wrote:
Is your system going to be real time?
We worked with some reservation products in the past but the
Hello,
on 04/25/2005 06:17 AM Khuram Noman said the following:
I want to develop a shopping car in flash using php so
there any good tutorial or sample code that explain
the flash integration with php
It depends on what you mean by Flash integration. Here you may find
several classes that
William Stokes wrote:
...
This works fine in IE and Firefox but Opera remembers users previous
choice and prints wrong info to user. After pressin refresh button it's back
to normal.
So does Opera store variable values to a local cache so that unset() won't
clear them? Sounds odd? If this is
hi,
i'm looking for a solution to change the object's class.
i got a class and a derived class like this: (just for example,
completly stupid ^^)
class Ex{
var a;
var b;
}
class Ex2 extends Ex{
var c;
}
i want to create an object Ex and after change the object class to Ex2
to complete
Hi,
I'm trying to read a (XML object) DOMDocument from an session but when I
try to do this from another page then where it's declared, it can't be read it.
I _can_ read the DOMDocument on the same page out of the session.
and also print_r(_SESSION); shows it still is a DOMDocument on all
You should check out the CVS, I think you will be suprised.
Evert
Dan Rossi wrote:
Its been in active freeze for two years ? Besides PHPObject is AS2
compatible now.
On 25/04/2005, at 8:41 PM, Evert | Rooftop wrote:
I'm sure they would tell something about that on the mailing list or
website.
Go to http://www.hotscripts.com and type in hotel reservation in the
Search For text box, change the category to PHP and then click on Search.
Steve
At 08:10 AM 4/25/2005, you wrote:
yes it will be real time and yes open source is what we're looking for.
For this hotel there are only 15 rooms
Hello,
on 04/25/2005 06:17 AM Khuram Noman said the following:
I want to develop a shopping car in flash using php so
there any good tutorial or sample code that explain
the flash integration with php
It depends on what you mean by Flash integration. Here you may find
several classes
I must admit, I agree with Ryan A's points - I used to visit the site
regularly, but the ads and stuff have put me off a little bit these
days...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/25/2005 4:31:42 PM, Chris Ramsay ([EMAIL PROTECTED]) wrote:
I must admit, I agree with Ryan A's points - I used to visit the site
regularly, but the ads and stuff have put me off a little bit these
days...
The main reason I am so pissed right now is, I recommended the site to a pal
of
Any advice from the ones that passed?
Thanks
On 4/23/05, Greg Donald [EMAIL PROTECTED] wrote:
On 4/23/05, M Saleh EG [EMAIL PROTECTED] wrote:
Anyone who passesd?
If I can pass.. well, good luck! :)
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General
Because I'm not sure if attachments are included in this mailinglist,
I copied the source of my sample script:
- start file --
?
session_start();
if (!$_POST)
{
// Make new DOMDocument
$dom = new DOMDocument('1.0', 'utf-8');
$dom-loadXML('rootnodeThe almighty
marc serra wrote:
hi,
i'm looking for a solution to change the object's class.
i got a class and a derived class like this: (just for example,
completly stupid ^^)
class Ex{
var a;
var b;
}
class Ex2 extends Ex{
var c;
}
i want to create an object Ex and after change the object class to
M Saleh EG wrote:
Any advice from the ones that passed?
Thanks
What exactly are you after? Why does it matter if a person has passed
or not? As long as someone has taken the exam, that should be
sufficient enough to provide some advice.
A couple tidbits of advice have already been given to
I'm scripting a
photo gallery page that generates links (1 through $max), sends the selected
number in the url, then displays a set of photos based on the number. However, I
want it to display the number of the current gallery differently than the other
numbers. If the browser clicks on "3"
--
mierdas saquenme de aca
carajo
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
On 4/25/2005 5:23:16 PM, Ed Dorsch ([EMAIL PROTECTED]) wrote:
I'm scripting a photo gallery page that generates links (1 through $max),
sends the selected number in the url, then displays a set of photos based on
the number. However, I want it to display the number of the current gallery
Hey,
This is a common mistake...have a look at what you wrote:
if ($n=$Pagenum) {print ' strong ' . $n;}
take a look againsee the problem?
The above will always validate to true...reason being...you gotto use the
equal to equal to instead of just equal to...like this:
if ($n==$Pagenum)
Can PHP generate an
array based on file names in a folder?
For example, if I
have a folder called "photos" that includes three files -- tree.jpg, house.jpg
and boat.jpg -- can PHP "look" at the file and generate a variable $photos=
array("tree", "house","boat"). Any ideas for how to
[snip]
Can PHP generate an array based on file names in a folder?
For example, if I have a folder called photos that includes three
files -- tree.jpg, house.jpg and boat.jpg -- can PHP look at the file
and generate a variable $photos= array (tree, house,boat). Any
ideas for how to sniff out a
I am trying to setup a script that allows people to upload files for
specific, permissions-based, projects.
i.e. There are logs that are viewable to clients only after login. The
admin also has the ability to upload files. These files should be
associated with a particular log, and then should
Jay Blanchard wrote:
[snip]
Can PHP generate an array based on file names in a folder?
For example, if I have a folder called photos that includes three
files -- tree.jpg, house.jpg and boat.jpg -- can PHP look at the file
and generate a variable $photos= array (tree, house,boat). Any
ideas
Pedro Luis Cruz Riguetti wrote:
heh Pedro did you want to say something?... you sent an empty email!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stuart Nielson wrote:
...
Does anybody know how to do this with php? I'm not sure how to find the
file in the backend and kick it back to the user with the Save As box
popping up. I'm thinking maybe it has something to do with headers, but
I'm not sure. Thanks.
Stuart
Usually when you
Stuart Nielson wrote:
I am trying to setup a script that allows people to upload files for
specific, permissions-based, projects.
i.e. There are logs that are viewable to clients only after login. The
admin also has the ability to upload files. These files should be
associated with a particular
Cas wrote:
Hi,
I'm trying to read a (XML object) DOMDocument from an session but when I
try to do this from another page then where it's declared, it can't be read it.
I _can_ read the DOMDocument on the same page out of the session.
and also print_r(_SESSION); shows it still is a DOMDocument
I have a sloppy, insecure script that does this posted on the web,
which I use at home to make pages for my personal homepage:
http://kimbriggs.com/computers/computer-software/create-html-table.txt
You seem to be passing variables programmatically. This is how I use it
Does anybody know how to do this with php? I'm not sure how to find the
file in the backend and kick it back to the user with the Save As box
popping up. I'm thinking maybe it has something to do with headers, but
I'm not sure. Thanks.
Stuart
Usually when you send the header
I continue with the error page class not found, this class where can I see?,
in my disk I have the packet DB.php, pear.php and page.php.
somebody can Help me?.
some body worked with this class pager
best regards TOMAS
- Original Message -
From: Richard Lynch [EMAIL PROTECTED]
To: Tomás
Tengo instalado WIN98SE PWS PHP 4.3.11 y cuando ejecuto el archivo *.php me
sale el siguiente error:
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'msql.dll'
acepto y me sale lo siquiente:
PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\php_domxml.dll'
-
* Ed Dorsch [EMAIL PROTECTED]:
Can PHP generate an array based on file names in a folder?
For example, if I have a folder called photos that includes three
files -- tree.jpg, house.jpg and boat.jpg -- can PHP look at the
file and generate a variable $photos = array (tree,
house,boat). Any
Hello,
on 04/25/2005 11:28 AM Ryan A said the following:
Hello,
on 04/25/2005 06:17 AM Khuram Noman said the following:
I want to develop a shopping car in flash using php so
there any good tutorial or sample code that explain
the flash integration with php
It depends on what you mean by Flash
como puedo salir de sta lista q esta llenando mi correo.
--
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
For RMI/RPC/Object Proxying/Remoting in PHP, check out PHPBeans
(http://www.phpbeans.com/) and memcached
(http://www.danga.com/memcached/). I was going to combine the two until
the alloted time for the project got slashed. The result would have been
a PHP driven system with the only single
On both systems i use libxml 2.6.18, both Gentoo (2005.0) machines. I
asked in the irc channels if more people could run my script to be
sure it wasn't my system and two of the two people also had the
problem (dunno what their systems are, but one runned PHP 5.0.4). I
think it's weird I get
[Please note that even though I cite Interbase in my example, I believe my
question can be generalized to all databases that allow persistent
connections]
I recently installed a trial version of Interbase on a development server
that includes a nifty tool that allows me to monitor, among other
I recently installed a trial version of Interbase on a development server
that includes a nifty tool that allows me to monitor, among other things,
the number of active connections to my server. After playing with this
feature briefly, I noticed that SEVERAL connections are opened between my
web
Hello,
on 04/25/2005 11:52 AM Ryan A said the following:
On 4/25/2005 4:31:42 PM, Chris Ramsay ([EMAIL PROTECTED]) wrote:
I must admit, I agree with Ryan A's points - I used to visit the site
regularly, but the ads and stuff have put me off a little bit these
days...
The main reason I am so pissed
Maybe it's also an idea to close the strong tag ;-)
to make life easier:
if ($n=$Pagenum)
{
print 'strong'.$n.'/strong';
}else{
print 'a href=pag_gallery.php?Pagenum='.$n.''.$n.'/a';
}
On 4/25/05, Ryan A [EMAIL PROTECTED] wrote:
Hey,
This is a common mistake...have a look at what you
Tried the newest libXML stable release (2.6.19) and recompiled mod_php with it
but I still have get the error:
Warning: Couldn't fetch DOMDocument in
/var/www/localhost/htdocs/pluxbox/test.php on line 20
foo
May I ask what your system specs are? (OS, PHP and libXML version).
Greetings,
Cas
On
Hello,
This is probably more of a db question but...
I am writing an employee database for work. The majority of it is simple
enough however I am stuck on the timetabling. It has to be done in PHP
as there are 40 plus team leaders whose computers are all old and have
IE on them as one
Richard Collyer mailto:[EMAIL PROTECTED]
on Monday, April 25, 2005 3:15 PM said:
My idea of doing this was to have a database with each record being a
day for a particular employee. Recording ID, Start Time, Finish Time
in TimeStamp.
You need to tie those records to the employee records.
I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement
Parse error: parse error, unexpected T_IF in
/var/www/html/phpBB2/posting.php on line 562
if ( !($result = $db-sql_query($sql)) )
{
On Mon, April 25, 2005 3:14 pm, Richard Collyer said:
This is probably more of a db question but...
Probably.
I am writing an employee database for work. The majority of it is simple
enough however I am stuck on the timetabling. It has to be done in PHP
as there are 40 plus team leaders
On Mon, April 25, 2005 1:40 pm, Michael Phillipson said:
What I am baffled by is the fact that the total nunber of connections
between the web server and my database seems to max out at 9. Why 9?
Either you never had more than 9 users at one time during your test, so
only 9 Apache children
On Tue, April 19, 2005 4:54 pm, Patricio Reyes said:
Tengo instalado WIN98SE PWS PHP 4.3.11 y cuando ejecuto el archivo *.php
me sale el siguiente error:
No habla Espanol.
PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
'msql.dll'
PHP 4.1 - msql.dll != PHP 4.0 -
On Mon, April 25, 2005 3:47 pm, Tomás Rodriguez Orta said:
I continue with the error page class not found, this class where can I
see?,
in my disk I have the packet DB.php, pear.php and page.php.
Install more of PEAR so you have Pager.php?
somebody can Help me?.
Show us the FULL error
ztuni ztuni wrote:
I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement
Parse error: parse error, unexpected T_IF in
/var/www/html/phpBB2/posting.php on line 562
if ( !($result = $db-sql_query($sql)) )
On Mon, April 25, 2005 2:17 am, khuram noman said:
I want to develop a shopping car in flash using php so
there any good tutorial or sample code that explain
the flash integration with php
You may also want to check out Ming, which would let you use PHP to
generate the Flash movie in the first
On Mon, April 25, 2005 4:29 pm, ztuni ztuni said:
I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement
Parse error: parse error, unexpected T_IF in
/var/www/html/phpBB2/posting.php on line 562
On Mon, April 25, 2005 10:54 am, Jason Barnett said:
Jay Blanchard wrote:
[snip]
Can PHP generate an array based on file names in a folder?
For example, if I have a folder called photos that includes three
files -- tree.jpg, house.jpg and boat.jpg -- can PHP look at the file
and generate a
On Mon, April 25, 2005 11:47 am, Philip Hallstrom said:
Does anybody know how to do this with php? I'm not sure how to find
the
file in the backend and kick it back to the user with the Save As box
popping up. I'm thinking maybe it has something to do with headers,
but
I'm not sure.
oops.sorry...gmail sorted things out wrong and i didn't see the whole
conversation.
On 4/25/05, The Disguised Jedi [EMAIL PROTECTED] wrote:
please post the whole file, or a few lines before...
On 4/25/05, Mattias Thorslund [EMAIL PROTECTED] wrote:
ztuni ztuni wrote:
Some might consider this OT, but I need to figure this out somehow, and
google has been no help.
I downloaded and installed PHP Designer 2005, and I really like it so far,
but I'm having some problems. Any time it is running, my CPU Usage goes up
to 100% and the process phpDesignerPrg.exe is
please post the whole file, or a few lines before...
On 4/25/05, Mattias Thorslund [EMAIL PROTECTED] wrote:
ztuni ztuni wrote:
I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement
Parse
Hi all - it seems the longer I use PHP, the stupider my questions are
getting. I finally got my XML parsed into an array, but perhaps my
skills at dealing with the array are not where I thought they were.
My array print_r's out like this:
Array
(
[PARAS] = Array
(
[PARA] = Array
Hi All,
with the below code, $myrow[1] should = product_name's value, $myrow[2]
should = product_model_number's value and $myrow[3] should =
product_serial_number's value, but, product_name's value is not being
displayed, and the values are being moved to the left 1. Meaning
Mark Sargent wrote:
Hi All,
with the below code, $myrow[1] should = product_name's value,
$myrow[2] should = product_model_number's value and $myrow[3] should =
product_serial_number's value, but, product_name's value is not being
displayed, and the values are being moved to the left 1. Meaning
Brian Dunning wrote:
Hi all - it seems the longer I use PHP, the stupider my questions are
getting. I finally got my XML parsed into an array, but perhaps my
skills at dealing with the array are not where I thought they were.
My array print_r's out like this:
Array
(
[PARAS] = Array
(
I have windows server 2003, PHPv5.0.3, Mysql v4.1 and IIS 6 and i am
working in Macromedia Dreamweaver MX2004
i am unable to connect to the mysql server. but my php files are running
fine and my mysql server is also running fine.
i) i had changed the php.ini-dist file to php.ini.
ii)i
83 matches
Mail list logo