d22552000
-
Posts
535 -
Joined
-
Last visited
Never
Posts posted by d22552000
-
-
BUT not if you use <button or <input type="button".
both of those are invalid for most buttons.
If you want to do buttons that accept return you can always add a tab code to it.
<input type="submit" value="submit" name="submit" acesskey="13">
You dont need acesskey, I just use it for acessability with program that people may use to show websites.
-
not necesarily, have you seen lunetia? it was made completely from the vb default skin. everything else except for some of the css and the layout is our work.
as far as the main forum, we revamped it, we havent finished it yet.
-
This is PHP related becasue all the css is generated differently every time the page is loaded.
(only the indented part is the code, the rest is just so it iwll do highlighting)
<html>
<body>
<table>
<tr height="30%">
<td class=".tcat">
<p align="center">
<font face="verdana" size="4">
<input classs=".option" type="text" name="" value="" size="32">
</font>
</p>
</td>
</tr>
</table>
</body>
</html>
Can you please tell me whats wrong with this? Why is it not attaching to my CSS?
<style type="text/css" id="feedback_css"> <!-- .tcat { background: #222222 url(forum/images/dark_vb_v2/gradients/gradient_tcat.gif) repeat-x top left; color: #ffffff; font: bold 9pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .tcat a:link, .tcat_alink { color: #76E4FB; text-decoration: none; } .tcat a:visited, .tcat_avisited { color: #76E4FB; text-decoration: none; } .tcat a:hover, .tcat a:active, .tcat_ahover { color: #8DA7B4; text-decoration: underline; } .option { background: #25292C; color: #DBDBDB; font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; white-space: nowrap; cursor: pointer; } .option a:link, .option_alink { color: #DBDBDB; text-decoration: none; } .option a:visited, .option_avisited { color: #DBDBDB; text-decoration: none; } .option a:hover, .option a:active, .option_ahover { color: #DBDBDB; text-decoration: none; } --> </style>
-
lol
now whats relaly funny is when you make one computer connect to a lot of proxies all at once and see what that does
then have all the proxies connect ton ONE thing all at once. Even if on google its hilarious.
I got htis:
"You're clicking too fast! Please wati 1 second between requests to the server!"
-
I need a life -,-
-
\n is a newline.. \r is a macintosh newline. \t is a tab space (5char)
Maybe that might help you, maybe it wont.. but I don't really understand the problem.
-
Thank you AZU for explaingin that you wanted me to use a comma. I did not understand your post and frankly, im tired -,-. I have been working on this for a while.
except for the page size being about 2.1MB it worked out thanks solved.
I can stand the size since this is being used on a T1 connection by teachers in a district or by lan.
-
while($row = mysql_fetch_array($res, MYSQL_ASSOC)) {
// get total items in the $row array
$items = count($row) - 1;
// now that we not how many items are in the $row array,
// we can use a for loop to loop through the array
for($i = 1; $i <= $items; $i++)
{
echo $row['STDID' . $i] . '<br />';
}
}
works now, IM AN IDIOT. fuck -,-.
now im not gonna say solved yet cuase i bet thers gonna be another problem in like a second -,-. ill rely with the new problem lol.
-
Array ( [CLSID] => 101 [sTDID1] => 1 [sTDID2] => 2 [sTDID3] => 3 [sTDID4] => 4 [sTDID5] => 5 [sTDID6] => 6 [sTDID7] => 7 [sTDID8] => 8 [sTDID9] => 9 [sTDID10] => 10 [sTDID11] => 11 [sTDID12] => 12 [sTDID13] => 13 [sTDID14] => 14 [sTDID15] => 15 [sTDID16] => 16 [sTDID17] => 17 [sTDID18] => 18 [sTDID19] => 19 [sTDID20] => 20 [sTDID21] => 21 [sTDID22] => 22 [sTDID23] => 23 [sTDID24] => 24 [sTDID25] => 25 [sTDID26] => 26 [sTDID27] => 27 [sTDID28] => 28 [sTDID29] => 29 [sTDID30] => 30 [sTDID31] => 31 [sTDID32] => 32 [sTDID33] => 33 [sTDID34] => 34 [sTDID35] => 35 )
as I said, lots of STDID.
oh im an idiot. thtas why yoru code didnt wkr cause I told yiou STDNTID but this table uses STDID -,- all my other tables use STDNTID. omfg im a frekin moron. m trying your code with STDID and seein if it works..
-
but uh ya.. how would I use it I dont understnad your solution.
siomething about seperating by commas?
-
I udnno what you changed but it works now thanks dude! not to sort out my toher problems -,- that foreach shit
-
if(!$_POST['login']{1})die('Please enter a username!');
..
try
if ( $_POST['login']!=1 ) { die('Please enter a username!'); }
proper syntax
-
***COMMON SENSE***
so uh... got any ideas people? and do you have any code examples plz?
-
in any case I jsut put
mysql_connect('localhost','root','') or die(mysql_error());
mysql_select_db("Rolla High School") or die(mysql_error());
in the else statement and the same thing happened.
-
so its all per function?
-
right after <tr>. echo it rightgt there.
-
does what?
and can you guys also help me here: http://www.phpfreaks.com/forums/index.php/topic,157868.0.html ? thats on the same script -,-.
-
$id = $_POST['teaid']; $pw = $_POST['teapw']; $agent = $_SERVER['HTTP_USER_AGENT']; $uri = $_SERVER['REQUEST_URI']; $user = $_SERVER['PHP_AUTH_USER']; $ipa = $_SERVER['REMOTE_ADDR']; $ref = $_SERVER['HTTP_REFERER']; if($ref == ""){ $ref = "None"; } if($user == ""){ $user = "None"; } $ip = "IP: $ipa | Agent: $agent | URL: $uri | Referrer: $ref | Username: $user n"; if (isset($id) && (strlen($id)!=0)) { if (isset($pw) && (strlen($pw)!=0)) { mysql_connect('localhost','root','') or die(mysql_error()); mysql_select_db("Rolla High School") or die(mysql_error()); $sql = "SELECT * FROM `teaid` WHERE `TEAID` = '".$id."' AND `TEAPW` = '".$pw."'"; $res = mysql_query($sql) or die(mysql_error()); $num = mysql_num_rows($res); if ($num =! 0 && $num == 1) { session_start(); $_SESSION['$id'] = $pw; header("location: index.php?id=".$id."&pw=".$pw."&s=2"); } else { $SQL = "INSERT INTO `acess` (`ID` ,`IP` ,`time` ,`date` ) VALUES (1 ,'".$ip."',CURTIME( ) ,CURDATE( ) );"; $res = mysql_query($sql) or die(mysql_error()); echo "Invalid Login Provided.<br /><br />"; } mysql_close() or die(mysql_error()); } }
Uh.. when I enter a fake uer and pass it gives me login was not valid, and I get no errors. but I lok in the database and there are no new rows.
Field Type Collation Null Extra ID int(7) No auto_increment IP text latin1_swedish_ci No time time No date date No
-
Where does stdntid1, stdntid2, stdntid3 etc come into it? Or is stdntid supposed to be clsid?
ya its STDNTID not clsid sry.
isnt this case sensative... LOL
-
yay SOMEONE is listening
-
but it doestnn wokr
example:
// get total items in the $row array
$items = count($row) - 1;
// now that we not how many items are in the $row array,
// we can use a for loop to loop through the array
for($i = 1; $i <= $items; $i++)
{
echo $row['stdntid' . $i] . '<br />';
}
just ouptuts 59 <br /> without the values. I WANT THE VALUES/
-
beacsue i have some rows that arent called clsid.. and I ONLY want the ones called clsid.
$ROW is formatted as my database is...:
TEAID
and CLSID 1 through 59
followed by TEAPW and TEAEP TEAIQ TEAVP and TEAND
-
set a words file with one pword per line and say foreach line (with fget i think) if the request equals that (preq_match or str_replace) then echo they searched soemthgin abd and die the script.
-
yours does work but it doesnt ignore rows NOT names clsid like his code does.
the only problem whith his code is its not outputting the values.
[SOLVED] CSS and HTML, not attaching? (php related)
in PHP Coding Help
Posted
I used but the site isnt listening to that .
and im tyring it now, thanks!