Are you writting the flash side too?
You could just return a multi-dimensional array?
$result = mysql_query();
$count = 0;
while($row = mysql_fetch_row($result)
{
$ret[$count] = $row;
$count++;
}
return $ret;
- Original Message -
From: Juan Stiller [EMAIL PROTECTED]
Date:
In all seriousness...
http://www.php.net/manual/en/
- and -
http://dev.mysql.com/doc/mysql/en/index.html
are increible resources, no real need to throw money out for the books...
- Original Message -
From: Huy Ton That [EMAIL PROTECTED]
Date: Monday, October 18, 2004 1:19 pm
Subject:
1. place your query string into a variable for easy dumping...
i.e. $query = insert into obiskovalci (ime, priimek, ulica, hstevilka,
pstevilka, posta) values('$ime', '$priimek', '$ulica',
'$hstevilka', '$pstevilka', '$posta');
echo $query;
(See if there are problems
Why not...??
if (!($queryResult =
mysql_result($queryResult, 0)))
{
return 0;
}
- Original Message -
From: Philip Thompson [EMAIL PROTECTED]
Date: Monday, July 26, 2004 12:57 pm
Subject: Re: [PHP-DB] Empty query result
Pablo,
Hello Philip,
pse.. can you paste the
I *think* I set this to you yesterday...
http://www.cs.umd.edu/~arun/misc/ssh.html
-Brad
- Original Message -
From: Suman Aluru [EMAIL PROTECTED]
Date: Tuesday, July 29, 2003 12:32 pm
Subject: RE: [PHP-DB] hi (php-SSH)
could somebody tell me howto Generate the SSH key file to connect
They would be the same, they have to be. If you can de-crypt it, there has to
be some method of validation. So, if someone choose the same password as you
did, and you stored those in a DB as encrypted with md5, then they would look
identical. So, you would know the other person's password.
http://us4.php.net/manual/en/function.getimagesize.php
Hi there everyone,
In short, I use the following to upload an image to the server:
$max_size = 40;
if (is_uploaded_file($userfile)) {
all works great, but what I want to do is store the file details in my
MySQL DB, how can I
What about two tables, one would have this:
carID
carCompany
carPayload
etc...
the second this:
position
carID
This table would be static and if a car was not present in certain conditions
they would contain (-1) for the carID. Then finding an empty slot to place an
incoming car should be
Well, it is a global variable/defined by PHP
write a script like this:
?php
phpinfo();
?
and run it. This shoudl shed some light on the situation...
-Brad
Hello all,
I need a quick script to get the client's browser make and model.
ie 5 ns 4.7 etc.
I've found some info in two books but
You should take advantage of this highly international PHP communicty and set
up a simple PHP interface to a table like:
Airport Code | Airport City | Airport Name | Country | etc..
And then ask people to go in there and insert whatever information they know
especially from around their area.
Have you tried checking out the archives? I think this one would have a
million plus one hits. Also has been discussed on Slashdot, as well as other
forums.
As far as difficulty to install, try it out. I would say it it relative as
I'm sure a linux expert would say it is simple, whereas a
--- mysql_result($result_category_id, 0, $i);
I think it is compaigning about the '$i' of course we don't know
what that is set to, so cannot help much. I would say it might not like it
when '$i' is equal to 0... :-)
-Brad
Hello guys.
The scenery: I've got an array with some values
Gosh..
It could be a bunch of things. Maybe it requires a password, a username, is
running on an alternate port, etc...
Any more information you can provide to us would be helpful. Maybe echo out
the output of pg_last_error()?
-Brad
I've installed MySQL and PostgreSQL on my XP. I'd like
Read this: (Does a good job explaining uploads)
http://www.php.net/manual/en/features.file-upload.php
How I personally handle images in mysql, is not put the image in the database
(Does it even allow this??) But just put the relative, or complete PATH to the
image. So, your database would
Hello,
It's always good practice to put some error detection in your code, i.e.
$result = mysql_query($query)
or die(mysql_error());
I think your problem is the mysql does not like your query, but you are not
catching it until PHP tries to figure out the number of rows returned by the
query.
You would probably need some API plugins to search other websites.
I've seen some people open socket connections, open the site and read the raw
HTML from the socket into a buffer and then parse out the information that way.
I don't know if PHP was really developed for such a purpose?
16 matches
Mail list logo