Hi guys. I have already installed fullcalendar successfully onto my webpage home.php <script type="text/javascript" src="js/fullcalendar.js"></script> <script type="text/javascript" src="js/fullcalendar.min.js"></script> <script> $(document).ready(function() { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); $('#calendar').fullCalendar( { header: { left: 'prev,next today', center: 'title', right: 'month,basicWeek,basicDay' }, editable :true, events: "home.php", }); }) </script> now what i want to do is get data from my database and display it in the calendar(according to the proper dates of course). the inserted data is done in another page event.php <?php if(isset($_POST['submit'])) { $name = mysql_real_escape_string($_POST['ename']); $date = mysql_real_escape_string($_POST['edate']); $time …

Member Avatar
Member Avatar
+0 forum 9

in this table how to extract table data and mainly get value after the <b> tag like email id, tel, address <table width="100%" cellspacing="0" cellpadding="10" border="0" class="text"> <tbody> <tr valign="top" onmouseout="this.className = 'pa-nor'" onmouseover="this.className = 'pa-row-highlight'" class="pa-nor"> <td width="50%"> <span class="text1"> School name</span><br> <font color="#cococo"><i>Secondary School</i></font><br> <b>Principal Name:</b> kannan<br> <b>Name of Trust:</b> school Trust </td> <td width="50%"> <b>Address:</b> school address...<br> <b>Pin Code: </b>123456<br> <b>Tel: </b>963852<br> <b>Email:</b> sample@yahoo.co.in </td> </tr> </tbody> </table>

Member Avatar
Member Avatar
+0 forum 3

Hi I need to show coordinates from the map in the text box below. Can you make the code showing the latitude and longitude onmouseclick? I will be very grateful. <html> <head> <title>OpenLayers Example</title> <script src="http://openlayers.org/api/OpenLayers.js"></script> <script src="http://maps.google.com/maps/api/js?v=3&sensor=false"></script> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> </head> <body> <div id = "container" style = "width:1250px"> <div id="header" style="background-color:#CCCCCC;text-align:center;"><h1>Услуги с кадастрални данни</h1></div> <div style="width:900px; height:500px; float:left" id="map"></div> <div id = "featureinfo" style = "width:350px; height:500px; background-color:#CCCCCC; float:right"></div> <div id="wrapper" style="margin:5px"><div id="map" style="width: 800px; height: 450px"></div></div> <table cellpadding="5" cellspacing="0" border="1"> <tr> <td width="50%" valign="left"> <br> <h3>Get the Latitude and Longitude of a Point</h3> <p>When you click …

Member Avatar
Member Avatar
+0 forum 3

I understand the concept of using get and set with instance variables, but I am confused about using get and set by themselves For example `public string random {get; set;}` what is the purpose of this, and how can I use this in my code. I am a beginning programmer any help would be great help. Thanks

Member Avatar
Member Avatar
+0 forum 2

how we can use get setting and save setting in vb 6.0 with example.or any reallife program. thanks

Member Avatar
Member Avatar
+0 forum 1

I'm having issues with repopulating my input fields after being submitted if there is an error. I've tried the simple `<?php if(isset($_POST['value'])){echo $_POST['value'];} ?>` That doesn't work. And I'm thinking it's because of how I have my else statements set up. I am currently using get to repopulate my fields, and it's working but I'm not so sure it's the best practice. Example of original code: (form-check.php) <?php if(isset($_POST['firstname'])) { $firstname = $_POST['firstname']; // do something } else { header("Location: index.php?error=This field is required!"); } ?> (index.php) <form action="form-check.php" method="POST"> <input type="text" name="firstname" value="<?php if(isset($_POST['firstname'])){echo htmlentities($_POST['firstname']);} ?>" /> <input type="submit" …

Member Avatar
Member Avatar
+0 forum 4

Hi, I need some help . Bascially what I have to do is this: what doing cin.get in the prpgram just do space or give value.

Member Avatar
+0 forum 0

Hi everyone, need some help with outlook. i need to extract information from outlook messages from default folder(inbox) to subfolders(including subfolders of subfolders) but it seems that i'm having problem on calling the folder from the outlook's default pst file. below are the codes i've already tried. outlookfolder = outlookmapi.Folders(folder_name) outlookfolder = outlookmapi.Folders("support@domain.com").Folders("domain.com").Folders("Inbox") is there anything i'm missing. or maybe folder_name is a path in the pst file? any help or suggestion will be appreciated. XD thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> item : list) { if (item.key.equals(key)) { return item.value; } } return null; } public Value put(Key key, Value value) { //Associates the specified value with the specified key in the map. for (Pair<Key,Value> item : list) { if (containsKey(key)==true) { //A map m is said to contain a mapping …

Member Avatar
Member Avatar
+0 forum 5

i want to get table-tr-td values without any id,class.

Member Avatar
Member Avatar
+0 forum 1

Wordpress - I want to use a title condition for displaying info on a page, from a MySQL table "country". The condition must compare the title with the names in the column "name" and when it match a value than display on the page the text from column "description" from the same row with the matching value. Example : title(USA)=column name (USA) get/fetch column (description) (the description from row USA). I had tryed a code <?php $page_name = $wp_query->post->post_name; query_posts('category_name='. $page_name); ?> <?php global $wpdb; $result = $wpdb->get_row ("SELECT name FROM country WHERE parent IN (SELECT parent FROM country WHERE …

Member Avatar
Member Avatar
+0 forum 2

I made a new MySQL table in Phpmyadmin in Wordpress in the same database from Wordpress but a new table. I want to make a new page and add a script in the body that allows: 1. when i insert the page title to the new page, the script should search the database table "workers" just in the column "name" and when it matches title(example "Jimbo") to the value in the column "name" (example "Jimbo") than display the "description" from name "Jimbo" (as in the table look down just "Jones"). It must search and display automatically. 2. or when i …

Member Avatar
Member Avatar
+0 forum 2

okay i have a file with data orgainzed like this in a dat file to be read: apple.0.0.end. and i want it to be read by char until it sees "." then print that, then read again repeated until the end of the line. so i can show the data like this: name? : apple noun? (0 for yes; 1 for no): 0 eatable? (0 for yes; 1 for no): 0 can this be done? how? and explain like im 5 years old for future reference.

Member Avatar
Member Avatar
+0 forum 2

I want to put 1 variable in my send.php page and get its value by if statement on 2nd (page-contact-us.php)page, because I have my form in 2nd page with <form action="<?php bloginfo('template_directory');?>/send.php" method="post" id="contactform"> and in my first page (send.php) i have if statement like, if($security=="10") { mail($to,$subject,$message); $var='1'; } else { $var='2'; } and on my page-contact-us.php page I want to get this mentioned $var above, and use this $var value with if else statement like, if ($var = "1") { echo ('<span class="success">Success!</span>'); } else if ($var = "2") { echo ('<span class="error">Error!</span>'); } How i can achive …

Member Avatar
Member Avatar
+0 forum 6

hi all, i'm difficult to get values array condition: 1. if value only one get values 2. if value same then get value with index or key most high 3. if value same and key most high get all example: $data = Array(Array ("1" => "12306") , Array ("0" => "12106") ,Array ("1" => "12770") ,Array ("3" => "12770") ,Array ("3" => "12306") ,Array ("3" => "12770") ); the result: Array ( [1] => Array ( [0] => 12106 ) [3] => Array ( [3] => 12770 ) [4] => Array ( [3] => 12306 ) [5] => Array ( …

Member Avatar
Member Avatar
+0 forum 3

1. Define a class Car which:  Stores the name, type, price, model year, number of color, and names of available colors  Includes a default constructor.  Includes a parameterized constructor.  Group of available colors is allocated dynamically in the parameterized constructor based on received number of color.  Includes a copy constructor.  Includes a destructor.  Includes set function for each data member.  Includes get function for each data member o Get color function receives the index and return the corresponding color. 2. Define Print function as a global function that receives car object and …

Member Avatar
Member Avatar
+0 forum 2

Hello Community, I was wondering if there is a way to get a grid from another window to display in another window by the way i'm using fluidkit slide transition. Please Help...

Member Avatar
Member Avatar
+0 forum 1

Hello experts I have built a website but I did not get a good rank on google. How can I get this ?

Member Avatar
Member Avatar
+0 forum 13

I need help writing a program in c++ where i have to write 3 different programs, a webcounter.cpp,webcounter.h, and test_prgm.cpp.So then i have to creat a makefile to compile them together, and the result of the program is "When I create the the counter, I would like to be able to set the value of the counter. Second, I need to be able to tell it "hit" and have it increment. Finally, I should be able to "reset" the counter, and "get" the current number of hits from it." it has to be a header file, and webcounter.cpp has my …

Member Avatar
Member Avatar
+0 forum 10

Dear pals, I am newbie in RESTful services . I need to call a GET Verb in Server . I know 2 methods 1. Ajax Call we can write it as $.ajax({ url: url, dataType: "html", type: 'GET', data: "id="+id+"&type="+type, success: function(data){ //$("#content").html(data); alert(data); $('table #sample-boxed-2-pagination th a').each(function(){ //this.href = this.href.replace(sub_url, main_url); var value = this.href.split('?'); //alert(value[0]); if(value[0]!=sub_url) { this.href = this.href.replace(value[0], sub_url); } }); } }); }); But I know it's not working in Cross domain scenario . Please advise a method to work same in all domains . 2. Using file_get_contents() function like $response = file_get_contents('https://kkl.com/graph/call?parm1=9'); I know …

Member Avatar
Member Avatar
+0 forum 3

hy all, how to get previous value and check different between recently value and previous values in loop < 0.5? if different value < 0.5 get it's array please help me define('DIV', 0.5); function iteration($data, $data2) { $m1=$m2=$data; $m3=multiply($m1,$m2); echo "iteration 1:\n"; print_r($m3); $temp_m3 = $m3; for ($i=0;$i<count($temp_m3);$i++) { for ($j=0;$j<count($temp_m3[$i]);$j++) { if (isset($data2[$i][$j])){ $aR[] = (($temp_m3[$i][0]*$data2[$i][$j])+($temp_m3[$i][1]*$data2[$i][$j])+($temp_m3[$i][2]*$data2[$i][$j])); } } } print_r($aR); echo $max = max($aR)."<br/>"; for($a=0; $a<count($aR);$a++){ $bg_max[] = $max/$aR[$a]; } print_r($bg_max); $m1=$m2=$m3; for($c=2;$c<=7;$c++) { $m3=multiply($m1,$m2); echo "iteration $c:\n"; print_r($m3); $m1=$m3; $aR2 = array(); for ($x=0;$x<count($m3);$x++) { for ($y=0;$y<count($m3[$x]);$y++) { if (isset($data2[$x][$y])){ echo "value aR=> ".$aR2[] = (($m3[$x][0]*$data2[$x][$y])+($m3[$x][1]*$data2[$x][$y])+($m3[$x][2]*$data2[$x][$y]))."<br/>"; } } …

Member Avatar
Member Avatar
+0 forum 2

Please help, i get this error when i run my script on my testing server Notice: Undefined index: id in index.php on line 5 Notice: Undefined offset: 1 in index.php on line 8 but on my actual website, it displays a blank page, with the background colour, how do i solve these issues Here is the code <?php session_start(); ob_start(); include_once('lib/config.php'); $id = explode('/',$_GET['id']); $_GET['id'] = $id[0]; $_GET['p'] = $id[1]; if(empty($_GET['id'])) $_GET['id']='twitter'; include_once('lib/facebook/facebook.php'); Please how do i solve this

Member Avatar
Member Avatar
+0 forum 9

I have a problem with one of my php scripts. I've got a file called view.php. If I go to test.com/view?id=7575 it comes up with a 404 error. However if I go to test.com/view.php?id=7575 it works. Why is this?

Member Avatar
Member Avatar
+0 forum 3

newbie question, but please i need help i just started learning gui programming on python, been getting this error on a code am writing concerning uising the get() method to read an integer from my entry box from Tkinter import * root=Tk() var=StringVar() label=Label(root, textvariable=var, relief=RAISED) var.set("converter") label.pack() L1=Label(text="x:") L1.pack(side= LEFT) E1=Entry(bd=5) E1.pack() content =int(E1.get()) import Tkinter def m_km(content): km=content/1000 tkMessageBox.showinfo("Answer" , "%d km" %(km)) B=Tkinter.Button(text="metres to kilometres", command= m_km) B.pack(side= RIGHT) mainloop()

Member Avatar
Member Avatar
+0 forum 3

I've got a simple php script here that recieves a POST data from my ajax script. But i want to make sure that only my own ajax script can have a successful request from the page and not some other ajax scripts to avoid brute attacks as ajax requests are faster and can consume website resources . Please, help on how to go about this guys. Thanks in advance

Member Avatar
Member Avatar
+0 forum 3

Hi friends, recently i am learning php with your help and online tutorials. I googled for anatomy of GET and POST but didnt find satisfaction. So what is working behind GET and POST Methods ? How they work between client(browser) and Server ? Thanx.

Member Avatar
Member Avatar
+0 forum 3

How to get ip address of all systems connected to a network using php code

Member Avatar
Member Avatar
+0 forum 1

Hi.. Any PHP code to display the IPaddress of all systems which are connected in a LAN ? Thanks in advance

Member Avatar
Member Avatar
-1 forum 5

sir i want to get data between to tag... example:(showing in my view source) <img class='stat_icon' src='/images/green.png'> **data to be extracted**</a> or like <input type=hidden name=timestamp value='**data to be extracted**'> for the first example i wrote like: Imports System.Text.RegularExpressions Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim requestt As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("my desired link") Dim responsee As System.Net.HttpWebResponse = requestt.GetResponse() Dim sr As System.IO.StreamReader = New System.IO.StreamReader(responsee.GetResponseStream()) Dim sourcecodee As String = sr.ReadToEnd() Dim pattern1 As String = "<img class='stat_icon' src='/images/red.png'> " & _ "(.*)</a>" Dim m As Match = Regex.Match(sourcecodee, pattern1) If m.Success Then …

Member Avatar
Member Avatar
+0 forum 4

Hey everyone I was programing a small game and I am trying to figure out how to send an int value to a class and return a String from it. This is my code: This is my main.java class public class GamGUI { /** * @param args */ public static void main(String[] args) { int char1; String Playername; System.out.println("Welcome to Finaly Fantsy XXVIIV"); System.out.print("Please enter your name: "); Scanner scan = new Scanner(System.in); Playername = scan.nextLine(); System.out.println("Please select the Character you want to be"); System.out.println("Enter 1 for WARRIOR"); System.out.println("Enter 2 for BLACK MAGE"); System.out.println("Enter 3 for MONK RANGER"); char1 = …

Member Avatar
Member Avatar
+0 forum 6

The End.