On Tue, Feb 26, 2008 at 3:11 PM, revDAVE [EMAIL PROTECTED] wrote:
Rather than bug folks on this cool list for beginner questions - does anyone
know of a good PHP Newbie email List?
php-general@lists.php.net
You're in the right place. ;-)
There are forums elsewhere around the
On 2/26/08, revDAVE [EMAIL PROTECTED] wrote:
Rather than bug folks on this cool list for beginner questions - does anyone
know of a good PHP Newbie email List?
The newbie list idea was shot down multiple times over the years. Ask here.
--
Greg Donald
http://destiney.com/
--
PHP General
On Feb 26, 2008, at 3:11 PM, revDAVE wrote:
Rather than bug folks on this cool list for beginner questions -
does anyone
know of a good PHP Newbie email List?
Hi revDAVE,
I know of no better resource for PHP related help then this lists... I
have learned everything I have from these
revDAVE [EMAIL PROTECTED] wrote:
Rather than bug folks on this cool list for beginner questions - does anyone
know of a good PHP Newbie email List?
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]
We're glad to help around here, just realize that none of us are going to
On Tue, Feb 26, 2008 at 3:30 PM, Wolf [EMAIL PROTECTED] wrote:
Sometimes that extra set of eyes helps to find the dangling or missing ';'
better then staring at the code for hours... (I think we've all been here at
some point).
Speak for yourself. My code is always 100% spotless,
On Feb 26, 2008, at 3:30 PM, Wolf wrote:
revDAVE [EMAIL PROTECTED] wrote:
Rather than bug folks on this cool list for beginner questions -
does anyone
know of a good PHP Newbie email List?
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]
We're glad to help around here, just
At 12:11 PM -0800 2/26/08, revDAVE wrote:
Rather than bug folks on this cool list for beginner questions - does anyone
know of a good PHP Newbie email List?
--
Thanks - RevDave
Welcome.
We're used to bugs. Besides, we're all beginners in something.
So, ask away -- we'll be more than happy
On 2/26/08, Daniel Brown [EMAIL PROTECTED] wrote:
Speak for yourself. My code is always 100% spotless, efficient,
and runs the first time, completely bug-free, every single time, as it
has for years.
Well, in Ruby on Rails, it has this.. nevermind.
--
Greg Donald
Timothy Murphy escribió:
I've been trying some of the programs
in the PHP manual at http://www.php.net/manual/en/
in chapters CLXXXI and CLXXXII to work, for example
// Example 2519. Creating an XSLTProcessor
?php
$xml_filename = collection.xml;
$xsl_filename=
David Doonan wrote:
I'm having trouble getting the correct results on a display page.
The first query is pulling the name of active authors from the d/b and
sending a request to only return essay titles by the requested author.
The list page however is displaying essay titles by all
On Apr 8, 2006, at 11:24 AM, John Hicks wrote:
So your solution is this: Include a PHP variable in your SQL query
to specify which author you want to select.
You probably want something like this:
WHERE
Author.Author_Name = Writings.Author_Name
AND
Author.ID = '$MySelectedAuthorID'
(but
David Doonan wrote:
On Apr 8, 2006, at 11:24 AM, John Hicks wrote:
So your solution is this: Include a PHP variable in your SQL query to
specify which author you want to select.
You probably want something like this:
WHERE
Author.Author_Name = Writings.Author_Name
AND
Author.ID =
On Apr 8, 2006, at 12:55 PM, John Hicks wrote:
$recordID = $_GET['recordID'];
Note that your request URL has a value for 'ID' whereas your
program is looking for a value for 'recordID'.
Changed above to:
$recordID = $_GET['ID'];
And all was right with the world.
Thanks John!
david
--
On 4/9/06, David Doonan [EMAIL PROTECTED] wrote:
I'm having trouble getting the correct results on a list page.
The first query is pulling the name of active authors from the d/b
and linking to a list page that is supposed to return essay titles by
the requested author. The list page however
David Doonan wrote:
I'm having trouble getting the correct results on a list page.
The first query is pulling the name of active authors from the d/b and
linking to a list page that is supposed to return essay titles by the
requested author. The list page however is displaying essay
On Sat, April 8, 2006 10:12 am, David Doonan wrote:
I'm having trouble getting the correct results on a list page.
The first query is pulling the name of active authors from the d/b
and linking to a list page that is supposed to return essay titles by
the requested author. The list page
This should get you started:
$old_data = file_get_contents('./test.txt');
$my_data = foo bar;
$pattern = '/(.*)(\/.*)$/i';
$replacement = '$1' . $my_data . '$2';
$new_data = preg_replace($pattern, $replacement, $old_data);
echo $new_data;
or a little more succinctly
$my_data = foo bar;
This should get you started:
$old_data = file_get_contents('./test.txt');
$my_data = foo bar;
$pattern = '/(.*)(\/.*)$/i';
$replacement = '$1' . $my_data . '$2';
$new_data = preg_replace($pattern, $replacement, $old_data);
echo $new_data;
or a little more succinctly
$my_data = foo bar;
I have an xml document storing some data I need. What I want to do is this:
1. Scan to the end of the file.
2. Find the closing tag.
3. Insert a new entry in before the closing tag.
There are specific classes and functions in the PHP core that can help
you do just this.
I've tried:
1.
PHP5:
http://php.net/manual/en/ref.dom.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Do a select query with a COUNT() in it
if you dont understand that read the php manual for accessing the database
and lookup the mysql COUNT
-Ryan
On 2/16/2004 1:35:42 AM, PETCOL ([EMAIL PROTECTED]) wrote:
PHP Newbie,
I'm trying to find out if a username already appears in my
PETCOL wrote:
PHP Newbie,
I'm trying to find out if a username already appears in my database.
I have two users in my table, one is colin so when I enter a username of
colin I would normally under ColdFusion anyway just to something like:
cfif $query_qUsername.RecordCount GT 0
User already
* Thus wrote Dennis Dujan - Partycult.de ([EMAIL PROTECTED]):
Hi,
can you tell me how is it possible to connect to a linux shell via PHP?
Ok, i suppose I should reply to this before you ask the same
question with less details, again.
Please be a little more specific in your question, like what
Ok thank you very much
-Ursprungliche Nachricht-
Von: Chris Kay [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 25. August 2003 01:37
An: 'Dennis Dujan - Partycult.de'
Betreff: RE: [PHP] php NEWBIE Question
Try http://au.php.net/manual/en/function.fsockopen.php
If your looking
Hi,
Sunday, March 16, 2003, 10:52:49 AM, you wrote:
RD Hi ... PHP newbie here.
RD I'm migrating from ASP/vbScript.
RD I'd like to set up a subroutine that will change several variables at once.
RD In VB, I can say:
RD Private Sub Change_Variables ($variable1, $variable2)
RD $variable1 =
http://www.php.net/manual/en/tutorial.php
Bryan Cassidy wrote:
This might sound stupid but what the hell. I am running Red Hat 8.0
with Apache. I have apache working fine right now. I am wanting to
learn some php but really don't know where to start/look or anything
to tell the truth. I do
Steps:
1. Install PHP. Already installed?
2. make a file accessible via browser and call it test.php
3. put this into it:
?
echo Hello Worldbr;
phpinfo();
?
4. Now, access that file.
If you see Hello World outputted followed by a long blue-gray
To test your PHP scripts you do need a server with PHP. It's very easy
to setup one on to you local machine + there is many completely free
ones.
Niklas
-Original Message-
From: Fady Fouad Shehata [mailto:[EMAIL PROTECTED]]
Sent: 31. joulukuuta 2001 4:34
To: [EMAIL PROTECTED]
To design, you just need a text editor (or html editor)
Martin
At 13:24 02.01.02 +0200, Niklas Lampén wrote:
To test your PHP scripts you do need a server with PHP. It's very easy
to setup one on to you local machine + there is many completely free
ones.
Niklas
-Original
Yep, but you can't do much without testing your scripts.
Niklas
-Original Message-
From: Martin Schichl [mailto:[EMAIL PROTECTED]]
Sent: 2. tammikuuta 2002 13:37
To: [EMAIL PROTECTED]; Php-General
Subject: RE: [PHP] php newbie
To design, you just need a text editor (or html editor
I use PHP Coder (http://www.phpide.de ) which has been changed to Maguma
PHP4EE Studio.
http://www.maguma.com/english/welcome.html There's a Light and a Pro
version. The Light version is free
-Jon
-Original Message-
From: shaun murphy [mailto:[EMAIL PROTECTED]]
Sent:
If you use Dreamweaver under MacOS I suggest to take a look at BBedit from
BareBones (www.versiontracker.com or www.barebones.com).
Under Windows I currently use UltraEdit which fits quite fine but needed a
few changes to the wordlist.txt which is responsible for syntax-highlighting
(if you want
hi!
Thanks for replying so quick. I use win2000 and have ultraedit so BBedit
isnt really an option.
Stefan Rusterholz [EMAIL PROTECTED] wrote in message
02cf01c17caf$bac57bb0$3c01a8c0@quasimodo">news:02cf01c17caf$bac57bb0$3c01a8c0@quasimodo...
If you use Dreamweaver under MacOS I suggest to
I'd suggest Homesite:
http://www.macromedia.com/software/homesite/
-Original Message-
From: shaun murphy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP newbie alert
Hello!
Being one not to refuse a challenge, I have been
Being one not to refuse a challenge, I have been asked to administer and
update a PHP based website. I was wondering what a good editor is for such a
task. I have been having a look at Dreamweaver as I use that quite a lot but
are there any extensions I should be using?
If you don't want
On Tue, 2001-12-04 at 05:25, shaun murphy wrote:
Hello!
Being one not to refuse a challenge, I have been asked to administer and
update a PHP based website. I was wondering what a good editor is for such a
task. I have been having a look at Dreamweaver as I use that quite a lot but
are
EditPlus2, there might be a newer version, trial never runs out.
HomeSite 4.5, there is a Macromedia version, 60 day trial, very very worthwhile for a
purchase.
--- Andrew Forgue [EMAIL PROTECTED] wrote:
On Tue, 2001-12-04 at 05:25, shaun murphy wrote:
Hello!
Being one not to refuse a
Okay, you brought it up ! ;-)
EMACS.
If you use Unix, then this is your supersuite. This is your Microsoft
Office for plaintext editors.
Pros:
Easier to learn than vi
Many man many many many features
Supercustomizeable
Integrates tightly with Unix operating system
Cons:
A little on the
HomeSite is up to version 5. I use it primarily for the built-in FTP
client, which makes website maintenance very, very easy.
At 05:06 PM 12/4/2001, you wrote:
EditPlus2, there might be a newer version, trial never runs out.
HomeSite 4.5, there is a Macromedia version, 60 day trial, very very
On Mon, 12 Nov 2001 15:16, Scott Dudley wrote:
i'm new to php and need some advice. i have a site currently composed
of static pages generated via a c program. i want to convert the site
to php. the first page is an explorer-like table listing summary
information. when a user clicks on a
Hi,
i created a helloworld php file and put it in my
inetpub/wwwroot/php folder and then tried to display
it in the browser but all i saw was my html code.
Can someone help please?!
You'll need to configure IIS to parse your PHP files. Use the instruction
below.
If you wonder which one to
[snip]
for ($index = 0; $index sizeof($books); $index++)
{
$book_data_file = fopen("$thisdir/$books[$index]/book_info.dat", "r");
echo "pOpened $thisdir/$books[$index]/book_info.dat/p";
$book_data_in = fread($book_data_file, filesize($book_data_file));
Hi John,
@ 2:01:49 PM on 2/7/2001, [EMAIL PROTECTED] wrote:
Please bear with me for a moment. I am new to PHP work, but have
over 10 years experience in various other programming languages
including C/C++
I'm just getting really frustrated here, and i'm hoping its a simple
mistake. What
evaluated to "", or 0 if compared to
numbers, false if compared to boolean.
-Jrg
-Original Message-
From: Neil Zanella [mailto:[EMAIL PROTECTED]]
Sent: 10. januar 2001 19:33
To: Toby Butzon
Cc: PHP General Mailing List
Subject: Re: [PHP] PHP newbie question
On Wed, 10 Jan 200
- Original Message -
From: "Neil Zanella" [EMAIL PROTECTED]
To: "Hsieh, Wen-Yang" [EMAIL PROTECTED]
Cc: "PHP General Mailing List" [EMAIL PROTECTED]
Sent: Wednesday, January 10, 2001 1:11 PM
Subject: Re: [PHP] PHP newbie question
On Wed, 10 J
45 matches
Mail list logo