Jump to content
php.lv forumi

loti mazs sktipts


krisis007

Recommended Posts

Ka var uztaisit ta lai userdetals.php veras jauna loga, (kad uzspiez uz username info par akontu veras jauna loga, rakstiju ta <a target="_blank" href=userdetails.php?id=$arr[id]><b>$arr[username] </b></a>..... , bet nekas nenotiek, pat neieladejas radas vienkarsi balts logs.) Ja zinat tad ludzu pasakiet ka lai sito skriptu uztaisa.

Link to comment
Share on other sites

Pēdiņas jāeskeipo. Vai arī izmanto ' nevis ":

print('<tr>'.$bilde.'<td align="left"><a target="_blank" href="userdetails.php?id=' . $arr['id'] . '><b>'.$arr['username']. '</b></a></td><td>'.$arr['tel'].'</td><td>'.$arr['web']. '</td><td><a href="mailto:'.$arr['email']. '">'.$arr['email'].'</a></td></tr>'."\n");

Edited by Aleksejs
Link to comment
Share on other sites

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML {955246E3-6933-480d-B146-2462CE868767}="true"

{F92F6ACC-5E50-4482-BC62-9D8DF61E5A32}="5"><HEAD>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>

<BODY></BODY></HTML>

Link to comment
Share on other sites

a, tiklidz nonem " targat="_blank" " viss izskatas shita - <?xml version="1.0" encoding="iso-8859-1"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>

PirtsPrieki :: UserAccountManager :: Users </title>

<link rel="stylesheet" type="text/css" href="./themes/ICGstation/ICGstation.css" />

</head>

<body>

<td valign="top" align="center">

<table class="theme_table" width="100%" cellpadding="10" align="center">

<tr>

<td align="center">

<table border="0" cellpadding="0" cellspacing="0" class="tbt">

<tr><td class="tbtl"><img src="./phpBB2/images/spacer.gif" alt="" width="22" /></td><td class="tbtbot" nowrap="nowrap"><b> </b><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="22" style="vertical-align: middle;" /></td><td class="tbtr"><img src="./phpBB2/images/spacer.gif" alt="" width="124" height="22" /></td></tr>

</table>

<table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">

<tr>

<td class="row1">

<table border="0" cellpadding="0" cellspacing="0" class="tbt">

<tr><td align="center"><h1>Lietotaji</h1>

<form method=get action=?>

Search: <input type=text size=30 name=search>

</select>

<input type=submit value='Meklet'>

</form>

<p>

</p>

<p><b><< Atpakal</b>      <b>Talak >></b><br><b>1</b>

</p><table border=1 cellspacing=0 cellpadding=5>

<tr><td class=colhead align=left>Bilde</td><td class=colhead>Vards</td><td class=colhead>Telefons</td><td class=colhead>Majas lapa</td><td class=colhead align=left>E-pasts</td></tr>

<tr><td href="userdetails.php?id=2"><img src="pic/ppnon.jpg" width="100" alt="google" title="google" border="0" /></td><td align=left><a href=userdetails.php?id=2><b>google</b></a></td><td>nav noradits</td><td>nav noradits</td><td>google@google.lcom</td></tr>

</table>

<p><b>1</b>

<br><b><< Atpakal</b>      <b>Talak >></b></p> <br/>

</td></tr>

</table>

</td>

</tr>

<tr>

<td class="row2" align="center"><span class="genmed"><a href="#" class="genmed">Back to top</a></span></td>

</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>

</td>

</tr>

</table>

</body>

</html>

Link to comment
Share on other sites

<?php
echo '
<tr>'.$bilde.'
<td align=left>
<a target="_blank" href="userdetails.php?id='.$arr[id].'"><b>'.$arr[username].'</b></a>
</td>
<td>'.$arr[tel].'</td>
<td>'.$arr[web].'</td>
<td><a href="mailto:'.$arr[email].'">'.$arr[email].'</a></td>
</tr>\n';
?>

Edited by jogin
Link to comment
Share on other sites

×
×
  • Create New...