- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
Re: It seems the mentioned method is not available in current file. Check if you've included all files especially the file contaning 'XenForo_Helper_DevelopmentXml' class | |
Hey, I have two probability table for a variable say A ======================= B----------------- P(A) value1--------------.25 value2--------------.75 ======================= C-------------------P(A) value1--------------.55 value2---------------.45 ======================== How do i find probability for P(A/B=value1, C=value2) ?? Should I use Bayes theorem. If so how? | |
Re: hey, it shld be [CODE]<?php $code="kooks"; echo "<a href=\"http://website.com/$code\">The Kooks </a>"; [/CODE] or [CODE] <?php $code="kooks"; ?> <a href="http://website.com/<?php echo $code; ?>">The Kooks</a> [/CODE] | |
Re: Hey, i have some confusion about your code: You seem to have created an update query (in line 42 and executed it (in line 48). Why do you want it to do another update at line number 120. Anyway, Echo the $result2 variable and check whether if it says true … | |
Hello, My db table is this (semester result table) [B]sem1 regno(int) s1(enum) s2(enum), s3(enum), s4(enum) [/B] I want to find number of subjects in which the student with given id has gotten a particular grade. (ie no of subjects he/she has failed). Is it possible or shld i change the … | |
Re: hey, First, in [B]line 7[/B] in ur somepage.php u seem to have gotten the variable assignment reversed causing the $_POST['id'] value to be not stored in $id which might cause problems in ur query in [B]line 11[/B]. and date <input> u hav used seem to hav no value attribute, which … | |
Re: Another alternative would be to use [B]meta tag[/B] : [CODE]echo "<meta http-equiv=\"refresh\" content=\"2;url=http://www.example.com/\">";[/CODE] The above code would wait for 2 seconds and redirect to [url]www.example.com[/url] | |
Hi, I have a $.ajax call in my jquery function. I want to access the value returned from the server(php) to be accessed in jquery function. Hoe to do this?? [code] setTimeout(function(){ $.ajax({ url: 'ajax-validation.php', data: 'email=' + $('#email').val(), dataType:'text', type: 'post', success: function (resp) { if(resp=="Email is available")/*This does … | |
Re: Hi koldhands, Is there any field in your markup with name="submit". If not change the line containing 'isset' to [code]isset($_POST['name']) [/code]or [CODE]isset($_POST['email'])[/CODE] or with name of any other field or simply use: [CODE] if ($_SERVER['REQUEST_METHOD'] == 'POST')[/CODE]. Hope this helps... | |
I'm supposed to write a tcp server program which writes into a file a record as structure. The code is given below: [code] int n,i; cout<<"Enter number of student records"; cin>>n; for(i=0;i<n;i++) { cout<<"Enter id,name,average mark"; cin>>r[i].id>>r[i].name>>r[i].mark; } [/code] [code] int i,n1; FILE *fp; FILE *file = fopen("db.dat", "wb"); cout<<"Writing … | |
I have a drop-down list box which has to be populated from a database in mysql. I implemented the following code: [CODE] //DB Conn done here.. <td>College Name,id :</td> <td><select><option selected="selected">Choose a college...</option> <?php $query="SELECT nameid from college"; $result=mysql_query($query); while ($line = mysql_fetch_array($result)) { foreach ($line as $value) { echo … | |
The aim of the program is to read contents from 2 files and store it in struct variables.(This is actually a part of another program which stimulates pass2 of two pass assembler) [B]This code works fine.[/B] [code=c] #include<stdio.h> #include<stdlib.h> #include<string.h> struct optbl { char opco[10]; int value; }o_tbl[100]; struct symtbl … |
The End.