Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~11.5K People Reached
Favorite Forums
Favorite Tags

43 Posted Topics

Member Avatar for assgar

Hello I am trying to add two records to an array so I can identify which record has a priority 1 or priority 2. This is not working, how do get this to work? <? //get data from database $query = "SELECT a.street, a.city, a.province, b.dob, b.id1_name, b.id1_value, b.id1_priority, b.id2_name, …

Member Avatar for assgar
0
151
Member Avatar for assgar

I am trying to use a single select to get the first and last name for a group of users. Here are the two approaches (Test 1 & Test 2) I tried to get the data. Both approach gave the same error. [CODE] Error: Unknown column 'norma' in 'where clause' …

Member Avatar for assgar
0
1K
Member Avatar for assgar

Hello I am experiencing some issues with a function and I cannot identify the problem. The function is not receiving any parameter. The URL values are passed correctly. I used echo to display the parameters outside the function and that worked. I also used echo to display the parameters inside …

Member Avatar for Member #120589
0
64
Member Avatar for assgar

Hello I am new to JavaScript and need some assistance. I am trying to create a page/form where the user enters first and last name and select their title (Mr, Miss or Mrs). There is also the ability to select 1 of 2 options by clicking a link. After the …

Member Avatar for assgar
0
223
Member Avatar for assgar

Title: Comparing arrays Hello I am having a problem getting the difference between two arrays. The first array $list has all codes that can be linked to a specific id The second array $exist has the values select and linked to a specfic id. Both arrays are storing integers array …

Member Avatar for assgar
0
87
Member Avatar for assgar

Schedule Repeat events Hi I am stuck in fact I don't know where to start, can you point me in the right direction? I have the form to capture the user input but don't know how to proceed to use this information. I need to allow the user to schedule …

Member Avatar for gearond
0
1K
Member Avatar for MCAmy

[quote=MCAmy;97081]Hello, can someone please help me with this string? Right now, it will validate keywords separated by commas, lowercase only, and any two digit numbers by themselves also separated by commas. How do I further modify it to permit /up to/ two keywords, trimming any extra spaces that might be …

Member Avatar for rokape
0
177
Member Avatar for assgar

Sticky note refresh not working Hello I am trying to create a sticky form. I would like to use javascript to refresh the page using drop down selection to trigger the refresh. The problem is I cannot get it to work. See test3. I tried two other example that worked …

Member Avatar for assgar
0
146
Member Avatar for assgar

Hello I would like to hide the address bar for Firefox and internt Explorer. What is the best way to accomplish this? Will I still be able to pass values to other pages using the hidden address bar? Note: I am using PHP, Mysql. These pages will run on windows …

Member Avatar for MidiMagic
0
114
Member Avatar for assgar

Hi My menu list displays correctly for Internet explorer. I am having problems with my menu list display properly in firefox. The row height should be 15px, but in firefox the row display twice as height than in IE. Note: The menue display a link, mouse over should change the …

0
115
Member Avatar for assgar

Hi I am having problems with sessions. When using Internet Explorer I can pass sessions to other pages. I cannot pass sessions when I use Mozilla Firefox. //at the top of the page session_start(); //value passed $last_login = $_SESSION['s_last_login'];//last user login history PHP.ini: //This is my PHP.ini file session configuration …

Member Avatar for R0bb0b
0
122
Member Avatar for assgar

Hi I am trying to get the number of hours and minutes between two time time stamps. The expected results should be 1:59 (h:mm) instead I am getting 1:58 (h:mm). What is wrong with my approach? Is it also possible to use a built in php function so I don't …

Member Avatar for darkagn
0
231
Member Avatar for assgar

Hi I am new to javascript. I have two drop downs used to reload the page displaying selected information. How do I get the OnChange function to pass year and user form the drop down. I also need to pass data in the array $month. [code] <html> <head> <body> <script …

Member Avatar for assgar
0
322
Member Avatar for assgar

Hi I was using PHP sessions to create a sticky form but a button was needed to reload the page. I am new to Java and I have decided to do away with the button. Using onChange="javascript:OnChange(this) to cause the page to reload once a selection is made from a …

Member Avatar for assgar
0
156
Member Avatar for assgar

Hi I would like to put a list of ids in an array and loop to select data from a table using "IN" in the where clause. I am not having any success getting this to work. Any suggestions? Note:I am using Mysql database, apache, linux/Windows <? //array with list …

Member Avatar for assgar
0
128
Member Avatar for assgar

Hi The goal is to allow the user the ability to compare daily schedules of between 1 to 7 users. The number of columns/user schedule and column headers are dynamically created base on user selection. Each user schedule is set up in columns with the user name at the top …

0
121
Member Avatar for assgar

Hi I have 7 arrays for all containing the same data:time_id, start_time, end_time and colour. Each array represent a day of the week. There are a total of seven columns to display. I have combined them into a three multi dimentional to display data form the 7 layers which are …

Member Avatar for assgar
0
119
Member Avatar for assgar

Hi I am trying to display appointments in a database and would like to display all appointments for a week. The time of the day appears on the left and vertical columns with the names of appointments on the right. The code below only generates a single column of names. …

0
86
Member Avatar for assgar

Hi I am having problems how to proceed in editing appointment info. In this example I have a meeting (code 201) on Monday (day code 550) from 09:00:00 to 12:00:00. This is stored in the data table as: start_time end_time start_date end_date week_day type_code 09:00:00 12:00:00 2008-01-01 2008-01-01 550 201 …

Member Avatar for assgar
0
97
Member Avatar for assgar

Hi I am trying to increment the date using weekly increments. I need to determine the start and end dates and the week number of the year. If you can suggest another approache that is OK, but this is what I came up with. I am having problems getting the …

Member Avatar for assgar
0
2K
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

