- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hi I have a problem with the mysql query that uses both order by and limit.Following is the sql query i'm using, select * from temp where venue <> '' and cat1 = 'sports' and id < 74528 order by id desc limit 10; in this temp table 'id' is … |
|
Re:
Dear all, I need your help :) i have array like this--> $myarray([0]=>a,1 [1]=>b,2 [2]=>a,2 ) i want to split each of the array element, i want to retrieve the part a and b of each array elemet and (maybe) store it in different array like this: $myarray1([0]=>a [1]=>b ) … |
|
I'm hosting on NetworkSolutions (which has PHP 5.2.17) and every time I make a prepared statement it returns the error "Incorrect arguments to mysql_stmt_execute" D: Can you help me spot the error in my code please? D: [code] <?php $mysqli=new mysqli(host, username, password, db); $query="INSERT INTO `Variables` VALUES (?, ?)"; … |
|
Re:
Hello! So here's what i did i fetch data from my database in a table each row has a checkbox on in. Now what i already did is when i press submit the data that will be shown in the next form is the row that has check on the … |
|
[CODE] $doc=new DOMDocument(); $doc->loadHTML($str); $doc->getElementById("MainTable")->getAttribute("id");[/CODE] Displays the error Fatal error: Call to a member function getAttribute() on a non-object Oh and $str is the HTML of a page :p D: Am I doing something wrong? :o |
|
Re:
Is Multiple download files possible using PHP? We did find a code for single download. but we need it for multiple download. can anybody help me? Thank you! :) |
|
Hi there, I'm making a script that gets a form's elements, and writes them to an XMLHttpRequest. It works perfectly with inputs, but when it switches to text areas, it returns "undefined" :\ Could you help me find the error? :D [CODE=js]function sendForm(target, form) { var item; var string=""; var … |
|
Re:
hi, i am having a website,and in that we are planing to put online help(online chat). so for that i need a chat script. I had seen many scripts but every script is like group chat means every persons message can be seen in that. so i dont want like … |
|
Hi there, I want to grab a page from my site that's PHP, however, I don't want it to display the PHP... How can I do this? |
|
I tried to write [icode]include "http://".$_SERVER["SERVER_NAME"]."/lol.php"[/icode] and it didn't include it? |
|
Hi there, I'm trying to get the root directory of my site... But I don't want to edit the dots with slashes every time I make a new page in a directory inside another directory.. Any ideas? Here's an example tree :-) -/ -/stuff --/stuff/lol.php -/lolwut --/lolwut/cake.php --/lolwut/pie.php |
|
Re:
Can any one tell me about a place I can find any joomla help. Tutorials or just guidance. Thank you. Hope this goes with PHP forum since there is no separate Joomla forum. |
|
I tried making a For iterator to check the values of an array, but it checks them 2 times! |
|
Hello there, I've been having problems creating a part of my mail system that makes messages look red when they haven't been read, and white when they have been read. This is what I'm using right now [code=php]mysql_query("UPDATE Mail SET Read=1 WHERE ID={$messageID}");[/code] The SQL ID Field is a smallint … |