it for administration and it worked in 80% of cases - sometimes
the request is just not sent.
Martin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Warning*: call_user_func_array()
[function.call-user-func-arrayhttp://localhost/mbpa/function.call-user-func-array]:
First argument is expected to be a valid callback, 'Array' was given in *
C:\xampp\htdocs\mbpa\classes\db.php* on line *45*
*Fatal error*: Call to a member function execute()
I have uncommented php_mysql.dll and set the right ext_dir in the php.ini,
and made certain that the actural dll does in the ext_dir,
You propably got the wrong php.ini. Under windows are severals of them.
Take that one mentioned in the apache configurations or that one in the
bin directory of
SELECT * FROM xxx WHERE primary_id=123 LIMIT 1
Is it useless (LIMIT 1) ?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bastien Koert napsal(a):
2009/6/3 Martin Zvarík mzva...@gmail.com:
SELECT * FROM xxx WHERE primary_id=123 LIMIT 1
Is it useless (LIMIT 1) ?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It doesn't do anything...you are already
Is it smart to use all of this on one page?
Or should I rather do one SQL and let PHP count it?
$q = $DB-q(SELECT COUNT(*) FROM comments);
$int_total = $DB-frow($q);
$q = $DB-q(SELECT COUNT(*) FROM comments WHERE approved IS NULL);
$int_waiting = $DB-frow($q);
$q = $DB-q(SELECT COUNT(*) FROM
This will work:
$sql =
SELECT admin.AdminID, workorders.WHAT_YOU_WANT
FROM admin
INNER JOIN workorders ON admin.AdminID=workorders.AdminID
HAVING admin.username='.$_SESSION['user'].'
;
Terion Miller napsal(a):
Hi Everyone! I am having problems getting an INNER JOIN to work and need
some tips
What I wrote with HAVING doesn't do any difference - replace back to WHERE.
Your query is OK.
Try: echo mysql_error();
And try to remove the condition WHERE admin.user... if that outputs
anything.
Martin
Terion Miller napsal(a):
Thanks Martin, oddly enough that still doesn't pull any
believe this is proving so hard..
Thanks for helping!
Terion
On Thu, Jan 29, 2009 at 12:55 PM, Martin Zvarík mzva...@gmail.com
mailto:mzva...@gmail.com wrote:
What I wrote with HAVING doesn't do any difference - replace back
to WHERE.
Your query is OK.
Try: echo mysql_error
and have
tried all manners of different ways to tell mySql
if admin ID = session user then get workorders where orderID = admin ID
On Thu, Jan 29, 2009 at 1:28 PM, Martin Zvarík mzva...@gmail.com
mailto:mzva...@gmail.com wrote:
Are you sure you have MORE than ONE [order + admin
Can you explain what does it have to do with Zend PHP Studio (the PHP
editor) ?
Fred Silsbee napsal(a):
I have Fedora 9/Apache 2/PHP 5.2.6
Everything is great but I cannot add the libraries for oci8 1.3.4 I have
in a directory.
The entries are grayed out.
I was getting an error
When I'm developing a number of pages and don't keep track of every
variable or form name (etc), I plant a print_r($_POST); at the top of
the page, so there's no guessing what gets sent to the page . . .
If you have an empty $_POST array, then the form isn't using
action=post, or you didn't code
putting the delimiter call in it's own query() call, but no
luck so far.
Thanks,
Andy
2008/10/8 Chris [EMAIL PROTECTED]:
Andrew Martin wrote:
Hello,
Is it possible to create a mysql function from php, or is it command line
only?
$db = get_db();
$a = $db-query( DELIMITER $$ );
echo $db
Right, problem's obvious really:
There's never any need to use delimiter in an API call, as
delimiters aren't used - separate calls are made instead. So the
following code works just fine:
$link = mysql_connect('localhost', 'root', 'pass');
mysql_select_db( 'test' );
$ret = mysql_query( 'DROP
Hello,
Is it possible to create a mysql function from php, or is it command line only?
$db = get_db();
$a = $db-query( DELIMITER $$ );
echo $db-error;
// You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near
Thanks Tim, this helped me a lot.
Martin
Tim Hawkins napsal(a):
If you are looking at future expansion then the separate DB per blog is
defiantly the way to go.
Some notes:
1) Avoid joins like the plague, in fact most operations on a blog
application would consist of getting primary
Have you tested this SQL query?
Insert it into phpmyadmin, does it work?
If it does = php error.
If it doesn't = mysql error.
boclair napsal(a):
I need help to track down the cause of the error,Could not run query
A typical query is
$laterrecords = mysql_query(SELECT * FROM messages WHERE
The quotes are OK.
Tested - works.
danaketh napsal(a):
Well, seems to me like a problem with quotes you're using in query...
The ` quotes you're using doesn't work, when I tried to use them in PHP
called query. Maybe you should try use single quotes and if they works.
boclair napsal(a):
I
- in this case, won't this be an issue
when SELECTing like this: [db_comments].testblog, [db_posts].testblog ?
Is that a controversial topic? :-/
Thanks for ideas,
Martin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the system - trying to imagine 1000
folders... is it a problem?
I supposed that on the third solution is based the optimized wordpress
(wordpress.com) - it does seem complicated, but better than having it
all in one database.
Martin
danaketh napsal(a):
Hi,
the first choice is probably
Lester Caine:
danaketh wrote:
Hi,
the first choice is probably the best for you. When you think about
second solution, it will be a nightmare when you have 1000+ databases
and have to administrate them from one central system (if you're about
to do it like this). The third solution looks
Subject: Re: [PHP-DB] Reading excel files
To: Andrew Martin [EMAIL PROTECTED]
Are your Excel files nicely organized by columns with column names?
On 9/16/08, Andrew Martin [EMAIL PROTECTED] wrote:
Hello,
Does anybody have experience with excel spreadsheet reader packages,
either free
Hello,
Does anybody have experience with excel spreadsheet reader packages,
either free or commercial? The old PEAR class is no longer maintained
and the current sourceforge-hosted reader fails to read files above a
certain size - I have attempted to debug it but to no avail. I have a
commercial
with some individual settings. Is there better idea?
I appreciate your discussion on this topic.
Martin Zvarik
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
articles = too many rows, but easy to search and maintain
I appreciate your discussion on this topic.
Martin Zvarik
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Can anybody shed any light on this behaviour please?
PHP Version 5.2.5 on XP
$a = 1754.00 ;
$b = 1754.03 ;
$diff = abs($b) - abs($a);
echo $diffbr/; //output: 0.03
$a = 1754.00 ;
$b = 1754.09 ;
$diff = abs($b) - abs($a);
echo $diffbr/; //output :0.08999
$a = 1754.01
Hello,
I'm looking at implementing a database-level stack for a (multi stack)
mail merge queue (able to queue up to 1 million messages per stack).
Current workflow:
server 1 (containing main db) transmits data sets (used to populate
mail merge template) to server 2
server 2 web-facing script
Hello,
Is it possible to serialize a MySQL(i) result resource? I am looking
to insert results into the eAccelerator cache but the returned
resource does not appear to be recognised by mysqli_fetch_assoc.
Thanks,
Andy
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
I've been trying to build PHP with the Front Base interface
on a 64 bit system. Can this be done or am I going to have
to go back to a 32 bit install?
--
http://blameitonlove.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
I have a company table and a contacts table. In the contacts table, there
is a field called companyID which is a link to a row in the company table.
What is the easiest way to query the company table for all the company rows
whose ID is NOT linked to in the contact
2007/2/16, bedul [EMAIL PROTECTED]:
i have problem with reading csv.. for i know the example script i get was
BASIC SCRIPT=
$handle = fopen(hasillab.csv, r);
$data2=$handle;
while($data = fgetcsv($handle, 1000, ,)){
foreach($data as $str)
$data2.=br=
transations.
Thanks.
--
Martin - http://925.dk
Shoot for the moon, even if you miss, you'll land among the stars.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in a script (using
FOR UPDATE and LOCK IN SHARE MODE), that looks like they are caused by
transactions not being rolled back (releasing locks) correctly.
--
Martin - http://925.dk
Shoot for the moon, even if you miss, you'll land among the stars.
--
PHP Database Mailing List (http://www.php.net
Hi,
In case the PHP script dies (from fatal error, die() or similar), is any
started transaction (BEGIN TRANSACTION) automatically rolled back
(ROLLBACK) by PHP then?
I can't find any documentation about this.
Thanks in advance for hints, links etc.
--
Martin - http://925.dk
Shoot
I have a friend called GROUP_CONCAT, he may know what you want but he's only
available since MySQL 4.1
2006/6/7, Blanton, Bob [EMAIL PROTECTED]:
It is a Sybase vendor function but I was wondering if mysql had
something comparable. I don't see anything in the manual. Maybe the
subquery is the
2006/5/12, JupiterHost.Net [EMAIL PROTECTED]:
Dwight Altman wrote:
Right after rebuilding php and apache and breaking PHP funtionality
for
everyone, just so you can send a semi complex MIME message? That is the
epitome of PHP's lameness and why I can't sit quietly by and not
recommend
2006/5/12, Martin Alterisio [EMAIL PROTECTED]:
...
I hate not having a proper application framework,
...
Sorry, there is a mistake there. I meant to say that I hate not having an
application server, although I also think currently available framework are
just not the way to go
2006/5/12, JupiterHost.Net [EMAIL PROTECTED]:
It's a fact that I can't deny any of the bad points you have exposed
about
PHP. I even agree with you that most of this problems are really awful
and
it's pointless to hide them. But the fact that PHP is by preference the
language for
2006/5/3, Nathan Heaps [EMAIL PROTECTED]:
Ok, scratch that, new problem. what can I replace (.*?) with in order for
php to recognise a multi-line quote/bold/italic/code/whatever?
By default the . pattern matches anything except a line break you can
either use ((?:.|\n)*) or add a modifier to
2006/5/4, Martin Alterisio [EMAIL PROTECTED]:
2006/5/3, Nathan Heaps [EMAIL PROTECTED]:
Ok, scratch that, new problem. what can I replace (.*?) with in order
for
php to recognise a multi-line quote/bold/italic/code/whatever?
By default the . pattern matches anything except a line break
2006/4/27, nikos [EMAIL PROTECTED]:
Hello list
I use the following code to shrink some photos.
$directory='/var/www/html/offroads/tmp/';
$dir=opendir($directory);
while($file=readdir($dir)) {
$dirfile=$directory.$file;
if(is_file($dirfile))
2006/4/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Skip Evans wrote:
Hello all,
I'm brand spanking new to the list and have a
quick question.
I was under the impression that addslashes() would
handle single quote marks in INSERT statements,
but when I execute the following:
1) Check that the string is not being truncated because of the column length
2) If you're seeing this data being truncated in the html output of your
site, check if it isn't being caused by outputing the data without properly
encoding special html characters.
3) . dunno
2006/4/25, Skip
2006/4/25, Skip Evans [EMAIL PROTECTED]:
Martin Alterisio wrote:
1) Check that the string is not being truncated because of the column
length
This was not it.
I was sure it wasn't but the first rule of debugging says never discard a
possible cause, no mather how dumb it may seem
2
from the
queries and it put a newline at the end of the output data.
Thanks everyone for the help with this.
-Original Message-
From: Oskar [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 1:59 AM
To: Mickey Martin; PHP db
Subject: Re: [PHP-DB] help with file downloads from MySQL
line:
echo TEST TEXT, $data;
When the file is saved, it begins with 0a followed by TEST TEXT and then the
start of the file without another instance of 0a.
Mickey
-Original Message-
From: Oskar [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 1:59 AM
To: Mickey Martin; PHP db
it is
configured today.
Thanks,
Mickey
-Original Message-
From: Giff Hammar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 3:50 PM
To: 'Mickey Martin'; 'Bastien Koert'; php-db@lists.php.net
Subject: RE: [PHP-DB] help with file downloads from MySQL
Can you use something like this (I haven't
Every time I try to download a file from MySQL it cannot be opened. Using
HexEdit, I noticed that all of the files are getting 0a added to the
beginning of them (happens with all browsers).
I can look at the files with MySQL Query Browser and they don't have the 0a.
Using php 4.3.11, Solaris 8,
@lists.php.net
Subject: RE: [PHP-DB] help with file downloads from MySQL
If you load the data into the field with addslashes, have you tried
stripslashes on the way out?
Bastien
From: Mickey Martin [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] help with file downloads from MySQL
Date
with file downloads from MySQL
If you load the data into the field with addslashes, have you tried
stripslashes on the way out?
Bastien
From: Mickey Martin [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] help with file downloads from MySQL
Date: Tue, 21 Mar 2006 12:55:56 -0600
Every time I
, March 21, 2006 2:07 PM
To: [EMAIL PROTECTED]; php-db@lists.php.net
Subject: RE: [PHP-DB] help with file downloads from MySQL
If you load the data into the field with addslashes, have you tried
stripslashes on the way out?
Bastien
From: Mickey Martin [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject
, emailing it to the client, then merging it with the cc_file to
¿emailing a file with cc numbers? I would never use a service if I
knew that my cc number would go in an excel file via email, but thats
just me. Check the thread for some sobering remarks about cc security.
Martin
--
PHP Database
readable MSSQL
option being passed in the SQL.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-Original Message-
From: Alex
ideas? please help,
cheers, martin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=check[1] value=someValue2nbsp;Some
Value 2
input type=checkbox name=check[2] value=someValue3nbsp;Some
Value 3
(although a little more unique would be clearer :) )
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email
/etc. that change once a month, cache them
globally somewhere and don't keep requesting them so often) - there may
not be any such data, but then again, there may be.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within
I think he's looking for str_replace() / preg_replace() or sprintf() or
similar
http://www.php.net/str_replace
http://www.php.net/preg_replace
http://www.php.net/sprintf
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained
more effort than the separate columns method.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-Original Message-
From: Ng
form action=?php tpl($_SERVER['REQUEST_URI']) ? method=post
enctype=multipart/form-data
Beyond that it's just the $_FILES array and $_POST array.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do
.
:)
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-Original Message-
From: Rui Cruz [mailto:[EMAIL PROTECTED]
Sent: Friday
enabled. (which is defaulted to off since php
4.2.0).
Hit up http://www.php.net/ 's documentation for more on this.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St
' - insert into foo (bar) values
('this isn't going to work.');
might I suggest starting with addslashes()
Cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
dir=ltr
... Not necessarily.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach
Don't mix mysql_ functions with mysqli_ functions, and you'll have much
greater successes.
$dbcon = mysql_connect( 'localhost', 'root', 'password', 'database_name'
);
should be
$dbcon = mysqli_connect( 'localhost', 'root', 'password',
'database_name' );
Cheers,
- Martin Norland, Sys
: );
print_r($video);
}
I have 6 items on the page so I can hardcode ?=$id1? for item 1 and
Instead, use ?=$videos[0][video_description]? and so on.
And use ?php instead of ? just to be safe :)
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
.
It's in the docs in the variables section..
I couldn't have suggested a better place to get sorted out on all this -
Chris: browse the docs some, best way to wrap your head around things -
and the comments at the bottom tend to have useful real-world examples.
cheers,
- Martin Norland, Sys Admin
to get the rows.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
Hutchins, Richard wrote:
Marco,
Have you tried echoing out
such bytes into insert command. But prints full variable.
Is there some way to make it working? Use multibyte? I tried to use mb_
functions but without efect.
For now I made it working by increasing the size of the name and the
surname columns in the DB.
Regards,
Martin Edlman
--
PHP Database
Incidentally - I *think* in some of these he's actually answering
questions, but they must be fairly old, I archive every two months or so
and I don't see any matches in my current.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained
Would'nt the simplest just setting one of the rows as UNIQUE? Or you can add
one query that checks if one of the values already exists in the database.
Best regards,
Martin
-Original Message-
From: Hallvard [mailto:[EMAIL PROTECTED]
Sent: 30. juli 2005 12:17
To: php-db@lists.php.net
,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
[EMAIL PROTECTED] wrote:
We have a table with contacts and we need to determine if someone's
sometimes, unfortunately.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List (http://www.php.net
) O/S machine, a box.
it's just OS - it's an abbreviation, not O/S like O/S 2.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital
, it's possible it's something else entirely - but something
should be logged when the pages bail out like that.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St
nikos wrote:
Thank you Martin
I install new gd, reconfigure php and now is running OK.
But, it was a mass to realize that shortening gifs results to loss
transparency(!).
[snip]
imagecolortransparent()
That function will set the transparent color in an image (only one per
image). If you
.
* funny, since gd stood for 'gif draw' originally.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List
with:
mysql -u root -p -S/var/lib/mysql/mysql.sock
chances are you need to tell php where your mysql socket is (through
php.ini).
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those
,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
[EMAIL PROTECTED] wrote:
C:\mysqldump --version
mysqldump Ver 9.09 Distrib 4.0.16, for Win95/Win98 (i32)
[snip]
Ummm. What version are you using, Martin?
David
fairly fresh I'm afraid.
mysqldump Ver 10.9 Distrib 4.1.9, for pc-linux-gnu (i686)
your grep generates... interesting
always
differs from their initial) earlier rather than later. Bottom line is
this is probably a new request, but you may have to eat it depending on
your situation / relationship / contract.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
to re-remove everything. When all is
said and done check your php.ini, in case it has remaining lines
pointing at wrong libs/etc.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily
for. The only solution is to use different names for the
javascript variables describing/referring to your form/other elements.
h8_ie_nothing = MM_findObj(nothing);
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do
)?
no. (but the line with the include() call counts normally
3. are d parts of the file that are not in php (i mean that are not contained
within the php delimeters) also counted?
yes.
in short, it's the line number of the script as if it were a plain text
file.
cheers,
--
- Martin Norland
John R. Sims, Jr. wrote:
Martin; I have taken your advice and read both of the articles, but
unfortunately I have not been able to find what needs to be changed. As I
mentioned, I am very new at this.
Could you possibly look at the script and point me in the right direction?
[snip]
/head
John R. Sims, Jr. wrote:
Martin; I have taken your advice and read both of the articles, but
unfortunately I have not been able to find what needs to be changed. As I
mentioned, I am very new at this.
Could you possibly look at the script and point me in the right direction?
[snip]
/head ?php
)?
no. (but the line with the include() call counts normally
3. are d parts of the file that are not in php (i mean that are not contained within the php delimeters) also counted?
yes.
in short, it's the line number of the script as if it were a plain text
file.
cheers,
--
- Martin Norland, Sys Admin
or
not the servers can always be on. Is it possible to have a delay on the
updating of information - to have a master server for the writes, and
local slave servers at each site for just reads - or are writes too
common a change?
Cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer
, and might be
better off looking for a new host or setting up php5 on your current
host (either you or them installing it, more likely you'll have to if
it's even allowed).
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within
be
turned into function calls or classes and called from Page4.php. You
don't need to separate logic and display in separate scripts that you
push everything at, just separate your logic out into function calls.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Martin Norland wrote:
include() :P
seriously though, Page1.php and Page4.php are the only two pages that
should exist, if any. Page2 and Page3 should pretty much guaranteed be
turned into function calls or classes and called from Page4.php. You
don't need to separate logic and display
could also
just alias it / etc.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List (http://www.php.net
.
Once that's all fixed, go to step 5.
5) rewrite all the database accesses to prevent people from doing sql
injection attacks and ruining everything.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email
(and how your backend is written) could throw someone or something
into a state of confusion.
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research
,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
, it's happened before.
Incidentally, why does PHP need:
Professional Services Automation
Personal Security Advisor
Public Safety Announcement
Python Software Activity
Port Scan Attack
( 3 letter abbreviations are way too crowded :P )
cheers,
--
- Martin
kind of header,
wrapper, server-side include, or anything around the script - or perhaps
you're making use of output buffering and the server isn't allowing its use?
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within
,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
then have two copies of
your entire data. If you need to pull your whole set of results out
into an array, you can immediately use pg_free_result() or
mysql_free_result() afterwards to free up the copy using memory in the
database.
cheers,
--
- Martin Norland, Sys Admin / Database / Web
you cater your output more to be predictable. Also, remember to
account for htmlentities if that's an issue, = amp;, etc. Really
not a fun solution to entertain, IMO.
Good luck!
cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s
mel list_php wrote:
Thank you very much!
[snip]
I didn't get the base tag though, what does that mean?
It was merely a cautionary warning about sites that force a base href
for relative URIs (including, of course, URLs)
See: http://www.w3.org/TR/html4/struct/links.html#h-12.4
cheers,
--
- Martin
1 - 100 of 427 matches
Mail list logo