Member Avatar for assgar
0
101
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

0
84
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. WHAT I NEED HELP ACCOMPLISHING: How to do I insert data into a table for a date range of two or more months, where every second or third week should …

0
73
Member Avatar for assgar

I am having problem with my loping. I don't know if I have chosen the correct approach. GOAL: I need to insert into a table event types for a specific date range. The calendar the event type is displayed on is divided into 15 minutes time intervals A group consist …

0
99
Member Avatar for assgar

Hi How can I add 15 minutes to the previous event time (timestamp) to get the next event time. Note: This event time is not in a table. Straight forward adding the two values will probly not provide the correct result. I can get the correct time with Mysql addtime($time, …

Member Avatar for assgar
0
175
Member Avatar for assgar

Hi I am having a problem with the height of my dynamically create rows. The data is retrived properly form the database, the issue is displaying the rows. When there are alot of results to dusplay the rows are displayed correctly. If there are a few rows the hight can …

Member Avatar for assgar
0
206
Member Avatar for assgar

Hi I am not sure I am approaching this correctly. I need to increment the appointment time by 15 mins for each loop. This is would be the correct result: 13:00, 13:15, 13:30, 13:45, 14:00, This is what I am getting: 13:15, 13:15, 13:15, 13:15, 13:15 The user selects the …

Member Avatar for dr4g
0
1K
Member Avatar for assgar

Hi I am php newbie and I don't know if I am approaching this properly. I need to creat a scheduler that list the appointment time on the left and client for a specific appointment time on the left. NOTE: The appointments are stored in a Mysql database This is …

Member Avatar for assgar
0
107
Member Avatar for assgar

Hi Multiple rows of dynamically created data is retrived from the database and displayed properly. When I get 50 rows displayed scrolling is necessary. The problem is when I scroll to see the items at the bottom of the list the rows get blurred (jumbled). To be specific at the …

Member Avatar for assgar
0
93
Member Avatar for assgar

Hi I was using a schroll bar to display multiple rows of dynamically created from database records. The scrolling was not displaying the data properly so I have decided to use pagination. The problem I am having is, if I select one item on page #1 and another on page …

0
76
Member Avatar for assgar

Hello I have changed the process code abit so it receives the data from the form and ensures the data in array format. This has eliminated my previous error. The problem I am experiencing is the looping is not displaying the all contents of the arrays. Do you have any …

Member Avatar for shivamsoftware
0
119
Member Avatar for assgar

I am having problems getting the user selected form info to inserted into the mysql database. I am also rec eving an error: Warning: Variable passed to each() is not an array or object in D:\web_server\webroot\common_list_process.php on line 1) I can display the contents of the $op array (see below) …

0
71
Member Avatar for assgar

Hi I need help solving a porblem. I have a form that displays a checkbox, service code, description and dropdown with fees on each row. The fee_money and unit array only returns a selected value from the first item (checkbox). When I used the line below in the processor, it …

Member Avatar for php_daemon
0
126
Member Avatar for assgar

Hi Its back, I am being haunted. I thought I had resolved this problem but I am intermittently the receving the warnings below. This code consist of a 1) HTML form, 2) a display function on the HTML form and 3) a process to manage the form input. Can you …

Member Avatar for assgar
0
89
Member Avatar for assgar

Hello First sorry if there is to much code in this example. I am new to working with multi page forms. I have a search form that gets preloaded info from the database. There are 3 scripts (a html page, a preload script and a process script). There is a …

0
89
Member Avatar for assgar

Hi I thought I had resolved this problem but I am intermittently the receving the warnings below. This code consist of a 1) HTML form, 2) a display function on the HTML form and 3) a process to manage the form input. Can you show me what I am doing …

Member Avatar for assgar
0
269
Member Avatar for assgar

Hi I need to allow the form user to fill out the form using alpha numeric characters only. After reading what I could find this my first attempt to use preg_replace. This works but I need to make sure I am validating the user form input. Have I missed any …

Member Avatar for Puckdropper
0
125
Member Avatar for assgar

Hello I am working on a search page. When you type the person's name insted of displaying a listing I want to be redirectd to the user information. I am getting a warninig: Warning: cannot modify header information - headers already sent( at start of D:\search.php: 108) in d:\search_play.php on …

Member Avatar for Dani
0
109
Member Avatar for assgar

Hello I have a search page where you select the letter of the alphabet and the person's information who's name beginning with that letter is displayed. This function is placed on the web page to search and display the information. Everything works except one thing. The problem is if there …

Member Avatar for assgar
0
107
Member Avatar for assgar

Hi I would like offer the user a choice of displaying search results. They should be able to select which column to ORDER BY and in ascending or descending order. $sort_order contain colums name $sort_type contain desc or asc How can I use these two arrays in the order by …

Member Avatar for nickclarson
0
176
Member Avatar for assgar

Hello I have information comming from a form to the process below. the process validates user input using preg_match found in a function (valid.php) before inserting into a mysql database. This is my first attempt to use preg_match to validate user input and may have coded it incorrectly. The database …

Member Avatar for assgar
0
193
Member Avatar for assgar

Hi Can you see somthing I am missing? My form is passing arrays to the process and the process is producing some errors. I cannot see any problems. In fact I have two other simular foreach loops that are not creating errors. Thanks [php] <?php $fee2_choice = strip_tags(trim($_POST['fee2_choice'])); $fee2_choice = …

Member Avatar for assgar
0
175
Member Avatar for assgar

Hi Developemnt on win2003 server. Final server will be linux Apache,Mysql and PHP is being used. I use 2 scripts(form and process). The form displays multiple dynamic rows with chechboxs, input box for units of service, description of the service and each row has its own dropdown list of unit …

Member Avatar for assgar
0
1K

The End.