PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > href with php how do
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
href with php how do

Réponse
 
LinkBack Outils de la discussion
Vieux 19/09/2007, 13h41   #1
canyigitli
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut href with php how do

hi

when i click a link;

i want to open any page and sametime been any event( for ex. include
any picture in a cell of table)

sory isn't clear english

  Réponse avec citation
Vieux 19/09/2007, 14h03   #2
Lammi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: href with php how do

On 19 Sep., 14:41, canyigitli <canyigi...@hotmail.com> wrote:
> hi
>
> when i click a link;
>
> i want to open any page and sametime been any event( for ex. include
> any picture in a cell of table)
>
> sory isn't clear english


i think you wanna open a new browser window and change something on
your current page at the same time? that's javascript, not php.

  Réponse avec citation
Vieux 19/09/2007, 14h11   #3
Shelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: href with php how do


"canyigitli" <canyigitli@hotmail.com> wrote in message
news:1190205706.059970.204760@n39g2000hsh.googlegr oups.com...
> hi
>
> when i click a link;
>
> i want to open any page and sametime been any event( for ex. include
> any picture in a cell of table)
>
> sory isn't clear english
>


I'm not sure of what you are asking, but there are two possibilities as I
see it.

First One:
When the page loads, you want things to happen before it appears to the user
as a finished page. That is easy. Simply put all the logic you want before
the <html> section and enclose it in the <?php ?> section. You can set
variables that can be used in the html area by simply enclosing that logic
there within <?php ?>.

Second One:
When you want to navigate to a new page, you want things to happen first
before the navigation. Well, you can do this either with a Javascript, or
by having the button do a submit, test for that button being activated with
isset($_POST['thatbutton']), do your logic and then use header("Location:
newpageurl");

Hope that s.

Shelly


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h50.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07414 seconds with 11 queries