Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~3K People Reached
Favorite Tags

14 Posted Topics

Member Avatar for aithabuddy
Member Avatar for atfOnly

Try [code] $myarray=array("a,cake", "b,cheese", "c,pacman"); $anotherArray=array(); foreach ($myarray as $value) { $values=explode(",", $value); foreach ($values as $item) { $anotherArray[]=$item; } } [/code] :D

Member Avatar for atfOnly
0
137
Member Avatar for GigsD4X

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 (?, ?)"; …

1
66
Member Avatar for dudzkie

If you use checkboxes you can already select multiple options (they must have the same name and brackets next to them). To find out which ones were selected, you loop through the array :3 Something like this... The form: [CODE]What are your favorite types of pastry? <form method="post"> <input type="checkbox" …

Member Avatar for vibhaJ
0
359
Member Avatar for GigsD4X

[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

Member Avatar for GigsD4X
0
121
Member Avatar for charvie

:O Why don't you use a ZIP folder? I don't think you can run multiple downloads.

Member Avatar for FloridaCI
0
133
Member Avatar for GigsD4X

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 …

Member Avatar for Taywin
0
144
Member Avatar for niths

[QUOTE=Triztian;1323320]You should try to develop the script yourself and when you get stuck in a particular area post the issue here; get based on the scripts you've seen and modify them to suit your needs...[/QUOTE] He's asking for ideas.

Member Avatar for GigsD4X
0
61
Member Avatar for GigsD4X

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?

Member Avatar for GigsD4X
0
450
Member Avatar for GigsD4X

I tried to write [icode]include "http://".$_SERVER["SERVER_NAME"]."/lol.php"[/icode] and it didn't include it?

Member Avatar for GigsD4X
0
81
Member Avatar for GigsD4X

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

Member Avatar for GigsD4X
0
104
Member Avatar for jrosh
Member Avatar for sithembisophp
0
325
Member Avatar for GigsD4X

I tried making a For iterator to check the values of an array, but it checks them 2 times!

Member Avatar for GigsD4X
0
65
Member Avatar for GigsD4X

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 …

Member Avatar for drjohn
0
330

The End.