On Wed, February 28, 2007 3:24 am, Delta Storm wrote:
> I'm building an CMS system (for practice and experience :)).
>
> And of course like many times before I have encountered a problem.
>
> The problem is:
>
> I have a index.php that takes the news from the database and publishes
> them. And by t
> -Message d'origine-
> De : tedd [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 février 2007 15:54
> À : Delta Storm; php-general@lists.php.net
> Objet : Re: [PHP] ID problem
>
> At 10:24 AM +0100 2/28/07, Delta Storm wrote:
> >The problem is:
>
> -Message d'origine-
> De : Delta Storm [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 février 2007 10:24
> À : php-general@lists.php.net
> Objet : [PHP] ID problem
>
> Hi,
>
> I'm building an CMS system (for practice and experience :)).
>
At 10:24 AM +0100 2/28/07, Delta Storm wrote:
The problem is:
I have a index.php that takes the news from the database and
publishes them. And by the end of every news on index.php I have a
link ('Show full news')
Yep, that may be the problem -- try:
Show full news
Cheers,
tedd
--
---
2007. 02. 28, szerda keltezéssel 10.24-kor Delta Storm ezt írta:
> Hi,
>
> I'm building an CMS system (for practice and experience :)).
>
> And of course like many times before I have encountered a problem.
>
> The problem is:
>
> I have a index.php that takes the news from the database and pub
Hi,
I'm building an CMS system (for practice and experience :)).
And of course like many times before I have encountered a problem.
The problem is:
I have a index.php that takes the news from the database and publishes
them. And by the end of every news on index.php I have a link ('href="show
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Tuesday, April 04, 2006 4:14 AM
Subject: Re: [PHP] ID-tags from picture?
Gustav Wiberg wrote:
Hi guys!
If I've got
Gustav Wiberg wrote:
Hi guys!
If I've got this right, there will be some kind of tag that is saved in
a picture (hidden). Is it possible to retrieve this information from PHP
and what it is called? Any ideas / suggestions would be approciated!
Depends on what information you are after.
Some
Hi guys!
If I've got this right, there will be some kind of tag that is saved in a
picture (hidden). Is it possible to retrieve this information from PHP and
what it is called? Any ideas / suggestions would be approciated!
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To
On Saturday 28 January 2006 18:20, David Hall wrote:
> Uh, sorry to disappoint, but that's a description of the form element,
> not of the input element or select input.
Right.
> In fact, if you go to
>
http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.4.2
> , you will see
Niels wrote:
name = cdata [CI]
This attribute names the element so that it may be referred to from style
sheets or scripts. Note. This attribute has been included for backwards
compatibility. Applications should use the id attribute to identify
elements.
Uh, sorry to disappoint, but that's
On Saturday 28 January 2006 16:47, Jason Petersen wrote:
> HTML Forms should always use the NAME attribute to pass values, never ID.
> You can use print_r($_REQUEST); at the top of your script to debug.
>
Thank you for your answer. W3C says:
[http://www.w3.org/TR/html4/interact/forms.html]
nam
On 1/28/06, Niels <[EMAIL PROTECTED]> wrote:
when making an input field for submission from a form, I need to put a
> name='something' in it. For CSS I often use an id='something'. Some
> browsers apparently submit the field properly if name is missing and id is
> present. Others might not. Can an
Hi,
when making an input field for submission from a form, I need to put a
name='something' in it. For CSS I often use an id='something'. Some
browsers apparently submit the field properly if name is missing and id is
present. Others might not. Can anyone tell me about what browsers do what?
Than
On Tue, Dec 20, 2005 at 02:12:43PM +0800, Anasta wrote:
> I have a script which outputs a movie title, rating and the ID number
> (below).
> The ID number is also used in the admin section as a select for update and
> delete.
>
> The problem i have is that as i delete certain entries then the nu
I have a script which outputs a movie title, rating and the ID number
(below).
The ID number is also used in the admin section as a select for update and
delete.
The problem i have is that as i delete certain entries then the number
sequence on the display page has missing numbers--is there a w
D]>
Sent: Sunday, October 09, 2005 4:37 PM
Subject: Re: [PHP] ID from lines?
This one time, at band camp, "Gustav Wiberg" <[EMAIL PROTECTED]> wrote:
Line #3 : NH01<><>LiteOn DVD±RW
16<>725<>http://www.varupiraten.se/web/spec_product.php
- Original Message -
From: "Al Hafoudh" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Sunday, October 09, 2005 4:38 PM
Subject: Re: [PHP] ID from lines?
/ID=([0-9]*)\
Thanx!
/G
@varupiraten.se
Gustav Wiberg wrote:
Hi there!
H
Hi there!
How do I get ID number from these lines? Do I have to use regular
expressions?
Line #3 : NH01<><>LiteOn DVD±RW
16<>725<>http://www.varupiraten.se/web/spec_product.php?ID=1711<>PC-CD-DVD-LDW-1653S-09C<>1<>
Line #4 : NH01<><>LITEON
8x<>725<>http://www.varupiraten.se/web/spec_product.
> Auugh!! Why would you want to do this? You're flying in the face of
> relational database theory and practice. Position of a record in the table
> is, or should be irrelevant.
Agreed - "position" is a notional concept. The data is stored physically in
some sort of order, but what order that is
Auugh!! Why would you want to do this? You're flying in the face of
relational database theory and practice. Position of a record in the table
is, or should be irrelevant.
What if you have twenty thousand records, or two hundred, and the 45th
record in the table is deleted? Fetching an ID f
You could LIMIT your query to the record number you are looking for, and
grab the last element in the array from your result set. But this is a
serious hack, and I am really wondering why you need to do what your asking,
it seems (without knowing more) that you are tackling the problem in the
w
Gustav Wiberg wrote:
Hi there!
Is there any function in PHP that gives an ID from a MySQL-db based on
which position the record has in the table?
Let's say, there's a table like this:
1. Record1 ID 33
2. Record2 ID 76
3. Record3 ID 100
If I know position 2, I want to get ID 76. Is the only
Hi there!
Is there any function in PHP that gives an ID from a MySQL-db based on which
position the record has in the table?
Let's say, there's a table like this:
1. Record1 ID 33
2. Record2 ID 76
3. Record3 ID 100
If I know position 2, I want to get ID 76. Is the only way to loop through
Yours ID rtvfrh
--
Thank
<>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Roland Tarver [mailto:[EMAIL PROTECTED]
> Sent: 28 May 2003 10:07
>
> I've got a question about about naming html components (text fields,
> select boxes etc) when submitting a form to a php page.
> First I tried identifying an element using the "id" attribute
PHP uses only the 'name' attribute of an element to assign the variable to.
You can use 'id' and 'name' together, but the two are different, for instance no two form
elements should have the same 'id', but depending on multiform pages with similar inputs,
an identical 'name' attribute could be u
Hi
I've got a question about about naming html components (text fields,
select boxes etc) when submitting a form to a php page.
First I tried identifying an element using the "id" attribute and found
that it was not being posted to the php page. When I use the "name"
attribute it did get posted
Sent: Tuesday, March 26, 2002 7:53 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] ID NUMBER HELP
Can someone help me with this. I'm trying to get ?id= set to the id
number
of the name in the database. I can get ?id="THE NAME" but I can't get it
to pick up the id numbe
Can someone help me with this. I'm trying to get ?id= set to the id number
of the name in the database. I can get ?id="THE NAME" but I can't get it
to pick up the id number. here is the code i"m trying:
while($row = mysql_fetch_array($result))
{
printf("%s\n", $PHP_SELF,
On Monday, March 4, 2002, at 02:25 AM, Rasmus Lerdorf wrote:
> Do a phpinfo() and check to see if you perhaps have a cookie with the
> name "id" set with the value "1". If your look at variables_order in
> your
> php.ini file, you will see that cookie data will override get-method
> data.
>
Do a phpinfo() and check to see if you perhaps have a cookie with the
name "id" set with the value "1". If your look at variables_order in your
php.ini file, you will see that cookie data will override get-method data.
To force a read from the GET data, use $_GET['id'] instead of $id.
-Rasmus
Ive just found a rather weird bug that im experiencing. Im running PHP 4.1.2
with Apache 1.3.23 on Linux Redhat 7. When ever I try and use variable $id
it always has a value of 1 no matter what. It only does it if its in a get,
think a post too. I can hard code it in a script and itll have a corre
On 2/20/01 1:08 AM this was written:
> when poeple sign up to my site, how can i make a code that finds if
> there username is already in the database?
Um... Search for it.
$findit = mysql_query("Select username from usertable where username =
'$inputted_username'");
If (mysql_num_rows($findit)
when poeple sign up to my site, how can i make a code that finds if
there username is already in the database?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mai
> $sql = "INSERT INTO songs (id,name,url) VALUES
> ('','Foobar','test.php?id=)";
>
> The id is autoincrement so obviously left blank, yet I'd like to put it into
> the url where is.
>
> How do I go about dragging back the id even though it is being created (I
> suppose) while the statement is
:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 10:17 AM
To: [EMAIL PROTECTED]
Subject:[PHP] ID value
Hi,
I wonder whether anyone can shed some light onto this for me...
Say I have this example insert:
$sql = "INSERT INTO songs (id,name,url) VALUES
('','
Hi,
I wonder whether anyone can shed some light onto this for me...
Say I have this example insert:
$sql = "INSERT INTO songs (id,name,url) VALUES
('','Foobar','test.php?id=)";
The id is autoincrement so obviously left blank, yet I'd like to put it into
the url where is.
How do I go about d
38 matches
Mail list logo