Search found 46 matches

by assgar
Sun Oct 17, 2010 2:05 pm
Forum: PHP - Code
Topic: Function parameter
Replies: 1
Views: 126

Function parameter

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 the f...
by assgar
Tue Sep 07, 2010 10:16 pm
Forum: Javascript
Topic: javascript and sticky page
Replies: 1
Views: 446

Re: javascript and sticky page

Hello I have made some changes that provise some hope. When I select the link the sticky form works and the values are not lost. The url display the value for the selected option. The is problem I am now having is with the $option = $_REQUEST['u_source_id']; it is not receiving the url value. The ph...
by assgar
Mon Sep 06, 2010 5:43 pm
Forum: Javascript
Topic: javascript and sticky page
Replies: 1
Views: 446

javascript and sticky page

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 name, title and option is selected the data is...
by assgar
Sun Aug 01, 2010 6:21 pm
Forum: PHP - Code
Topic: Comparing arrays
Replies: 2
Views: 424

Re: Comparing arrays

Hello Thanks for the suggestion. The problem was solved here is the solution: $exist = array();//create array //store values in array $query = "SELECT type FROM contact WHERE id ='$id' AND deleted = 'N' ORDER BY type"; $result = mysqli_query ($mysqli, $query); while($row = mysqli_fetch_arr...
by assgar
Sun Aug 01, 2010 4:07 pm
Forum: PHP - Code
Topic: Comparing arrays
Replies: 2
Views: 424

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 $list should have 110,111,112,113,114,115. A...
by assgar
Sun Jan 18, 2009 12:10 pm
Forum: General Discussion
Topic: Sticky note refresh not working
Replies: 1
Views: 351

Re: Sticky note refresh not working

Hello Thanks for all you responses and suggestion/solutions. This was a great exerecise. I learned alot more how to use javascript I have two ways to accomplish the task of having a sticky form that also display database derived dynamic listing. The listing search is determined by a dropdown selecti...
by assgar
Mon Jan 12, 2009 11:25 pm
Forum: General Discussion
Topic: Sticky note refresh not working
Replies: 1
Views: 351

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 with a submit button and no javascript See test 1 and test 3. If yo...
by assgar
Sat Jan 10, 2009 5:03 pm
Forum: General Discussion
Topic: Hide browser address bar or contents
Replies: 2
Views: 317

Hide browser address bar or contents

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 and linux servers.

Thanks in advance
by assgar
Sun Sep 28, 2008 6:06 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: CSS Menu List
Replies: 1
Views: 5507

CSS Menu List

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 colour of the link and ...
by assgar
Sat Sep 27, 2008 10:39 am
Forum: PHP - Code
Topic: passing sessions between pages
Replies: 3
Views: 207

Re: passing sessions between pages

Thanks for the solutions. Enabling cookie was the temporary solution. I will store the session info in a database. How do I accomplish the example below if I disable cookies? example: I have a 20 pages I need to pass the same user preferences\permissions\data across. I have been using sessions in IE...
by assgar
Thu Sep 25, 2008 11:08 pm
Forum: PHP - Code
Topic: passing sessions between pages
Replies: 3
Views: 207

passing sessions between pages

Hi 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     //This is my PHP.ini file session configuration be...
by assgar
Sat May 31, 2008 9:13 am
Forum: General Discussion
Topic: creating a sticky form compatible with onChange
Replies: 2
Views: 276

Re: creating a sticky form compatible with onChange

Thanks for the suggestion
by assgar
Sat May 17, 2008 5:12 pm
Forum: PHP - Code
Topic: creating dynamic columns and rows with data
Replies: 0
Views: 1112

creating dynamic columns and rows with data

creating dynamic columns and rows with data 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 na...
by assgar
Sun Apr 20, 2008 11:16 am
Forum: PHP - Code
Topic: looping through a multi dimentional arrry
Replies: 3
Views: 135

Re: looping through a multi dimentional arrry

Hi thanks for responding After various approaches that worked partially this is the solution. I am open to suggestions on improving on it. NOTE:I have temporarily removed the appointments loop to focus on the event type looping.    <?  //work hours   $min_start1 = "09:30:00";//earliest app...
by assgar
Sun Apr 13, 2008 12:08 pm
Forum: PHP - Code
Topic: looping through a multi dimentional arrry
Replies: 3
Views: 135

Re: looping through a multi dimentional arrry

Hi I made the rows easier to read. But that is not my problem it’s the looping. I have worked the code and have all the event types showing for each day column. Which is what I am trying to accomplish. The problem is the if the person is working a short day i.e. 9:00AM to 12:00PM the last type colou...