I really like the new theme, its very nice and easy to navigate on..
Nice work..
Search found 53 matches
- Sun Oct 09, 2011 10:27 pm
- Forum: General Chat
- Topic: New Theme ?
- Replies: 23
- Views: 3652
- Tue Oct 04, 2011 12:33 pm
- Forum: PHP
- Topic: Secure website..
- Replies: 3
- Views: 812
Secure website..
Hello jacek, I see that you sell a Advanced PHP Protection and I was thinking of buying it, however I would like to know if you could tell me If I should combine it with the session management to prevent session replay attacks. I could ask in a different way also, What would you recommend If I want ...
- Fri Sep 30, 2011 9:39 am
- Forum: PHP
- Topic: moving variables from page to page on A href click
- Replies: 5
- Views: 1134
Re: moving variables from page to page on A href click
Hello all, If there is someone else trying to make use of the template system and add the user system to it please let me know.. Right now I'm working on getting the two init.inc.php files into one, after working with it for some hours I got this. <?php session_start(); // include the home page from...
- Thu Sep 29, 2011 4:36 pm
- Forum: PHP
- Topic: moving variables from page to page on A href click
- Replies: 5
- Views: 1134
Re: moving variables from page to page on A href click
Hello Jacek, I was thinking about making use of the template system and the user system however I can access the protected page without having a session id, I believe its because my protected.page.inc.php is in the pages folder my problem is how do I get the exceptions array to work with this so use...
- Wed Sep 28, 2011 4:13 pm
- Forum: PHP
- Topic: moving variables from page to page on A href click
- Replies: 5
- Views: 1134
Re: moving variables from page to page on A href click
Thanks Jacek, I'll try it and get back you to asap.. BTW, there was a another thing I was working on getting the user system in the template system you have a video on but its not going that well. I'm having problems because the init.inc.php have to $page variables and well tried to rename one but s...
- Wed Sep 28, 2011 1:14 pm
- Forum: PHP
- Topic: moving variables from page to page on A href click
- Replies: 5
- Views: 1134
moving variables from page to page on A href click
Hello all, I like to hear if there is any one that can help me fix this problem. I like to pass some $variables from one page to a other page, now I did it with $_Get['$varible'] but I can only get one $variable then and I really like for the user not to see it, this is my a href. echo "<td id=...
- Tue Sep 27, 2011 4:25 pm
- Forum: SQL
- Topic: How to create One Master Query
- Replies: 5
- Views: 1499
Re: How to create One Master Query
Hi Jacek, Yea its was a big problem, there was way to much code in that function in the end. I did 4 function with 2 query in each and then got them in the calculating function, its works fine. Now I need to learn how to select 90 rows in a table and put them all in a array and move that array to a ...
- Mon Sep 26, 2011 5:07 pm
- Forum: SQL
- Topic: How to create One Master Query
- Replies: 5
- Views: 1499
Re: How to create One Master Query
1. The calculation is $variable = $row['value1'] * pow(1 - $row['value2'], $step1) * $row["value3"] * $row['value4'] * $row["value5"]; 2. The tables, I have 5 different tables holding 160 rows with 15 columns = 2400 different values in each table. I need to select a specific valu...
- Mon Sep 26, 2011 8:50 am
- Forum: SQL
- Topic: How to create One Master Query
- Replies: 5
- Views: 1499
How to create One Master Query
Hello All, This is not going to be easy and I tried working on this for some time now, what I want is to create a master query where I select data from 4 different tables use the 4 values in a calculation and insert it into a other table. If you have any clue on how to create such a query please let...
- Mon Sep 26, 2011 8:46 am
- Forum: PHP
- Topic: How to do a Count-IF
- Replies: 8
- Views: 1495
Re: How to do a Count-IF
Hello Jacek,
Thanks, let me know if you come up with something.
Best regards
Wizzuriz
Thanks, let me know if you come up with something.
Best regards
Wizzuriz
- Thu Sep 15, 2011 2:40 am
- Forum: PHP
- Topic: How to do a Count-IF
- Replies: 8
- Views: 1495
Re: How to do a Count-IF
Hello Jacek. To the question on the need to store each test score. Yes I will need that, last say I have a score of 5 in each test = 15*5 = 75 points, now if league require a score of 7 in 7 different test = 7*7 = 49 point then the user will obtain gold league because he scored 75 point but he don't...
- Fri Sep 09, 2011 1:28 pm
- Forum: PHP
- Topic: How to do a Count-IF
- Replies: 8
- Views: 1495
Re: How to do a Count-IF
Hello Again. It might help if you know what I'm trying to do here, please excuse my lag of talent to explain. I'm trying to make a score system where the user can achieve a league based on the score he has. There is 15 different tests, each test have 18 level difficulties, you have to complete a tes...
- Fri Sep 09, 2011 12:03 pm
- Forum: PHP
- Topic: How to do a Count-IF
- Replies: 8
- Views: 1495
Re: How to do a Count-IF
Hello Jacek. thanks for the help, I'll try to explain it. I have a table with columns level, user_id, test_1, test_2, test_3, test_4, test_5. Now I want to see how many times the user scored 3 points in the test where user_id = $uid. the result should be 5 if the user scored 3 in all 5 test. ( I wan...
- Thu Sep 08, 2011 7:48 pm
- Forum: PHP
- Topic: How to do a Count-IF
- Replies: 8
- Views: 1495
How to do a Count-IF
Hello All. When I use Numbers ( excel on a max ) I can use a count if function, but when I check the web for a countIF function in php I don't get anything. what I like to is making a function that can count a value in a row like; ">=7" value is 7 or bigger. =COUNTIF(C2:Q2, ">=7"...
- Wed Aug 31, 2011 7:28 pm
- Forum: PHP
- Topic: To be a function or not to be a function.
- Replies: 7
- Views: 1230
Re: To be a function or not to be a function.
the 2 $ is a MT, but my question is how should I make the join query?
Any idea, if so please share
best regards
wizzuriz
Any idea, if so please share
best regards
wizzuriz
- Wed Aug 31, 2011 6:53 am
- Forum: PHP
- Topic: To be a function or not to be a function.
- Replies: 7
- Views: 1230
Re: To be a function or not to be a function.
Hi Jacek. I did review your videos on htmlenteties & other safety stuff however, right now I just need to code to work before I pump it up with more secure code :) Now I got all the functions to work and I believe I understand some of the basic for functions. Now I have a other question, you see...
- Mon Aug 29, 2011 11:32 am
- Forum: PHP
- Topic: I need information for WHERE in mysql_query.
- Replies: 11
- Views: 1785
Re: I need information for WHERE in mysql_query.
I use it on the protected.php page.
if I don't make it a function it will display just fine..
Best regards
wizzuriz
if I don't make it a function it will display just fine..
Best regards
wizzuriz
- Mon Aug 29, 2011 11:31 am
- Forum: PHP
- Topic: To be a function or not to be a function.
- Replies: 7
- Views: 1230
Re: To be a function or not to be a function.
Hello Jacek. Thanks. Can you please let me know if there should be any change to this function. 1. <?php 2. Function get_information($email){ 3. $conn = mysql_connect("localhost", "mysql_user", "mysql_password"); 4. 5. if (!$conn) { 6. echo "Unable to connect to DB...
- Sun Aug 28, 2011 9:49 pm
- Forum: PHP
- Topic: To be a function or not to be a function.
- Replies: 7
- Views: 1230
To be a function or not to be a function.
Hello All. I just checked out some nice code on http://www.php.net/manual/en/function.mysql-fetch-assoc.php This is the code, now my problem is I like to make this in to a function. I did change the code some to make variables for me so I can each them out on a other site. The problem is, when I mak...
- Sun Aug 28, 2011 3:21 pm
- Forum: PHP
- Topic: I need information for WHERE in mysql_query.
- Replies: 11
- Views: 1785
Re: I need information for WHERE in mysql_query.
sure this is how I display it when it ant in the function <td> <?php echo $row['user_firstname']?> </td> <td> <?php echo $row['user_weight']?> </td> this is the code $u_email = $_SESSION['email']; //function get_user_information($u_email){ $result = mysql_query("SELECT * FROM users WHERE user_e...
- Fri Aug 26, 2011 8:05 pm
- Forum: PHP
- Topic: I need information for WHERE in mysql_query.
- Replies: 11
- Views: 1785
Re: I need information for WHERE in mysql_query.
This is my function that don´t work. $u_email = $_SESSION['email']; // $u_email I believe is the problem it don't work in the function but it works fine out of the function. function get_user_information($u_email){ // get the current users information from batabase. $result = mysql_query("SELEC...