Search found 32 matches

by zed420
Sat Aug 29, 2009 10:14 pm
Forum: PHP - Code
Topic: Select Query
Replies: 5
Views: 114

Re: Select Query

1 to 24 this is the JavaScript I'm using to generate this <script type="text/javascript">   window.onload = function() { var s = document.booking_form.s_time; var e = document.booking_form.e_time; s.selectedIndex = 0; e.selectedIndex = 1; s.onchange = function() {   for(var i = 1; i < e.op...
by zed420
Sat Aug 29, 2009 9:31 pm
Forum: PHP - Code
Topic: Select Query
Replies: 5
Views: 114

Re: Select Query

Thanks for your reply, Numbers
by zed420
Sat Aug 29, 2009 4:33 pm
Forum: PHP - Code
Topic: Select Query
Replies: 5
Views: 114

Select Query

Hi All I've been struggling with this query for past 4days now see If anyone can help me please. A typical day's diary starts from 8am till 9pm, normally you would book an hr but just to test the script I booked 8am to 9pm so that means all day has been booked NO other booking can be taken for this ...
by zed420
Mon Aug 03, 2009 3:21 am
Forum: PHP - Code
Topic: Today's Date
Replies: 0
Views: 96

Today's Date

Hi All I've taken this simple calendar from net I'm trying to highlight Today’s date I can NOT seem to work it out. Some help will be greatly appreciated. Thanks Zed <?php     $monthNames = Array("January", "February", "March", "April", "May", "...
by zed420
Mon Jul 13, 2009 12:12 pm
Forum: PHP - Code
Topic: Payment Methods
Replies: 2
Views: 127

Re: Payment Methods

Thanks for your reply.
Zed
by zed420
Sun Jul 12, 2009 12:36 pm
Forum: PHP - Code
Topic: Payment Methods
Replies: 2
Views: 127

Payment Methods

Hi All
Can anyone please tell me how can I add payment methods to my site e.g. Paypal, Google etc..

Thanks
Zed
by zed420
Mon Feb 23, 2009 7:25 am
Forum: PHP - Code
Topic: Problem retrieving full list of subcat
Replies: 0
Views: 106

Problem retrieving full list of subcat

Hi All I'm trying to populate two dropdown box's, one is Category and by selecting one of them the second dropdown box is populated with it's Subcat, this code below works bit strangely it only gives me ONE Subcategory(client_site) can anyone please tell me why only one??? I've got about 10 site to ...
by zed420
Thu Feb 19, 2009 12:37 pm
Forum: PHP - Code
Topic: Select value not inserting
Replies: 1
Views: 107

Re: Select value not inserting

Anyone ???? Hi All I have a small problem with my code I hope someone can help me, the code below works fine apart from one thing that I can NOT seem to figure out. Two dropdown boxes populate from to another, onload it populates the Client Name and when you select one of them it populates the other...
by zed420
Wed Feb 18, 2009 10:16 am
Forum: PHP - Code
Topic: Select value not inserting
Replies: 1
Views: 107

Select value not inserting

Hi All I have a small problem with my code I hope someone can help me, the code below works fine apart from one thing that I can NOT seem to figure out. Two dropdown boxes populate from to another, onload it populates the Client Name and when you select one of them it populates the other(site_name) ...
by zed420
Tue Feb 10, 2009 10:45 am
Forum: PHP - Code
Topic: link via button not working
Replies: 4
Views: 284

Re: link via button not working

You were absolutely right Ziq, I've used the radioboxs instead, this is what I ended up with some help off course. Its working. Thanks for your help Zed <?php session_start(); ?> <html> <head> <title>Blank Page</title> </head> <body> <script type="text/Javascript"> var viewid=''; function ...
by zed420
Mon Feb 09, 2009 6:47 am
Forum: PHP - Code
Topic: link via button not working
Replies: 4
Views: 284

Re: link via button not working

Yes employee_id is the primary key of employee table. What I want is to check a checkbox of a record and hit a JavaScripted button that gives me a new window and detail of that record. I know its possible because i'm nearly there the only truble I'm having is, its not showing me the checked recored ...
by zed420
Mon Feb 09, 2009 3:45 am
Forum: PHP - Code
Topic: link via button not working
Replies: 4
Views: 284

link via button not working

Hi all I hope someone can help me, I’m trying to open another page by using checkboxes and JavaScript on a Button. JavaScript is fine it opens up a new page but I can NOT seem to take the checked link, it keeps on opening the last record even thou I’m checking different record. How the hell do I do ...
by zed420
Sat Jan 03, 2009 10:01 am
Forum: PHP - Code
Topic: How to Update
Replies: 2
Views: 152

How to Update

Hi All Can someone please put me on right direction, I'm trying to Edit a field called $fare from the database, this code below works fine as long as there is only one field called $fare1. My problem is there are 21 fields like this one for each customer e.g $cust1, $fare1, $cust2, $fare2 ... How th...
by zed420
Tue Dec 02, 2008 12:01 pm
Forum: PHP - Code
Topic: Duplicate Results
Replies: 3
Views: 273

Re: Duplicate Results

Thanks blue Zed Hi Zed, I try to avoid using SELECT * unless I absolutely am sure I want to support a dynamic number of things to reference in the future...plus when posting because I know one of our fellow forum members prefers it. I recommend saving the query but not executing it and then using a ...
by zed420
Tue Dec 02, 2008 11:56 am
Forum: PHP - Code
Topic: Help needed with code
Replies: 1
Views: 172

Help needed with code

Hi All Can someone point me in right direction please. I'm trying to send data from one page to another by using Checkboxes. First why doesn't header take the id and news to newsDisplay.php page even thou by clicking display button the page comes up but WITHOUT the id and news rows. The second code ...