
timmy2
Members-
Posts
40 -
Joined
-
Last visited
Never
Everything posted by timmy2
-
A php book I was reading said I could make is so that all the php error's get sent to my email. I dont have the book anymore but was wondering how to do it?
-
Q2. I would define it Group1 (table1, table2, table3);
-
Ok I'll try again I define 20 groups. In each group there are 3 tables php or mysql counts all the rows in one group (3 table's) each group echo's something diffrent the 4 groups that have the most row's echo the things I've defined.
-
I have 5 pages footer.php, header.php, sidebar.php, login.php and index.php When the page is on login.php I dont want to display the login link however my code's not working Sidebar.php <?php $coologin = 'login.php'; if ($_SERVER['PHP_SELF'] === $coologin) { ?> <?php } else { ?> <h2><a href="#" onclick="toggle_visibility('login');">Login</a></h2> <?php } ?>
-
what does not make sense?
-
I don't know how to do this Basicly I want to have 20 groups of 3. Php or mysql adds all the rows in each group I define the groups from table's eg.(table1, table2, table3 would be a group) then it checks which groups has the most rows and display's the 4 groups that have the most row's and I echo something diffrent about each group hope this makes sense
-
but will that just show the databse's ? I would like it to show diffrent text for each database
-
I was wondering how I would Display the top 4 mysql database's? I was thinking of using the <a href="http://us3.php.net/switch">switch function</a> but I don't know what the variable would be Can someone help me?
-
i had a row called NULL but now it's gone
-
Is there anyway to delete the mysql column NULL?
-
Is there a way to move a row from one column to the next?
-
Is their a fast way to upload phpbb, instead of 1 file at a time?
timmy2 replied to blyz's topic in PHP Coding Help
if you are using cPanel you can upload a zip and then extract it in your folder -
that's for redirecting pages when you use a new structure and does not have anything about getting the refer
-
that just give me this error Sorry the file you requested Notice: Undefined index: HTTP_REFERER in myfile on line 5 was not found
-
should I do this with javascript? :-\
-
I'm trying to create a php 404 file however I dont know the command to echo the file you are trying to access I tried but that just echoed 404.php I'd really appreciate any help
-
[SOLVED] if $varible !== $varible echo.. else echo...
timmy2 replied to timmy2's topic in PHP Coding Help
12 <?php 13 error_reporting(E_ALL ^ E_NOTICE); 14 if ($session->logged_in) { 15 $dbh = mysql_connect ("localhost", "user", "password") or die (mysql_error()); 16 mysql_select_db ("db"); 17 //break 18 if($session->userinfo['gething'] == base64_decode($_GET['thing']){ -
[SOLVED] if $varible !== $varible echo.. else echo...
timmy2 replied to timmy2's topic in PHP Coding Help
line 18 is with my own variables -
[SOLVED] if $varible !== $varible echo.. else echo...
timmy2 replied to timmy2's topic in PHP Coding Help
now I'm getting this error Parse error: syntax error, unexpected '{' in mydir on line 18 -
[SOLVED] if $varible !== $varible echo.. else echo...
timmy2 replied to timmy2's topic in PHP Coding Help
ok thanks I had an idea but I wasn't sure -
Does anybody have an example code that checks if two variables are the same and if they aren't the same they do something and if they are the same they do something different?
-
I did not ask you to write the code! I asked if teng84's example would let me do what I stated in my earlier posts I dont want to spend a whole day trying to adapt it to my code and find out at the end of the day that the example would not do the thing I wanted FYI: I'm a newbie
-
will the code that teng84 do ... will be using a session variable not a GET one and also I want a list of stuff from a mysql database and if one matches something than it changes text color or something like that... ... THere's going to be a whole list and if it matches I only want one row to change color... ??