PHP Syntax.
Moderator: General Moderators
PHP Syntax.
I want to convert the following HTML to PHP but I don't quite know how. Could someone please post some tips. Thanks...
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()"><?=substr($message_2,0,30)?></td>
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()"><?=substr($message_2,0,30)?></td>
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
I don't get it, it looks fine to me?
Another way of doing would be
;quote;hidetip()">'.substr($message_2,0,30).'</td>'; g would be
nt,\''.$message_1.'\')" onMouseout="hiing would be
uote;showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>'; [p(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>'; [/php:1: looks fine to me?
Another way of doing would be
?
Another way of doing would be
ge_2,0,30).'</td>'; ;quote;>'.substr($message_2,0,30).'</td>'; .'</td>'; amp;lt;td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()"> looks fine to me?
Another way of doing would be
Another way of doing would be
()">'.substr($message_2,0,30).'</td>'; r way of doing would be
be
amp;quote;showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>'; looks fine to me?
Another way of doing would be
lt;td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>'; seover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>'; looks fine to me?
Another way of doing would be
php]echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>'; looks fine to me?
Another way of doing would be
Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'&amamp;lt;td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';Another way of doing would be
Code: Select all
echo '<td onMouseover="showtip(this,event,\''.$message_1.'\')" onMouseout="hidetip()">'.substr($message_2,0,30).'</td>';- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: #000;"><?=substr($message_2,0,30)?></td>- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
lol no prob, but in the futur be as clear as possible
uote;hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>hp]<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>age_1?>')" onMouseout="hidetip()"e; style="e;background-color: &,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?><?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>&quon the futur be as clear as possible
clear as possible
color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>uote; style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>]<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>p;amp;lt;?=$bgcolor?>"><?=substr($message_2,0,30)?></td>amp;quote;showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style=&qun the futur be as clear as possible
r as possible
" style="background-color: <?=$bgcolor?>"e;><?=substr($message_2,0,30)?></td>ossible
;?=substr($message_2,0,30)?></td>eb0c802]<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>n the futur be as clear as possible
n the futur be as clear as possible
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>
Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?>&er="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?>"showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substrip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>Code: Select all
<td onMouseover="showtip(this,event,'<?=$message_1?>')" onMouseout="hidetip()" style="background-color: <?=$bgcolor?>"><?=substr($message_2,0,30)?></td>