Search found 16 matches
- Wed Sep 01, 2004 5:14 am
- Forum: PHP - Code
- Topic: returning part of a string
- Replies: 5
- Views: 699
returning part of a string
Hi there I'm a bit of a PHP part timer so if this is stupidly obvious then forgive me. Hopefully someone can help me! I want to return part of string a that i'm lifting out of a forum db table. eg - text that is in the db [color=red:5da1c4d043]Team Leader: [b:5da1c4d043]Ashley Peake[/color:5da1c4d04...
- Thu Jul 01, 2004 5:51 am
- Forum: PHP - Code
- Topic: [SOLVED] iterating a for loop
- Replies: 3
- Views: 225
- Thu Jul 01, 2004 3:42 am
- Forum: PHP - Code
- Topic: [SOLVED] iterating a for loop
- Replies: 3
- Views: 225
iterating a for loop
hi there i would like to know how i can break out of a 'for' loop and tell it to start again with the next iteration. for example i am using the code below to loop through an array of results i have previously got from a table and then use the returned rows to execute a series of sql statements. for...
- Mon Mar 15, 2004 3:28 am
- Forum: PHP - Code
- Topic: newbie help with passing sensitive information along forms
- Replies: 4
- Views: 929
- Sun Mar 14, 2004 9:13 am
- Forum: PHP - Code
- Topic: newbie help with passing sensitive information along forms
- Replies: 4
- Views: 929
- Sun Mar 14, 2004 5:10 am
- Forum: PHP - Code
- Topic: newbie help with passing sensitive information along forms
- Replies: 4
- Views: 929
newbie help with passing sensitive information along forms
Hi there I was wondering whether anyone can help a php newbie. I have a number of forms that the user has to fill out for a project i've done. The user has to fill out personal details, address details and various other bits so i've split the forms over a number of pages. Each time the user submits ...
- Tue Dec 23, 2003 7:13 am
- Forum: PHP - Code
- Topic: getting dates from 2 booking tables to display as booked
- Replies: 2
- Views: 309
- Tue Dec 23, 2003 4:59 am
- Forum: PHP - Code
- Topic: getting dates from 2 booking tables to display as booked
- Replies: 2
- Views: 309
getting dates from 2 booking tables to display as booked
Hi there i'm fairly new to php so be gentle I am doing a booking sytem for a motorhome company that has two motorhomes. I have 2 tables in my db (one for each motorhome) that record the dates booked by the user. The user can view a calendar that shows when dates are booked. However this only works c...
- Mon Nov 03, 2003 6:16 am
- Forum: Databases
- Topic: inserting multiple incrementing values into same column
- Replies: 5
- Views: 765
- Mon Nov 03, 2003 5:20 am
- Forum: Databases
- Topic: inserting multiple incrementing values into same column
- Replies: 5
- Views: 765
- Mon Nov 03, 2003 5:17 am
- Forum: Databases
- Topic: inserting multiple incrementing values into same column
- Replies: 5
- Views: 765
thanks for replying mac :lol: i did think of doing what you said - using a start date and an end date but the problem i have which i should have made clear first time around is that the user can also book a shorter break starting from a friday to the following monday. so i could do with a table wher...
- Sun Nov 02, 2003 11:01 am
- Forum: Databases
- Topic: inserting multiple incrementing values into same column
- Replies: 5
- Views: 765
inserting multiple incrementing values into same column
hi there can u help a newbie who's confused?!!? i would be really grateful if anyone can help me out. i would like to know how i can insert a series of incrementing date values in date format (eg 2003-10-03, 2003-10-04, 2003-10-05 etc) into seperate rows of a table but in the same 'date' column i ha...
- Sun Nov 02, 2003 7:52 am
- Forum: PHP - Code
- Topic: newbie help: incrementing a date variable into a db
- Replies: 2
- Views: 457
newbie help: incrementing a date variable into a db
hi there i'm a bit of a newbie to php. i'm currently trying to develop a booking system for a motorhome. the motorhome can only be booked from friday to friday so the user can select through a drop down only the fridays of a given month to book a starting date (already recieved help from this forum ...
- Mon Oct 27, 2003 11:14 am
- Forum: PHP - Code
- Topic: Getting all the Fridays from a month
- Replies: 4
- Views: 411
thanks volka - it's displaying the first friday of every month. what i would like it to do is to loop through giving every friday for a particular month that is already set. i'll be passing the month and the year to the page and want it to show all the fridays of that month. thanks for all your help...
- Mon Oct 27, 2003 10:20 am
- Forum: PHP - Code
- Topic: Getting all the Fridays from a month
- Replies: 4
- Views: 411