How can load only div from file..
I saw on alex's tutorial about shout box, and there is whole page loaded. But how can i load only div from some page?
Example: i have the file called shout.php and into that have many divs, and i want load only div where is shouts. Is that possible?
Search found 26 matches
- Sat Oct 22, 2011 8:15 pm
- Forum: JavaScript
- Topic: JQuery load div problem
- Replies: 1
- Views: 1003
- Thu Jun 09, 2011 4:37 pm
- Forum: PHP
- Topic: Need algoritam.
- Replies: 4
- Views: 803
Re: Need algoritam.
Ok, you can close or delete this thread.
- Thu Jun 09, 2011 3:42 pm
- Forum: PHP
- Topic: Need algoritam.
- Replies: 4
- Views: 803
Need algoritam.
Ok, here is the problem.
I need the algoritam for this:
i want to reduce the price by the number of followers of the offer..
and i want reduced price in percentage..
I need the algoritam for this:
i want to reduce the price by the number of followers of the offer..
and i want reduced price in percentage..
- Wed Jun 08, 2011 9:54 am
- Forum: PHP
- Topic: Question about GET
- Replies: 8
- Views: 1221
Re: Question about GET
Also you soholud put (int) before $_GET just llike this:
$get_page = htmlentities(mysql_real_escape_string(((int)$_GET['page'])));Becouse someone can hack your database by sql injection.
- Wed Jun 08, 2011 7:19 am
- Forum: PHP
- Topic: phpbb sessions including on other files
- Replies: 4
- Views: 819
Re: phpbb sessions including on other files
No problem, ive found...
- Tue Jun 07, 2011 8:03 pm
- Forum: PHP
- Topic: phpbb sessions including on other files
- Replies: 4
- Views: 819
Re: phpbb sessions including on other files
Im asking do anyone know how to integrate phpbb sessions with my portal..
- Tue Jun 07, 2011 7:02 pm
- Forum: PHP
- Topic: phpbb sessions including on other files
- Replies: 4
- Views: 819
phpbb sessions including on other files
What are the phpbb sessions, and how can i intergrate them with my portal..
- Wed Jun 01, 2011 10:34 pm
- Forum: PHP
- Topic: PHP Text probl.
- Replies: 1
- Views: 516
PHP Text probl.
How to make this: if is the post bigger than exmp 250 characters to add after text "..."
Re: PHP Links
Thanks on replyed posts, im gonna look that viedos.. Btw thanks on help too.
PHP Links
How to get links from this exmp. "index.php?article=53&post=23" into this: exmp. "webshop/we-sell-all"
- Fri May 27, 2011 6:08 pm
- Forum: PHP
- Topic: Php array and assoc question
- Replies: 1
- Views: 527
Php array and assoc question
What is the difference between mysql_fatch_array and mysql_fatch_assoc ?
- Sun May 15, 2011 8:21 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Thanks good, and also thanks to you. I fixed it.
- Sun May 15, 2011 7:58 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Imoporting the users: $member = $_SESSION['member']; if ($member) { $time = time(); $ipadress = $_SERVER['REMOTE_ADDR']; mysql_query("INSERT INTO `sf_sessions` (sessionname, ipadress, lastlogin) VALUES ('$member','$ipadress','$time')"); echo mysql_error(); } Echoing the users: <?php $curre...
- Sun May 15, 2011 7:26 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
God damn, here is the new problem.
When i put the date like this: date("h:m"); it always repeat same time 09:05..
EDIT: again new problem:
look on the right side of http://brainiac-design.info/probe/sfilms/, i just want to echo one time user, not to repeat.
When i put the date like this: date("h:m"); it always repeat same time 09:05..
EDIT: again new problem:
look on the right side of http://brainiac-design.info/probe/sfilms/, i just want to echo one time user, not to repeat.
- Sun May 15, 2011 7:11 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Am i going to use timestamps on insert query?
- Sun May 15, 2011 6:59 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Ok, here is the code: <?php $actualtime = date("h:m"); $query = mysql_query("SELECT * FROM `sf_sessions`"); while ($row = mysql_fetch_assoc($query)) { $pastime = $row['lastlogin']; $timeloggedin = $actualtime - $pastime; if ($timeloggedin >= 15) { echo 'Users logged in for 15 min...
- Sun May 15, 2011 6:54 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Huh, i understand it now. Im going to code it, and post it here again, to see is it correct.
- Sun May 15, 2011 6:47 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Look, i think to do design of table like this: session name, ip adress, lastlogin (including refreshing the page). I after this i think i should do this: $timelogin = actual time - lastlogin and if $timelogin > 15 minutes echo nothing, else get from the database all users who logged in for 15 minute...
- Sun May 15, 2011 5:36 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
Re: PHP who is online
Ok, and how i can echo time(); to the real time, example: 19:34
- Sun May 15, 2011 4:49 pm
- Forum: PHP
- Topic: PHP who is online
- Replies: 15
- Views: 2236
PHP who is online
How can i echo the users who online on my site (who is logged in)..
- Sat May 14, 2011 6:02 pm
- Forum: SQL
- Topic: Private Messages help.
- Replies: 2
- Views: 990
Re: Private Messages help.
Thank you very much.