Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Specific Calender


I'm a designer by trade so PHP can sometimes be a little out of my comfort zone, but thats always a good place to be, right? I have a specific and I should imagine very easy thing i need to set up. I'm making a website for a band who play a lot of live shows. I wonder if anyone has the best solution to make a list of their shows that automatically deletes a show once it's date has passed. You know the way, say, the Myspace live list works. I don't need any fancy calender graphics or anything like that. Just a self-updating list.




View Complete Forum Thread with Replies

Related Forum Messages:
MS Outlook Calender To Web Calender
Does any one know of an open source calender sync that will take my appointment in outlook and post them to a web calender. I schedule alot of meeting and it would be great to have this feature made avialable so I don't always have to work so much at tring to schedule a time using emails.

View Replies !
Calender
I am creating a PHP calendar from when I can click a specific date and save the date in the database together with the user who click the the date in the calendar.

View Replies !
Days In A Calender
I am trying to write a calender display that shows the days of the month accross the top of a table, and people's names down the side. One of the things I would like to do is to change the colour when the days are Saturday or Sunday. PHP Code:

View Replies !
Simple Calender
I am developing a very simple calendar that displays links to classes that fall within a given month. To have the page display the current month's classes, I have used: PHP Code:

View Replies !
PHP / HTML Calender
im looking to make an events calender in PHP/HTML. The calender would be simple with a link on each date, once you click on the link it would post the date value to a detailed info page using the GET method, i would then use the date value to search mysql and display that days events on a seperate page.

Now i have been looking around the net and came across a few javascript generated calenders, but i cant seem to find a solution that will allow me to control the calender content using PHP. Has anyone ever tried this?

View Replies !
Popup Calender
In php how to popup Calender and on click date ,month and year its value store in textfield and those value store in database.

View Replies !
Creating A Calender
I would like to create an online calendar for a friend. It needs to be able to add notes on each day and if possible highlight the boxes. That's all.

I promise, I have checked all the posts on this site. I have gone through Google. I have done everything I can. I'm looking for a link to a tutorial, a script that needs little customization or some sort of magical dwarf that could come and do it for me.

I really have no clue on anything practical in PHP yet, and what's more I have a horrible feeling that this task could include mySQL and database-y things....

You people have been so helpful before, any chance you could be again??

View Replies !
Date Calender
from where can i get the Date Calender just like in Phpmyadmin where user selects date from a calender page and the result returns in a timestamp ? you can see it when u select a date data type and insert the record thru phpmyadmin's INSERT option , you get this java script popup calnder.

View Replies !
How To Get The Calender Onto One Of My Pages.
I created a web calender using php and it is tied to sql. I am using yahoo for hosting but I cannot figure out how to get the calender onto one of my pages.

View Replies !
Login & Calender
I'am wondering tha is benifit off creating loggin class instead of function? is there eny? and my next thought is about calendet. I ll have 3 calenders (for 3 diff month) on page with ll show week, day, and they ll by clickble. is there any benefits to writte class instead of funktion? I mean if I writte class so I have to create 3 object with ll take more place in server memory. but if I have one funktion wich I call 3 times it ll by faster( ).

View Replies !
Converting A Calender Date
I am converting a calender date..i got a example from PHP Manual. the code is PHP Code:

View Replies !
Calender Script/Schedule
Does anyone have any recommendations or tips on where I can go to find a good scheduling script or a tutorial to make one? I'd perfer to make my own for security reasons so I know the code and for later addons.

Basically I need to re-create something like http://radio.virtualdj.com/schedule/schedule.php where djs can login to book a time on the online radio and then it blocks the slot off.

View Replies !
To Display The Events In Calender
I have designed a event calender in which i have to display an anchor for the dates on which events are added. the calender is getting displayed but the event dates are not getting displayed within the calender.

View Replies !
Online Booking Calender
I wanted to put a calender on my website to allow people to see up coming clasess we have and allow them to booking/pay for them also. I would add them in the back end and how many spots are availble and when someone clicks on to pay for the class and checks out all the way it would subtract it from the total amount.

I would also like it to show on the date when all spots are gone Sold out and when only one is left only 1 spot left. I would like to see if there is a script out already that does this now. I am new to php/mysql so it would be great to find this.

View Replies !
Calender - Availability Chart
I have availability on my site in an calendar and I manually introduces if available for that day or not. But I want to do it autmatically. At the moment I have the reservations in an database table, I have arrival in one column and departures in another column, both date types.

View Replies !
How To Tell To Send A Specific E-mail At A Specific Time
How to tell PHP to send a specific e-mail at a specific time (newsletter).

