Search found 42 matches
- Tue May 18, 2010 8:07 pm
- Forum: PHP - Code
- Topic: query matching
- Replies: 3
- Views: 160
Re: query matching
right now I do not have a working formula and just trying things out. Can you give me an example how to match the data from two tables and the result will be shown in a single table. Thanks
- Tue May 18, 2010 5:46 pm
- Forum: PHP - Code
- Topic: query matching
- Replies: 3
- Views: 160
query matching
I am trying to create some sort of couple matching. I have 2 tables namely Boy and Girl which both have the same fields which is shown below ID Name Age Birthdate Bith Sign Hobbies Interests I want to rank them according to the sample fields I provided above. In the web form, the fields for Birth Si...
- Wed Nov 18, 2009 7:09 pm
- Forum: PHP - Code
- Topic: need healp age calculator
- Replies: 4
- Views: 488
Re: need healp age calculator
Thanks can you post some sample codes that I can work on. I am currently reading the date manual
- Tue Nov 17, 2009 10:58 pm
- Forum: PHP - Code
- Topic: need healp age calculator
- Replies: 4
- Views: 488
need healp age calculator
I need some help creating an age calculator which will display your exact date example:
Birth date: 2000-11-03
Date Today: 2009-11-18
Exact age: 9 years 0 months 15 days
Any idea on how can this be done? Sample codes is much appreciated
Thanks
Birth date: 2000-11-03
Date Today: 2009-11-18
Exact age: 9 years 0 months 15 days
Any idea on how can this be done? Sample codes is much appreciated
Thanks
- Tue Oct 06, 2009 2:05 am
- Forum: PHP - Code
- Topic: file zip problem
- Replies: 0
- Views: 247
file zip problem
I found this code on the net and I use it to zip a text file. The problem is when I try to extract the file is says an error "unexpected end of file". I tried to zip the text file manually and extract it afterwards and it works just fine. Any idea what seems to be the problem? Thanks echo&...
- Tue Sep 22, 2009 8:08 pm
- Forum: PHP - Code
- Topic: read and echo a specific column in a tab delimited text file
- Replies: 1
- Views: 90
read and echo a specific column in a tab delimited text file
How can I read and echo a specific column in a tab delimited text file. For example:
|Company Name | Address | Owner|
Above I only want to display all the data under Company Name column
Any idea? Thanks
|Company Name | Address | Owner|
Above I only want to display all the data under Company Name column
Any idea? Thanks
- Thu Sep 17, 2009 2:19 am
- Forum: PHP - Code
- Topic: how to filter filename in file upload
- Replies: 2
- Views: 191
Re: how to filter filename in file upload
Thanks but I am referring to the "file name" not the "file extension"
- Thu Sep 17, 2009 1:37 am
- Forum: PHP - Code
- Topic: how to filter filename in file upload
- Replies: 2
- Views: 191
how to filter filename in file upload
I have a standard format for my filename which is
user1_name_date
for example:
user1_greedy_09202009
Thus when the user browse for a file with a different filename format it will display an error "Invalid filename format". Any idea on how can this be done. Thanks
user1_name_date
for example:
user1_greedy_09202009
Thus when the user browse for a file with a different filename format it will display an error "Invalid filename format". Any idea on how can this be done. Thanks
- Thu Sep 17, 2009 1:21 am
- Forum: PHP - Code
- Topic: help with file function
- Replies: 1
- Views: 249
help with file function
I have a table Company with 3 fields namely Name, Address and ContactInfo. The data is tabulated in ms excel and then exported into text. I want to use the file functions of php which is first is to get the number of columns of the text file which must be 3 columns and second is to get and echo the ...
- Tue Aug 25, 2009 8:14 pm
- Forum: PHP - Code
- Topic: store current auto increment value
- Replies: 2
- Views: 155
store current auto increment value
I have a Student table and StudNo field which is set as primary key and auto increment is enabled. My problem is when I delete a specific row I noticed that the auto increment value remains the same. So is there a way to get the current auto increment value and store it to a variable? Sample code is...
- Sun Aug 23, 2009 8:51 pm
- Forum: Databases
- Topic: need help regarding my table structure
- Replies: 4
- Views: 625
need help regarding my table structure
I have a Employee table where its structure is EmployeeID, EmployeeName, Department and ClientsName. My problem is one employee can have many clients so my question is what is a good way on how to store multiple records to a single fields? In my case I plan to use a multiline textbox for inputting t...
- Sun Aug 23, 2009 8:20 pm
- Forum: Databases
- Topic: help regarding auto increment
- Replies: 1
- Views: 299
help regarding auto increment
I have a table employee where EmployeeID field is set as primary key. How can I create a custom auto increment for my EmployeeID for example: EmployeeID SDD00001 SDD00002 SDD00003 Thus when new records are inserted it will automatically increment just like in the example. Any idea on how can this be...
- Wed Jul 15, 2009 10:30 pm
- Forum: Javascript
- Topic: help w/ javascriopt for dates
- Replies: 1
- Views: 486
help w/ javascriopt for dates
Hi I am currently working on some sort of scheduler for our school project. My current problem is I need a javascript that goes like this: Date From: 07/18/2009 Date To: 07/06/2009 Thus this will show some popout error message saying "Date From must not be ahead than Date To". I manage to ...
- Sun Jul 05, 2009 9:22 pm
- Forum: PHP - Code
- Topic: need some help regarding query
- Replies: 0
- Views: 40
need some help regarding query
Sorry guys my topic title seems irrelevant because I cannot think of any other title for it. Anyways I am currently working on some sort of a scheduler which all data are stored into a database. My problem is my manager wants a function that goes like this: Employee A - has a business trip for Week ...
- Wed Apr 01, 2009 10:05 pm
- Forum: PHP - Code
- Topic: create client side javascript alert in php
- Replies: 1
- Views: 118
create client side javascript alert in php
I have 2 date fields namely date_from and date_to. A javascript alert pops out when date_from is ahead of date_to for example date_from: 2009-04-25 //Error date_from is greater than date_to date_to: 2009-04-11 What I want is to create a validation using javascript alert whenever the user clicks on t...