I used to have it like that, but I prefer the URLs with trailing slashes, looks neater imo.
Type: Posts; User: Schmoopy; Keyword(s):
I used to have it like that, but I prefer the URLs with trailing slashes, looks neater imo.
Hi djr33, yea I forgot to post a reply to this thread, but it's exactly what you said.
Shortly after I made this thread I tried sending requests to /basket/ instead of /basket, and miraculously,...
Hi guys,
Having a strange issue here...
If I submit a form and set the method as post, the post array is completely blank, however if I change the method to get, the array is full of data.
...
Ah you legend!
Thank you :)
Working now.
Thanks to both of you!
I don't see where that would be causing a problem in this case.
If I had used backticks instead of single quotes around the product ID, then yes, but otherwise it all looks correct to me.
Could...
Hey,
Here's what's generated from the table:
# --------------------------------------------------------
# Host: localhost
# Server version: 5.5.8-log...
Welcome to the forum.
Enjoy your stay :)
We're all fairly friendly around here, and we were all beginners at one point.
Just make sure you post in the appropriate forum, see you around!
Hi traq,
Thanks very much for that. I can see it works with the table provided, but the actual table I have is slightly different to that one (I didn't think significantly), and the query doesn't...
This has now been resolved.
Restructured how the URLs were mapped and it now works :)
Hi guys,
Having some trouble using the MIN() function in SQL.
I have a table laid out like so:
product size price
test A2 50
test A3 ...
Hi guys,
I could do with some help if you'd be so kind...
I know a little about mod_rewrite, but have got to the stage now where I need someone with more knowledge in this area to help me out....
Hi guys,
I recently got a new monitor, and am now dual screening.
The only issue I'm having is that when I'm watching a video that is full screen, and I switch focus to the other monitor (click...
As bluewalrus said, it's all about being readable.
Take the following example, first formatted:
<div id="content">
<div id="posts">
Ah, sorry, I meant to say the (Latin?) alphabet... whichever one is A-Z. I thought it was Greek, but it seems I'm mistaken.
There may be a function already made for this, but here's something that might work:
<?php
$letters = array('a','b','c','d','e','f','g','h',
'i','j','k','l','m','n','o','p',
...
Sorry to double post, but I've now realised why doing the nested while loops like so will not work:
header ('Content-type: image/png');
$width = (isset($_GET['width'])) ? $_GET['width'] :...
Here's a way of doing it with nested for loops.
header ('Content-type: image/png');
$width = (isset($_GET['width'])) ? $_GET['width'] : 50;
$height = (isset($_GET['height'])) ?...
function listScripts(userobj, lines)
{
for (i = 0; i < 10; i++)
{
tmp = lines[i].split("\n");
print(userobj, "\x0305Template: \x0302" + tmp[0]);
}
}
Try debugging the mail function with:
if(mail($emailadd, $subject, $text, 'From: '.$emailadd.'')) {
echo 'SENT EMAIL';
} else {
echo 'FAILED TO SEND EMAIL';
}
Adblock Plus is your friend.
It's gone all aqua, soothing :)
Are any functions working for you?
Try doing:
<?php
phpinfo();
?>
If it's a problem with that sort of thing, you want the JavaScript section.
Depending on how you're doing it, you can just do something like:
<?php
foreach($files as $file) {
if($file != 'SCRIPT_NAME.php') {
// Do whatever
}
Not sure what you'd need for this, maybe flash?
But this isn't the right section for it.