View Replies !
Displaying Files In A Folder Using A Calender
I have excel sheets generated daily and weekly in this format for filenames..for daily sheets the filename is Jan-10-2002 (mmm-dd-yyyy) and weekly Week-39-2002. I have a script that uploads to a constant folder all the excel sheets.

Is there a script that can display the daily scripts in form of a calender. I.E a user can choose to view or download the sheet by choosing the date? Also another for displaying weekly excel sheets in a weekly format.

View Replies !
Calender Change The Background Colour
im have made a calender that i want to tie into a sql database , and depending on the value in the database will change the background colour of that day in the calender, the problem im having is with the following:

$colour = "#FF0000"; // this is just to test whether the background colour changes
$cal_event_opentd = "<td align=center bgcolor=#<?php echo $colour;?><b>"; 

but for some reason the backgroud doesnt change,can anyone tell me where im going wrong.

View Replies !
Calender / Date Picker Script
I have been looking for a script to display a calender / date picker within my web page to be able to select a date from.  Different from the ones I have found, I want to be able jump back and forward through months / years without having to reload the page.  I guess this will probably done using somthing client side such as javascript or CSS?  Can anybody give poitn me to one or give me something to start from?

View Replies !
Echo To A Specific Div On A Specific Page
Is it possible to echo something from a php file to a specific div in a different specific html file?If so, can you let me know how to specify where the data should displayed.

$myName="john";

echo '$myName'//but i want to echo to a different page on a certain part of that page.

View Replies !
Sending People To Specific Pages That Are Coming From Specific Pages...
I want to show some specific pages to people that comes to my site from
specific urls, I know the variable $_SERVER['HTTP_REFERER'] will be
used but how?

For ex if the visitor comes from a site that is like:

I want to send this person a specific.php . I used below code but not
worked:

<?php

if($_SERVER['HTTP_REFERER'] == "www.cominghost.com" ||
$_SERVER['HTTP_REFERER'] == "cominghost.com" ||
$_SERVER['HTTP_REFERER'] == "www2.cominghost.com"){

// Specific page html goes here

}
else
{
header("Location: index.php");
}
?>

This code not worked for some cases like if the visitor comes from
http://www.cominghost.com/account/targeturl.php or
http://cominghost.com/account/targeturl.php Ok I know the if statement
not working but How?

View Replies !
PHP "Calender Like" Pop Up To Select Date And Store As Variable In Mysql Format?
I use to have this feature on my site about two years ago when i hired someone. It would allow the user to select between two different dates, via a small calender, save it as a variable then query the database.

Does anyone know where I can find the script for the small calender? I think it must of been populated by an external clock since all the dates were accurate etc. July 21st was on a saturday.

View Replies !
Specific IF/Then...
I have a code that displays a value from a row in a mysql db. The code is this:

echo "<td>" . $row['year'] . "</td>";

When the user submits their information, there is an option that says "hide the year I was born." Since the row for "year" is set it INT, if they choose that option it returns "0."

I was wondering if there was a way to do something like if $row['year'] = "0"{
echo"hidden by request"
}
else{
echo "<td>" . $row['year'] . "</td>";
}

but still have it work with my existing code.

View Replies !
How To Add An SPECIFIC Array
sorry if the subject isint really good to understand, now i will try to explain my best. I recently installed a hack in phpbb and that particular hack allows only 1 variable, but i want to add more than one, and i thought the best thing to do it is in an ARRAY, but i dont know how to do it in an array, the code looks something like this:

View Replies !
Getting Specific Fields From A CSV
I've been using fgetcsv to populate an HTML table with CSV data and so far it has been working great. But now I'm looking to call specific data from the table (ie: row 3, column 5), and I'm not sure fgetcsv can be used for this. Every online example of its use involves getting all the CSV data from a file as my table has done.

What function should I use to get specific fields from my CSV? My table doesn't use unique ids, at least not like mysql, with a unique number identifying each row in the leftmost column. What then should I use to identify each row from which I'd like to get data?

I'm making a page that describes a person based on the query string and the information in the database, in which each person has a row. So example.com/example.php?christopher+walken would bring up a page where Walken's information is listed. So I guess the ideal way to do what I want is to query the CSV for the name in the query string (Christopher Walken), then get and print the other information in the row (tall, great guy, etc). Any suggestions on this query?

View Replies !
How To Redirect With Specific Value ..?
I want that when i recieve different values from "form page" i will mail myself all the details and redirect the user to another site for CR Card payment. What i need is redirect the user to another site along with the value of total amount of package .How can I do that. I have done the first part of mailing but dont know how to do the redirection in PHP ..

