Search found 21 matches

by grantp22
Tue Aug 10, 2010 12:14 pm
Forum: PHP - Code
Topic: Multi-dimentional array - how to?
Replies: 4
Views: 209

Re: Multi-dimentional array - how to?

Awesome! Thanks axcrow, how stupid of me!
by grantp22
Tue Aug 10, 2010 3:16 am
Forum: PHP - Code
Topic: Multi-dimentional array - how to?
Replies: 4
Views: 209

Re: Multi-dimentional array - how to?

Thanks for the reply axcrow, That is exactly what I have been trying to do, sorry, my previous post was just a little incorrect, the loop should have been for $col and not $row ! The column loop is inside the row loop. You would expect your code to work, right, but it doesn't! Below is a variation o...
by grantp22
Mon Aug 09, 2010 7:06 pm
Forum: PHP - Code
Topic: Multi-dimentional array - how to?
Replies: 4
Views: 209

Multi-dimentional array - how to?

Hi can anybody help me out with the following problem I am having? I need to populate the key values in the multi-dimentional array structure shown below and the values will be used later in the following way: <tr> <td><?php echo $sm_array[1]['col_1']; ?></td> <td><?php echo $sm_array[1]['col_2']; ?...
by grantp22
Wed Jan 27, 2010 6:36 am
Forum: Miscellaneous
Topic: CSS Horizontal Menu full code (incl) Need help with submenus
Replies: 3
Views: 7263

Re: CSS Horizontal Menu full code (incl) Need help with submenus

Hi, I have taken pickles advise and help from others, but I still can't get this to work, on mouse over the dropdown menu does not appear and behaves the same as the original code I posted. this is what I have changed the code to: Here is the HTML: <html> <head>   <link href="template/css/menu_...
by grantp22
Mon Jan 25, 2010 3:26 pm
Forum: Miscellaneous
Topic: CSS Horizontal Menu full code (incl) Need help with submenus
Replies: 3
Views: 7263

CSS Horizontal Menu full code (incl) Need help with submenus

The code that follows produces the following menu: http://www.fileden.com/files/2008/3/12/1810634/menu2.gif The menu works great but I cannot figure out how to add dropdown/submenus as shown in the next graphic where I have added in submenus using a graphics editor: http://www.fileden.com/files/2008...
by grantp22
Fri Dec 04, 2009 3:11 pm
Forum: PHP - Code
Topic: Receiving parsed RSS feed data into PHP (Problem)
Replies: 1
Views: 220

Receiving parsed RSS feed data into PHP (Problem)

Hi, Can anybody please explain to me what is wrong with my code below, I have been trying to retrieve an images URL from an RSS feed to display on my website but the code I have written does not get the image url or length. But I am able to retrieve feed titles, descriptions, etc... But this source ...
by grantp22
Sat Nov 07, 2009 1:26 pm
Forum: PHP - Code
Topic: Send an SMS from PHP
Replies: 2
Views: 1325

Re: Send an SMS from PHP

Ah, thanks McInfo, that is exactly what I was after!
by grantp22
Sat Nov 07, 2009 10:09 am
Forum: PHP - Code
Topic: Send an SMS from PHP
Replies: 2
Views: 1325

Send an SMS from PHP

Hi, I am using sms server software named Ozeki NG it has an http api which allows you to send sms'es from your website and works great, but I can't seem to figure out how to extract specific values from the response it sends back to my php page. The response is set to send back a url encoded respons...
by grantp22
Tue Oct 27, 2009 7:48 pm
Forum: PHP - Code
Topic: Passing session variables in a query
Replies: 2
Views: 86

Passing session variables in a query

Hi Can somebody please give me the corect syntax for the following query, I am finding it difficult to pass the username of a session in a query. I have tried so many ways to implement this, but it just won't work... These are some of the methods I have tried! What am I doing wrong. It's in PHP by t...
by grantp22
Wed Oct 14, 2009 6:03 am
Forum: PHP - Code
Topic: Why does my php page download images over and over
Replies: 8
Views: 317

Re: Why does my php page download images over and over

Once again, thanks Eric

I am currently using that online, and it has been quite useful!

Great find!
by grantp22
Tue Oct 13, 2009 8:24 am
Forum: PHP - Code
Topic: Why does my php page download images over and over
Replies: 8
Views: 317

Re: Why does my php page download images over and over

Thanks Eric, the link you provided http://www.mnot.net/cache_docs/ short extract as seen below, seems to explain my problem in a nutshell or at least sounds like it could be the cause! Implementation Notes — Server-Side Scripting One thing to keep in mind is that it may be easier to set HTTP headers...
by grantp22
Tue Oct 13, 2009 8:13 am
Forum: PHP - Code
Topic: Why does my php page download images over and over
Replies: 8
Views: 317

Re: Why does my php page download images over and over

Yes thanks, I'll give it a try
by grantp22
Mon Oct 12, 2009 6:57 pm
Forum: PHP - Code
Topic: Why does my php page download images over and over
Replies: 8
Views: 317

Re: Why does my php page download images over and over

Well I'm testing on my own system with IE7, my website is hosted on a free webserver http://www.000webhost.com and it's downloading every single image over and over. My browser does not do this with any other site that's why I was wondering if it's my code structure or the HTML header?
by grantp22
Mon Oct 12, 2009 4:25 pm
Forum: PHP - Code
Topic: Why does my php page download images over and over
Replies: 8
Views: 317

Why does my php page download images over and over

Can anybody please explain to me why my php page keeps downloading the images and other items every single time the page is loaded or refreshed. I would have thought that the images get cached and re-used without having to download the images etc, all the time, over and over! This happens everytime ...
by grantp22
Sat Oct 03, 2009 6:32 pm
Forum: PHP - Code
Topic: Why does process.php only show code and not process data
Replies: 1
Views: 117

Why does process.php only show code and not process data

Hi can anybody help me with this problem, I have a simple login form that I created for testing on localhost that submits username and password to process.php, but when process.php is called the brower outputs the code content of process.php and nothing actually gets processed. Session.php is includ...