473,327 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

CDR Tools and syntax

I am new to php and am learning under fire. I am trying to figure out
what variable the following line is looking for. I know what it is
trying to do, but can't figure out where it is trying to call it from.

<form action="<?php print $this->url() ?>" method=post>
Jul 17 '05 #1
2 1404
Robert Ward wrote:
I am new to php and am learning under fire. I am trying to figure out
what variable the following line is looking for. I know what it is
trying to do, but can't figure out where it is trying to call it from.

<form action="<?php print $this->url() ?>" method=post>


hint, if you are using the same PHP file like this you only need:

<form method=post> and it defaults to the current URL.

Somewhere near the bottom of your page insert

<?php php_info(); ?>

look at the url information.

--
Michael Austin.
Consultant - Available.
Donations welcomed. Http://www.firstdbasource.com/donations.html
:)
Jul 17 '05 #2
"Robert Ward" <rw******@sbcglobal.net> wrote in message
news:9l********************************@4ax.com...
I am new to php and am learning under fire. I am trying to figure out
what variable the following line is looking for. I know what it is
trying to do, but can't figure out where it is trying to call it from.

<form action="<?php print $this->url() ?>" method=post>


This appears to be code inside a class definition. It is saying that it
should execute the url() function of the current object (created from this
class definition) to get the URL to use as the target of your form. Look
through the class definition for a url() function and/or look through the
class defintion of whatever class the current class extended. See the
"extends" clause near the the top of the class definition to see what class,
if any was inherited.

- Virgil
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Bart | last post by:
What is the best tool to develop a php-website ? I used Macromedia Dreamweaver MX and Zend Studio. Are there better tools ? Bart
0
by: Jeffrey Millar | last post by:
I was curious if anyone knew of a tool or class that will parse a .reg file and convert the syntax to a .inf file format? Thanks, Jeff M.
3
by: GeorgeAtkins | last post by:
I am using VS2003 and VB.NET. My project is to locate book titles within a library collection exported into an XML file and edit quiz information related to that book's library record. The "quiz...
3
by: R Reyes | last post by:
Just wondering if anyone knows the pros/cons between creating a database programmatically vs using the application's tool windows/features that come with SQLServer, Access, Oracle, etc... Is it...
18
by: Brandon Bray [MSFT] | last post by:
Shortly, the Visual C++ Tools Refresh will be available on the MSDN Visual C++ devcenter. You will need to have installed the Visual Studio 2005 Beta first. <http://msdn.microsoft.com/visualc> I...
15
by: Simon Cooke | last post by:
Does anyone know of any tools for refactoring header files? We're using a third party codebase at work, and pretty much every file includes a 50Mb precompiled header file. I'm looking for a tool...
19
by: dba_222 | last post by:
Dear Experts, I've worked with Oracle since 1995. I have gone very deep into many of the Oracle features, including sqlloader, and export/import. And I've done data modelling even longer. ...
1
by: =?Utf-8?B?TmV0aGVzaA==?= | last post by:
How I can migrate a Product/Application which is completely developed using Visual Bacic 6.0 to ASP.Net without writing the ASP.Net Code from Scratch. Concerened over time I am forced to use any of...
13
by: Akhenaten | last post by:
Just wondering what the gurus like to use for the favorite tools (syntax checkers, etc.). I recently downloaded Rapid PHP and it's obviously better than notepad or vi but I was curious as to what...
10
by: bob | last post by:
I was just wondering what tools most people use for editing their web pages.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.