php-general Digest 11 Jul 2004 14:52:21 -0000 Issue 2870
Topics (messages 190164 through 190184):
mysql persistent connection...
190164 by: bruce
190165 by: Jason Wong
CMS solution + web sites in CVS.
190166 by: Lukasz Karapuda
Re: MySQL/PHP Tunneling
190167 by: Karam Chand
sort() - Where did I go wrong?
190168 by: John Taylor-Johnston
190169 by: John Taylor-Johnston
190170 by: John Taylor-Johnston
190173 by: Aidan Lister
190176 by: Marek Kilimajer
Re: mail problem
190171 by: Justin Patrin
190172 by: Dennis Seavers
190174 by: Aidan Lister
190177 by: Tim Van Wassenhove
Re: usort e & � together
190175 by: Marek Kilimajer
Passing Variables
190178 by: Harlequin
190180 by: Tim Van Wassenhove
190181 by: Harlequin
Re: [PHP-DB] Table locking
190179 by: Miles Thompson
displaying database results with forward and back buttons
190182 by: Matthew Oatham
190183 by: Larry E. Ullman
Where should I put my mysql database???
190184 by: Levis Li
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
i'm trying to get a better understanding of how to implement persistent
connections with mysql in either perl/php
basically i'm trying to solve the issue of whether a web app has to
essentially perform a new mysql_connect on every page that's going to be
doing any database access.
using mysql_connect apparently creates a resource id that gets destroyed
when the web page is no longer being used... can the implementation of
persistent connections resolve this issue, and how does the resourceID get
passed from page to page.. i'm not able to get the Session vars to contain
the resourceID...
thanks...
-bruce
--- End Message ---
--- Begin Message ---
On Sunday 11 July 2004 10:03, bruce wrote:
> i'm trying to get a better understanding of how to implement persistent
> connections with mysql in either perl/php
>
> basically i'm trying to solve the issue of whether a web app has to
> essentially perform a new mysql_connect on every page that's going to be
> doing any database access.
>
> using mysql_connect apparently creates a resource id that gets destroyed
> when the web page is no longer being used... can the implementation of
> persistent connections resolve this issue, and how does the resourceID get
> passed from page to page.. i'm not able to get the Session vars to contain
> the resourceID...
I think it hinges on what you're trying to do. Why do you need to store the
resource_id in a session? IE what you trying to achieve? If it's simply a
case of trying to eliminate the latency in establishing a connection then
have a look at mysql_pconnect().
BTW have you read manual > Persistent Database Connections? That will probably
answer most of your questions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
He who laughs last hasn't been told the terrible truth.
*/
--- End Message ---
--- Begin Message ---
I am currently restructuring the web site/web application development
life cycle of my company. The new model requires the use of CVS (2
branches) for each web site project. The issue I am facing is the
maintenance/development of web sites utilizing CVS, while still
providing content management functionality for the customers. I am
currently utilizing the Macromedia Contribute software for client web
site content management. The system however makes direct modifications
to the live web site html/php pages, which makes it difficult to use
while still trying to maintain the web site files in CVS.
I have considering the implementation of the server wide CMS written in
PHP, that would separate the content into a database, and also provide
the ability to include content management functionality in custom
developed web sites. I am currently evaluating the eZ publish 3.4
(http://ez.no/ez_publish).
I would appreciate feedback and recommendations of any other PHP user
that has experience with the presented issue.
Thanks in advance,
--
Lukasz Karapuda
VP Application Development - newline Creations LLC
http://www.thenewline.com/portfolio.htm
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
>
> First off, when starting a new topic, don't reply to
> message and
> then change the topic.
Sorry. But I just didnt remember the email addy so I
took that way :).
>
> * Thus wrote Karam Chand:
> > Hello,
> >
> > Recently lot of MySQL clients try to overcome host
> > based privilege system of MySQL by using PHP
> tunneling
> > method.
> >
> > In this method they call up a PHP file in the
> server
> > and the PHP file executes a query and sends the
> data
> > in XML format.
>
> This doesn't really explain much.
>
Try out www.mysqlfront.de (docs should be enough i
guess :) ). Its a GUI for MySQL. It has an option for
PHP tunneling and this is what I am refering to.
Now, many of the ISPs blokc 3306 for security reason
and you cannot access MySQL from a 3rd party tool and
have to use phpMyAdmin which is able to access the
MySQL server as it is running on the same box.
Sometimes, SSH tunneling is also not the option :)
Most of these tools use MySQL C API() or some sort of
wrapper for it to connnect to the server and do their
job. Instead of connecting directly to the server
using:
mysql_real_connect ( .... ).
They callup the above mentioned PHP file and pass the
query as a argument. The PHP file then connects to the
local mysql server,executes the query and returns all
the required data as XML or a pre-determined format.
In the client side the app again assembles this data
and fills up MYSQL_RES* structure, the main structure
in C API() to work with resultsets.
In short this is what happens:
/*
connect to the php file using your C prog.
e.g. http://somehost.com/some.php?query=select *
from sometable
the PHP file then executes the query and writes the
result as XML (for e.g.).
<result>
<row>
<col1>aaa</col1>
<col2>asasas</col2>
...
</row>
<row>
....
</row>
</result>
in the client side the app fills creates and fills
up the MYSQL_RES sturcture with this data and then use
various APIs like:
mysql_fetch_row()
mysql_fetch_fields()
*/
So basically instead of working on raw sockets and
using MySQL protocol to fill up the required
sturctures, they make a bridge between HTTP - MySQL
protocol.
So I just wanted to know if somebody has written a
generic library like this? Otherwise, I guess I have
to write one for my app.
Regards,
Karam
> >
> > I am using C API() and I was just wondering if
> > somebody is working on such tunnels i.e. a PHP
> file
> > and its corresponding C/++ code that will fill up
> > MYSQL_RES structures correctly so that I can use
> them
> > to C API() without any problem. Otherwise, i guess
> i
> > have to write one for myself.
>
> Now, I'm utterly confused. I have no idea what
> you're referring to
> as C API() nor php tunneling.
>
>
>
> Curt
> --
> First, let me assure you that this is not one of
> those shady pyramid schemes
> you've been hearing about. No, sir. Our model is
> the trapezoid!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
--- End Message ---
--- Begin Message ---
I'm having another problem with sort();
I want to treat $rbenquiry as a string, not as a numeral.
$mydata->RB could contain "1.2" ; "1.9" ; "1.1" ; "1.0" ; "1.0.8"
But if $rbenquiry ="1.0", my code spits out anything that begins as though it were
="1". It should only display "1.1" or "1.0.8".
Where did I go wrong? How can I fix it?
Thanks for any help,
John
------- snip ------------
$rbenquiry ="1.0";
$enquiries = array();
$enquiry_list = array();
#... open $db & $ $table
while ($mydata = mysql_fetch_object($news))
{
$mydata->RB = str_replace(" ;", ";", $mydata->RB);
$mydata->RB = str_replace("; ", ";", $mydata->RB);
$tempenquiries = explode(";", $mydata->RB);
foreach ($tempenquiries as $singleenquiry)
{
if ($singleenquiry <> "")
{
array_push($enquiries, $singleenquiry);
$enquiry_list[$singleenquiry][] = $mydata->id;
}
}
}
sort($enquiries);
#usort($enquiries, create_function('$a,$b','return strcasecmp($a,$b);'));
foreach (array_count_values ($enquiries) as $enquiry=>$count)
{
if((strtolower(substr($enquiry, 0, 1)) == $rbenquiry))
{
echo "<tr bgcolor=\"#D3DCE3\">";
echo "<th align=\"left\" colspan=\"2\"><a
href=\"".$SCRIPT_NAME."?searchenquiry=".urlencode($enquiry)."\">".$enquiry."</a>
<small>[<--Search Entire Database]</small></th>";
echo "<th align=\"right\" width=\"5%\" nowrap>(".$count." ";
if($count > 1)
{echo "records found/trouv�s)";}
else{echo "record found/trouv�)";}
echo"</th></tr>\n";
echo "<tr bgcolor=\"#F5F5F5\"><td> </td>";
echo "<td align=\"left\">";
$temp = "";
foreach ($enquiry_list[$enquiry] as $rbid)
{
$temp .= "<a target=\"printwindow\"
href=\"print.php?id=".urlencode($rbid)."\">".$rbid."</a>, ";
}
$temp = substr("$temp", 0, -2);
echo "$temp</td>";
echo "<td> </td>";
echo "</tr>\n";
}
}
--- End Message ---
--- Begin Message ---
I'm having a similar problem here if I pass a numeral inside $searchenquiry
$searchenquiry = "1.0.1 Retrospective bibliographies and checklists / bibliographies
et r�pertoires r�trospectifs";
preg_replace ('/('.$searchenquiry.')/i' , "<b>$1</b>", $mydata->RB)
error: Unknown modifier 'b' in <b>/www-html/new1/db/display.table.inc</b> on line
<b>103</b>
--- End Message ---
--- Begin Message ---
Ok. This is not a numeral problem? strval did not make a difference.
I have, however, solved the immediate problem with:
# if((strtolower(substr($enquiry, 0, 1)) == $rbenquiry))
if((strtolower(substr($enquiry, 0, strlen($rbenquiry))) == $rbenquiry))
However, preg_replace ('/('.$searchenquiry.')/i' , "<b>$1</b>", $mydata->RB)
still gives me:
error: Unknown modifier ...
$searchenquiry = "1.0.1 Retrospective bibliographies and checklists / bibliographies et
r�pertoires r�trospectifs";
--- End Message ---
--- Begin Message ---
I don't see how these questions are related, please ask each question
separately next time.
If you want to put variables in your regex's, you must use preg_quote.
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok. This is not a numeral problem? strval did not make a difference.
> I have, however, solved the immediate problem with:
>
> # if((strtolower(substr($enquiry, 0, 1)) == $rbenquiry))
> if((strtolower(substr($enquiry, 0, strlen($rbenquiry))) == $rbenquiry))
>
> However, preg_replace ('/('.$searchenquiry.')/i' , "<b>$1</b>",
$mydata->RB)
> still gives me:
> error: Unknown modifier ...
>
> $searchenquiry = "1.0.1 Retrospective bibliographies and checklists /
bibliographies et
> r�pertoires r�trospectifs";
--- End Message ---
--- Begin Message ---
John Taylor-Johnston wrote:
I'm having a similar problem here if I pass a numeral inside $searchenquiry
$searchenquiry = "1.0.1 Retrospective bibliographies and checklists / bibliographies et
r�pertoires r�trospectifs";
preg_replace ('/('.$searchenquiry.')/i' , "<b>$1</b>", $mydata->RB)
error: Unknown modifier 'b' in <b>/www-html/new1/db/display.table.inc</b> on line
<b>103</b>
the problem is the slash in $searchenquiry, use preg_quote()
--- End Message ---
--- Begin Message ---
You should also be using $_POST instead of $HTTP_POST_VARS. $_POST is
a superglobal, so you can use it anywehere, it's shorter ;-), and it's
the "official" way to access post vars.
On Sun, 11 Jul 2004 08:52:54 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> On Sunday 11 July 2004 08:33, Joao Gomes wrote:
>
> > I am a beginner in php and I am trying to send emails from my machinne, I
> > dont have any mail server installed in my computer (e.g. sendmail), btw i
> > am running Windows XP, i wrote this script:
>
> [snip]
>
> > and changed the php.ini to:
> >
> > [mail function]
> > ; For Win32 only.
> > SMTP = [EMAIL PROTECTED]
>
> SMTP (ie SMTP server) should be of the form: xxx.domain.tld, ie you should not
> have "smtp@" in there.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> Death is God's way of telling you not to be such a wise guy.
> */
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> !DSPAM:40f08d67207261637984098!
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--- End Message ---
--- Begin Message ---
Jason, et al:
Is it not true that $HTTP_POST_VARS is more secure than $_POST, even though
the latter is a superglobal? Doesn't the former acount for un-updated
server versions?
If it isn't, what disadvantage is there to using $HTTP_POST_VARS? Why
should one use $_POST instead?
(P.S.: Aidan Lister, this may be a dumb question, but please don't bother
responding.)
> [Original Message]
> From: Justin Patrin <[EMAIL PROTECTED]>
> To: Jason Wong <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Date: 07/11/2004 12:29:24 AM
> Subject: Re: [PHP] mail problem
>
> You should also be using $_POST instead of $HTTP_POST_VARS. $_POST is
> a superglobal, so you can use it anywehere, it's shorter ;-), and it's
> the "official" way to access post vars.
>
> On Sun, 11 Jul 2004 08:52:54 +0800, Jason Wong <[EMAIL PROTECTED]>
wrote:
> > On Sunday 11 July 2004 08:33, Joao Gomes wrote:
> >
> > > I am a beginner in php and I am trying to send emails from my
machinne, I
> > > dont have any mail server installed in my computer (e.g. sendmail),
btw i
> > > am running Windows XP, i wrote this script:
> >
> > [snip]
> >
> > > and changed the php.ini to:
> > >
> > > [mail function]
> > > ; For Win32 only.
> > > SMTP = [EMAIL PROTECTED]
> >
> > SMTP (ie SMTP server) should be of the form: xxx.domain.tld, ie you
should not
> > have "smtp@" in there.
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications Development *
> > ------------------------------------------
> > Search the list archives before you post
> > http://marc.theaimsgroup.com/?l=php-general
> > ------------------------------------------
> > /*
> > Death is God's way of telling you not to be such a wise guy.
> > */
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> > !DSPAM:40f08d67207261637984098!
> >
> >
>
>
> --
> DB_DataObject_FormBuilder - The database at your fingertips
> http://pear.php.net/package/DB_DataObject_FormBuilder
>
> paperCrane --Justin Patrin--
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> Is it not true that $HTTP_POST_VARS is more secure than $_POST, even
though
> the latter is a superglobal? Doesn't the former acount for un-updated
> server versions?
> If it isn't, what disadvantage is there to using $HTTP_POST_VARS? Why
> should one use $_POST instead?
No, $HTTP_xxx is not "more secure".
Please read http://php.net/variables.predefined
If you're working on a server which is older than PHP4.1.0, then you'll have
to use the older $HTTP stuff.
If not, you're encouraged to use the newer superglobal form.
The $HTTP stuff is disabled by default in PHP5.
In terms of backward compatability I'd still advise you to use the newer
form, there are very few hosts that still run php4.1.0 (because it has many
dangerous bugs).
> (P.S.: Aidan Lister, this may be a dumb question, but please don't bother
> responding.)
Please, you asked a stupid question and got done for it - let's put the past
behind us.
Hope this helps.
--- End Message ---
--- Begin Message ---
In article <[EMAIL PROTECTED]>, Joao Gomes wrote:
> [mail function]
> ; For Win32 only.
> SMTP = [EMAIL PROTECTED]
I don't think [EMAIL PROTECTED] is a valid hostname.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--- End Message ---
--- Begin Message ---
John Taylor-Johnston wrote:
I think my problem lies in usort. I have a big honker of an array which I usort.
$ausenquiry = "e";
and
$ausenquiry = "e";
give a separate result.
I want to conjoin them. Possible? The same would be true for "a" and "�".
usort distinguishes between � and e. Any way around this? I don't see any inspiration:
http://ca2.php.net/manual/en/function.usort.php
John
-------snip----------
while ($mydata = mysql_fetch_object($news))
{
$mydata->AUS = str_replace(" ;", ";", $mydata->AUS);
$mydata->AUS = str_replace("; ", ";", $mydata->AUS);
$tempauthors = explode(";", $mydata->AUS);
foreach ($tempauthors as $singleauthor)
{
if ($singleauthor <> "")
{
array_push($authors, $singleauthor);
$author_list[$singleauthor][] = $mydata->id; // use an associative array...
}
}
}
usort($authors, create_function('$a,$b','return strcasecmp($a,$b);'));
usort($authors, create_function('$a,$b','
$a = str_replace(array('�', '�', ....), array('e', 'a'), $a);
$b = str_replace(array('�', '�', ....), array('e', 'a'), $b);
return strcasecmp($a,$b);'));
foreach (array_count_values ($authors) as $author=>$count)
{
if((strtolower(substr($author, 0, 1)) == $ausenquiry))
{
echo "<tr>";
echo "<th align=\"left\" colspan=\"2\"><a
href=\"".$SCRIPT_NAME."?searchenquiry=".urlencode($author)."\">".$author."</a> <small>[<--Search Entire
Database]</small></th>";
echo "<th align=\"right\" width=\"5%\" nowrap>(".$count." ";
if($count > 1)
{echo "records found/trouv�s)";}
else{echo "record found/trouv�)";}
echo"</th></tr>\n";
echo "<tr><td> </td>";
echo "<td align=\"left\">";
$temp = "";
foreach ($author_list[$author] as $ausid)
{
$temp .= "<a target=\"printwindow\"
href=\"".$SCRIPT_NAME."?id=".urlencode($ausid)."&searchenquiry=".urlencode($author)."\">".$ausid."</a>,
";
}
$temp = substr("$temp", 0, -2);
echo "$temp</td>";
echo "<td> </td>";
echo "</tr>\n";
}
}
--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."
' ' ' Coll�ge de Sherbrooke:
��� http://www.collegesherbrooke.qc.ca/languesmodernes/
- Universit� de Sherbrooke:
http://compcanlit.ca/
819-569-2064
--- End Message ---
--- Begin Message ---
I'm just working on my syntax for passing a variable "UserID" from one page
to the next and it works a little like this so far:
On my form I have:
"<form action='updated.php?UserID=\"$UserID\"...
The URL posts:
http://...load.php?UserID="JDoe"
And when I echo the "$UserID" on this page I get:
Code:
<?php echo "for example: ['$UserID']"; ?>
Generates:
for example: ['\"JDoe\"']
Which part of my syntax is incorrect...?
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
--- End Message ---
--- Begin Message ---
In article <[EMAIL PROTECTED]>, Harlequin wrote:
> I'm just working on my syntax for passing a variable "UserID" from one page
> to the next and it works a little like this so far:
>
><?php echo "for example: ['$UserID']"; ?>
As you seem to have _many_ problems, i can only advise you to read the
manual.. and read it again.. and again... http://www.php.net/manual.
You can find the answer in the section on variables, predefined
variables to be more precise.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--- End Message ---
--- Begin Message ---
Thanks Tim. Solved the problem.
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Harlequin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm just working on my syntax for passing a variable "UserID" from one
page
> to the next and it works a little like this so far:
>
> On my form I have:
> "<form action='updated.php?UserID=\"$UserID\"...
>
> The URL posts:
> http://...load.php?UserID="JDoe"
>
> And when I echo the "$UserID" on this page I get:
> Code:
> <?php echo "for example: ['$UserID']"; ?>
>
> Generates:
> for example: ['\"JDoe\"']
>
> Which part of my syntax is incorrect...?
>
>
>
> --
> -----------------------------
> Michael Mason
> Arras People
> www.arraspeople.co.uk
> -----------------------------
--- End Message ---
--- Begin Message ---
Rosen,
You've got your insertion order backwards.
Insert in table1
Grab the key with mysql_insert_id - assuming you have an autoincrement
field as primary key on that table. Call it something like master_key.
Insert the detail records in table2, with the key you just grabbed from
table1 (master_key) as the foreign key for those records.
Note that mysql_insert_id retrieves the last id on a per connection basis,
so if 20 people do a near-simultaneous insert each will receive a unique key.
You do NOT need to track the number of child records in table2, the key
will do the work. So if you want all the information for a given invoice,
fetch its master_key:
Select master_key, invoice_no, another_field from table1 where invoice_no =
'$invoice_no'
then after extracting that information,
Select * from table2 where table2.master_key = $master_key
Let SQL do the work, keep it simple, don't get bogged down in housekeeping.
I believe table locking is a bad idea on the web as dropped or slow
connections, browsers closed without a logout, and a host of other reasons
can leave a record locked and unavailable.
Regards - Miles Thompson
At 07:44 PM 7/10/2004, you wrote:
I have an orders with one main record in table1 ( client, date, e.t.c. ) and
detail description in table2 ( all materials with quant, price, e.t.c. )
and I save data in table1 for positions (range of id - autoinc field of
records in table2) for detailed data of order . And I don't want someone
else to insert data in table2, because will be a problem with orders.
Now I insert data first in table2 and then insert main record in table1 with
the range of id's of detail order data.
Could be some solution for this ?
Thanks in advance.
Rosen
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rosen wrote:
> > I need to be sure, thath nobody else will can write on some tables until
I
> > don't append obout 4-500 records in these tables.
> > But until now I never used table locking in MySQL and I didn't found
> > information about this ( like examples ).
>
> You could try a multi insert syntax such as
>
> INSERT INTO yourtable (a,b,c) VALUES (1,2,3),(4,5,6),(7,8,9);
>
> which will insert three rows into the table. Couldn't confirm in the
> manual, but this INSERT should run completely before anything else does.
>
> I still have to question _why_ another INSERT in the middle of your
> insertion will mess things up. Sounds like the problem is there.
>
> > Is there a problem with locking if PHP uses same user&pass for all users
in
> > database ?
>
> No. The LOCK is on a per connection basis and is not tied to the
> username and/or password.
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals � www.phparch.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi,
I have a query that returns lots of rows so I want to display the results in blocks of
25 or so on my web page and have forward and back buttons to navigate the results. Can
someone point me in the right directions please I have tried to look around for
something using google but cant think of a suitable search term!!!!
Thanks
Matt
--- End Message ---
--- Begin Message ---
I have a query that returns lots of rows so I want to display the
results in blocks of 25 or so on my web page and have forward and back
buttons to navigate the results. Can someone point me in the right
directions please I have tried to look around for something using
google but cant think of a suitable search term!!!!
I think "pagination" might be the term you're looking for. I'm pretty
sure there's a PEAR class which will help with this or you can check
PHPBuilder.com or Zend.com for articles on the subject.
Larry
--- End Message ---
--- Begin Message ---
Hi friends
I am now using the college's virtual web space. I have my working directary on that
SunOS/apache/PhP/Oracle/MySQL server. The question is that :
Can i create the Mysql database in my working directary??How?Also if
I dont want to set the password, who will be helping me?
Thanks!!
Levis
---------------------------------
Do You Yahoo!?
美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
100兆邮箱够不够用?雅虎电邮自助扩容!
--- End Message ---