-
Posts
14,780 -
Joined
-
Last visited
-
Days Won
43
Everything posted by .josh
-
http://www.phpfreaks.com/forums/index.php/topic,218335.0.html There you go.
-
You should also check to make sure $_GET['pagenum'] is a valid int between 1 and $last and assign a default.
-
Your foreach(..) loop loops through each column in the row, but the $result->fetch_array(...) only grabs one row at a time from the result source. You need to wrap all that in a loop; example: while ($row = $result->fetch_array(MYSQLI_ASSOC)) { foreach($row as $key=>$value) { $img = strtolower(str_replace(" ", "", $row['siteName'])) .'.jpg'; echo '<tr><td><img class="floatright" src="images/'. $img .'"></td></tr>'; } }
-
Well......could be possible that I might avg about 10 posts an hour. That could explain it.
-
I wasn't gonna say anything but since it got brought up...starting about a month ago, about 1 out of 10 requests have either been taking forever to load (60-90s) or it just times out altogether. I'm here pretty much all day and night; it happens regardless of the time. Only pattern I can really see is that 1 in 10 or so requests.
-
I have to say, that's pretty impressive.
-
Umm, no, no it's not. Having too many babies certainly does not help the situation, but it has nothing to do with why things are the way they are over there, nor would it fix things if they stopped having babies.
-
I'm kind of getting the impression you guys have no idea how things really are over there in 3rd world countries...
-
@Zanus: Windows paint! That's right, I'm old school @Dan: Hey I just bought my computer not too long ago, it was the standard trial that came with it. It actually just expired earlier that morning, lol. I might go ahead and renew it though. Apparently my firewall/antivirus options are pretty limited for vista 64 bit at this time.... I found this AVG anti-virus thing and something called Vista FireWall Control which seems to be some kind of addon for Vista's firewall. I'm certainly open for suggestions.
-
Yeah...better to just stop and let them die off, because they are such worthless and lazy bums, right?
-
What kind of tips are you wanting? You seem to already have a query and a method for displaying it. Just change your query to order it by artists instead, and add a condition in your loop that lists the stuff out to make a new line if the currently fetched row's artist changes...
-
You must be seeing things. I have no idea what you are talking about. Lol. =P You must be seeing things. I have no idea what you are talking about. See attachment.... [attachment deleted by admin]
-
@thesaleboat: First, the OP said he wants to send to multiple people, not just one. 2nd, it would be more efficient to get rid of all those if's and just make the different values the values of the posted var in the first place.
-
Dan responded to this on specific note. To respond on a general note: If someone looks in the manual and then googles looking for similar problems and still can't figure it out, by all means, post. But we aren't here to spoon feed people or do their work for them. We don't get paid for this. I don't even know why I should have to tell you this, seeing as how you have almost 1300 posts here.
-
apply my previous post's concept to your $emailTo variable.
-
Yes, because here at phpfreaks, we specialize in computer hardware compatibility, so it makes complete sense for us to make ourselves a source for that sort of thing.
-
I smell homework.
-
<?php if ($_POST['letter']) { $list = implode(', ',$_POST['letter']); echo $list; } ?> <form action = '' method = 'post'> <input type = 'checkbox' name = 'letter[]' value = 'a'>a <br /> <input type = 'checkbox' name = 'letter[]' value = 'b'>b <br /> <input type = 'checkbox' name = 'letter[]' value = 'c'>c <br /> <input type = 'checkbox' name = 'letter[]' value = 'd'>d <br /> <input type = 'submit' value = 'submit'> </form>
-
You can order by artist in your query and then setup a condition in your results loop to either add a comma and stay on the same line or start a new line when the artist changes.
-
You need to pass $var to DisplayForm: function a($var) { echo $var; } $var = 'Hello'; a($var); // 'Hello'; function DisplayForm($values, $errors, $var){ a($var); }
-
like what...php2? Come on now...
-
$emailapp = $_POST['username'] . "@google.com"; p.s.- It's officially called string concatenation, though I would be interested in knowing what search terms you were using, seeing as how searching anything from "putting two strings/vars together" to virtually any basic tut out there would show this...