Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~4K People Reached
Favorite Tags
Member Avatar for zobadof

Hello, I recieve this error: Fatal error: Call to undefined method XenForo_Helper_DevelopmentXml::processSimpleXmlCdata() in /home/downupsi/public_html/library/EWRporta/Model/Templates.php on line 58 With this code: [CODE]<?php class EWRporta_Model_Templates extends XenForo_Model { public function getTemplatesByBlock($blockId, $styleId = 0); { $title = 'EWRblock_'.$blockId; return $this->fetchAllKeyed(' SELECT * FROM xf_template WHERE title LIKE ? AND style_id = ? …

Member Avatar for hari.sarvothama
0
107
Member Avatar for hari.sarvothama

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?

0
92
Member Avatar for gilgil2

Hi, I am having trouble echoing something into a url. The code I've got is: [CODE] <?php $code = "kooks"; echo '<a href="http://website.com/'$code'">The Kooks</a>'; ?> [/CODE] But I get the message: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /hermes/web11b/b146/moo.3finking/unsignedgigs/test.php on line 3 Thanks for your help

Member Avatar for gilgil2
0
99
Member Avatar for liphoso

I have the code below but it does not do what i want it to do. [CODE] "UPDATE products SET quantity = quantity - 1 WHERE product = $'product'"; [/CODE] I have a data base called products with field quantity, now i do not know how to code such that …

Member Avatar for hari.sarvothama
0
139
Member Avatar for hari.sarvothama

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 …

Member Avatar for smantscheff
0
97
Member Avatar for aaro

hey i have a javascript datepicker working on my site but when i try to store the data on mysql im having trouble setting the primary key from the parent table into a new id_item. i pass the id in the url eg somepage.php?id=1 it still doesnt store the date …

Member Avatar for hari.sarvothama
0
279
Member Avatar for hodgey87

I apologise in advance i know this has been done to death but i cant find an answer. im currently getting this error: [QUOTE] Warning: Cannot modify header information - headers already sent by (output started at /home/sites/test.com/public_html/index.php:9) in /home/sites/test.com/public_html/login.php on line 5[/QUOTE] my index file is as so: [CODE]<?php …

Member Avatar for hari.sarvothama
0
356
Member Avatar for hari.sarvothama

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 …

Member Avatar for lambing
0
248
Member Avatar for koldhands

Hi guys, My first post here after reading some very helpful responses over the last few months. I'm having trouble passing radio button values to a results page and wondered if anyone would be able to spot anything wrong with the following code? Any ideas are very much appreciated as …

Member Avatar for hari.sarvothama
0
168
Member Avatar for hari.sarvothama

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 …

Member Avatar for Ancient Dragon
0
379
Member Avatar for hari.sarvothama

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 …

Member Avatar for ﻼim
0
219
Member Avatar for hari.sarvothama

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 …

Member Avatar for hari.sarvothama
0
2K