View Replies !
Selecting Specific Tag
I am making a script which displays an RSS feed on my website. To do
this I would like to take all the <div class="blabla"><img src="bla.jpg"
alt="bla"> </div> tags and put them in front of my text. So the
following string:

<p>This is text blah blah blah</p>
<div class="blabla"><img src="bla.jpg" alt="bla"> </div>
<p>this is another text</p>

should give as output:

<div class="blabla"><img src="bla.jpg" alt="bla"> </div>
<p>This is text blah blah blah</p>
<p>this is another text</p>

I tried using regular expressions, but I do not really get it done. Here
is the code I use:

while(ereg('/<DIV class="blabla"*>(.*?)</DIV>/i',$content, $matches)){
$img=$img.$matches[0];
$content=ereg_replace('/<DIV
class="imgbar50"*>(.*?)</DIV>/i',"",$content,1);
}
what do i do wrong?

View Replies !
PHP Editor, Vim Specific.
Does anyone have a really good php indent file for vim? I'm working on
my first really sizeable project and I'd like it to be kept as clean as
possible while I'm working.

View Replies !
Country Specific
Any idea for a regular expression including all chars (all country
specific letters)?

View Replies !
Specific Record From DB
I have a form which updates customer information and as default this gets started on record 1. I would like to be able to post a clientname from a previous form and then get the specific data for that customer.

I am fine with the posting to seperate pages stuff but how could I get the update form to start on this record? Code:

View Replies !
Delete Specific Row Out Of 3
Say i have three rows:

row1
row2
row3

How do i make a mysql query to delete a specific row out of the 3 only? So say i wanted to delete row2 from the 3.. ?

View Replies !
Specific Pagination !
I've got some regular joe schmoe queries running ... now the totally result of these queries goes well over 2,000 records. Im looking to paginate these in a certain fashion :

<< Prev 1   2   3   4   5   6   7   8   9  10  Next >>

Each # obviously will display the page ! but Prev and Next will jump to either previous 10 or next 10... so if im on page 4 and i hit next ! i dont want to go to page 5 but rather page 11 and display:

<< Prev 11   12    13   14   15  16  17   18   19  20  Next >>

I hope this is doable ! if not please give me a better suggestion, a more effective and/or efficient way to be able to browse through all these records.

View Replies !
Specific Lines
I have the text file 'text.txt' and the contents of it are:

CodingForums.com
is not
cool

and i want to change only the 2nd line so the contents of text file is:

CodingForums.com
is very
cool
how would I do that?

also how would I read just the 1st line?the contents text file would be:

CodingForums.com
is very
cool

View Replies !
Specific Characters
i want to match some specific character set 10 odd characters in a user input string.
i want to find all occurences of the any of such characters. i am using preg_match_all for this.the string pattern that i am giving is a regular expression having those characters i.e "ch1|ch2|ch3" but i am getting only first occurence of the the char which is there in the regular expression. where i am goin wrong and how can capture all occurences of those chars.

e.g  pattern-  "x|y|z"

string to search "this is the X string for test Z and Y are at end and are not detected" in above case the character that is matched is only X at 13th position and z and y are not matched. i want to detect presence of all 3 chars. i.e x,y as well as z.
how can i achieve this.

View Replies !
Specific Include
I have read a lot of posts about the include statement and understand the majority but there is one small thing missing for me. Maybe you could help enlighten me.

I read that I can include htm files or php files. Therefore I have two senarios. 1. If I include using a htm within a htm page, how much do I need to write in that htm file that will be included. Code:

View Replies !
Go To Specific Page
I have a search box, then I put in search criteria, got a returned result. When I click on to view that result, I got a page that says "you have to login first". After I login, I want my page to go to that "result page" instead of the member page. Is there a way to do that?

View Replies !
Getting Specific User
I have my login script, and I have it setup so that if they are not logged in it shows the login box, and if they are, it shows a welcome message. But how I can I get the specific username of the person who logged in, from the database? Here is my code:

<?php
if (!isset($_SESSION['authenticated'])) {
echo "<form id="form1" name="form1" method="post" action="">
        <label for="username">Username:</label>
        <input type="text" name="username" id="username" />
        <label for="textfield">Password</label>
        <input type="password" name="pwd" id="pwd" />
        <input name="login" type="image" src="images/login_button.jpg" id="login" value="Log in" />
</form>";
exit;
  }
echo "Hey, welcome back $username!";
?>

View Replies !
Get Specific Query
theres a set of links that derive from a database

when a link is clicked

you are fowarded to a page called list.php

in this page

i want to get certain information out of the database based on what link is clicked

so this is how it works PHP Code:

View Replies !
Delete A Specific Row
How can i delete a specific row from a mySQL table. I want to delete Image2 (or make the value of it is nothing, NULL)

<?php
$con = mysql_connect("localhost","name","password");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("npsari_other", $con);

mysql_query("DELETE Image2 FROM ads WHERE ID='$ID'");

mysql_close($con);

?>

Is this code right, because it doesnt work.

View Replies !
Specific Types
Is there anyway to count just the. jpg files in a directory? Right now I am counting all the files, but there are some file types I don't want to count.

View Replies !
Specific Time
How to tell PHP to send a specific e-mail at a specific time (newsletter)

View Replies !
Specific Variables
hi i was wondering how to count specific variables in an sql database and have it echo the count in a php script. below is what i have so far. PHP Code:

$query = "SELECT * FROM ibf_members WHERE mgroup";

    $result = mysql_query($query) or die("Query Ruter failed");

             while ($row = mysql_fetch_array($result));

View Replies !
Rows With Specific Ids
I have many rows in my database, all with ids which are not unique. I would like to count these ids and display the numbers in a loop. Like so.

Row 1 (67)
Row 2 (34)
Row 3 (234)

All ids that match the id of the row should be counted and displayed. I have tried this.

$count = mysql_result(mysql_query("SELECT COUNT(*) FROM table WHERE $id=id"), 0);

View Replies !
Returning Specific
I'm new to PHP. I have a properties database (MYSQL). When I click on a specific link,  the results show all the properties in the database, however what I need the results to show is not all the properties but ones that meet a certain criteria. I want it to show the ones that are listed as "Rentals" only.

View Replies !
Specific Truncating
I have a block of text stored in a variable, it's order data so it's always different. It's data that is sent back to me as is, so I can't get at what makes it up.

I'm trying to get the IP address from the middle of this block of text isolated and put into a variable. The IP always follows the words IP Address:

View Replies !
Looking For A Specific Script
I need to find a script that will allow users to submit their URL to my site and be displayed in a column. Along with that I would like it to have a hit counter to show how many times that link has been clicked. A good example of what I would like is on this site. http://www.lookom.com/. On the righthand side of the page is what I would like.

View Replies !
How To Write IE Specific
I have a small peice of code that i want to append as a attribute to a html element ONLY if the users browser is IE. I know how to detect the browser in JS, however i have yet to find an easy way to detect IE in php Code:

View Replies !
Specific Fields In FFD
I have a flat file database with data like the following: Code:

01|Greg|5
02|John|1
02|John|5
03|Mary|3
04|Matt|2
02|John|3

with the form being ID|Name|Hours. How can I extract just, for instance, John's hours and show that he has worked 9 hours total (1 + 5 + 3)? I have found from various sites how to display a single person's information.

View Replies !
$http_referrer Allow Access From Specific URL Only
I am trying to figure out the correct PHP coding to put on
a page that will only allow access if referred by a specific
URL or URLs (link from another site) and if they are not c
oming from that URL(s) then they are redirected to somewhere else like yahoo, etc.

View Replies !
Targeting Specific Frame
Hi I have used frames a while ago but not since going with PHP Is there anything special with frames and PHP I seem to be having trouble with targeting a different frame

I have 3 frameset "top", "side" and "main"

in the side frame I grab some info from a database and create a simple anchor tag with some variables loaded into into and I want to when the anchor tag is clicked have the information loaded into the "main" frame.

the link does not appear to be created correctly here is the actual code for the anchor tag.

View Replies !
Search Question - How To Get Specific
I have a search script on my site now using LIKE with wildcards on either side. The problem is that if someone searches on "APHS" which is a type of film, anything with the word photogrAPHS comes up too.

Obviously because the pattern matches. However if I take off the wildcards it wont find it because its not the first word of the string.

Anyone have anything thoughts on how to go about that? So that if you search on APHS is searches the whole field to see if there is a word match?

View Replies !
Destroying A Specific Session?
how to destroy the server-side data associated with a session *after* session_write_close() has been called?

session_destroy() won't work after session_write_close() because there is no currently-initialized session, and the manual doesn't indicate that there's any way of telling session_destroy() to destroy the data associated with a specific sessionid, which is the only route I could think of to make this work.

Calling session_start() to initialize the session a second time (in preparation for a call to session_destroy()) isn't an option, because headers have already been sent by the script.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved