No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
How would I go about sorting the k.each by the comment_id(q in the function variable)? This is part of the core-min.js from Social Engine. [CODE] k.each(function(o,q){var r=new Element("div",{id:"comment_"+q});var s="<div style='margin-top: 10px; margin-bottom: 20px;'>";if(o.comment_authoruser_id&&o.comment_authoruser_exists){s+="<div style='float: left; text-align: center; width: 90px;'><a href='"+o.comment_authoruser_url+"'><img src='"+o.comment_authoruser_photo+"' class='photo' width='"+o.comment_authoruser_photo_width+"' border='0'></a></div>"}else{s+="<div style='float: left; text-align: center; width: 90px;'><img … | |
I have been working on a PHP site and it is really slow. It takes over 9 seconds to load and moving servers it is still just as slow. I have taken over programming it from a company who coded it in the Zend Framework using Doctorine and PHPTal. Killing … | |
Sorry this was posted in the wrong place, didn't see a web development section with PHP there. | |
Anyway I can turn off the 500 error? I have a recursive function that is being set to be called a few hundred times if possible, but before that can happen and proceed with the rest of the code it calls a 500 error. (For those interested its a dynamic … ![]() | |
<form action="php.php?b=<?php echo $b; ?>" method="post"> Enter your news/rumor: <input type="text" name="name" /> Enter your news/rumor: <input type="text" name="website" /> Enter your news/rumor: <input type="text" name="comment" /> <input type="submit" /> </form><br /> then on php.php: $t=$_GET["b"]; mysql_connect("db.lepslair.com", "username", "my password"); mysql_select_db("lepslair"); mysql_query("INSERT INTO nonmembers($name, $website, $comment)) VALUES(name, website, post_text) "); … | |
Re: [QUOTE=Avalon]I have a new php in my site and there is a banner put on the top page that I would like to customize. How would I change this? There doesn't appear to be an option in the admistrative section, but I looked at the code and I can't find … | |
Is there anyway to put PHP commands in a TPL file? When I read the source code for my page it is all put together, but I can't make it run the PHP code in the tpl file. |
The End.