Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
43% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
5
Posts with Downvotes
3
Downvoting Members
4
2 Commented Posts
3 Endorsements
Ranked #486
Ranked #1K
~20.3K People Reached
Favorite Tags

37 Posted Topics

Member Avatar for hakeemtunde

I have being trying to implement GA in java. please ccan anyone guid me on how to go about implementing it for a school that offer 13 subjects with 8 periods per day for 5days. They have 7 staffs of which some of them teach morethan one (1) subjects and …

Member Avatar for hakeemtunde
0
175
Member Avatar for hanspeare_1

An advise.. is better u rename the uploaded img with the student_id that way you can always refer to the img using the student_id 1. change the uploaded img name to student_id if($_FILES['LRCard']['name'] != ""){ //$filename = $_FILES['LRCard']['name']; $ext = strrchr($filename,"."); $LRCardname = $student_id; $LRCardname .="_". $filename; if($ext ==".jpg" || …

Member Avatar for hanspeare_1
0
361
Member Avatar for abeer araji

import java.util.Scanner; public class OddEve { public static void main( String[] arg) { Scanner in = new Scanner(System.in); System.out.print("Enter Numbers: "); String numbers = in.nextLine(); int sumofodd = 0 ; int sumofeven = 0; for (String retval : numbers.split(" ")) { int number = Integer.parseInt( retval ); if( (number % …

Member Avatar for stultuske
-1
176
Member Avatar for ms061210

just an idea.. u could separate the names from price i.e // initialize output array $nameArray = array(); $priceArray = array(); $tmpArray = explode("/", $aName); foreach ($tmpArray as $tmpString) { $tmpOneRow = explode("-", $tmpString); // add two elements to the output array $nameArray[] = $tmpOneRow[0]; $priceArray[] = $tmpOneRow[1]; } // …

Member Avatar for veedeoo
0
292
Member Avatar for eldiablo1121

I dont know if this will help i split the text then loop through the splited word one after the other then compare String temp=""; int count = 1; String inputPhrase = input.nextLine(); //grad input phrase String []splited = inputPhrase.split(" "); //split for ( int i=0; i<splited.length; i++) { val …

Member Avatar for eldiablo1121
0
2K
Member Avatar for robin.aditta1

try this $result = mysql_query("SELECT cat.Name, sub.Name FROM sub_categories AS sub, categories AS cat WHERE cat.id=sub.categoryId AND sub.id=$categoryId

Member Avatar for simplypixie
0
684
Member Avatar for cobaltfive
Member Avatar for wareez

are you sure that the db has password? or why commenting that way its better you move your comment to the end of each statement.

Member Avatar for Banderson
0
237
Member Avatar for shilu2
Member Avatar for MiketheBook

you can only access what is available to you as end user. let the people managing the site do the work. sorry if my response is harsh

Member Avatar for diafol
0
174
Member Avatar for riahc3

my little advise for you is create a folder and set the access permission through windows for that folder to be read/writable then further with your program.

Member Avatar for Ezzaral
0
1K
Member Avatar for shahai.ali

what was the full path to the tmp folder in your php.ini? from my own confi file i have this **;upload_tmp_dir =** which means am using the system temp folder so if am not on C: drive then i can create a folder call tmp on D: drive and change …

Member Avatar for shahai.ali
0
2K
Member Avatar for GlenRogers

Sorry freind you have to terminate your script on any of the error occuring because if an error occure that say the username is empty according to your script you echo error msg and that doesn't stop you code from continuing execution try this include 'connect.php'; if (isset($_POST['submit'])){ if (!empty($_REQUEST['user'])){ …

Member Avatar for diafol
0
341
Member Avatar for shahai.ali
Member Avatar for hakeemtunde

Hello guys, i've being searching for how is it possible to get value of a form element i.e selection tag that was injected by jquery be access on submitting the form. All the form element value where posted except for the selection element that was injected with jquery. how can …

Member Avatar for hakeemtunde
0
100
Member Avatar for bbjybon89

// Check if delete button active, start this if($_POST['delete']){ for($i=0;$i<count($_POST['checkbox']);$i++){ $checkbox = $_POST['checkbox'] $del_id = $checkbox[$i]; $sql = "DELETE FROM $tbl_name WHERE id='$del_id'"; $result = mysql_query($sql); } // if successful redirect to delete_multiple.php

Member Avatar for broj1
0
206
Member Avatar for websponge

why not enclose the variables in curly braze i.e WHERE faultid={'$faultid'}";

Member Avatar for websponge
0
158
Member Avatar for sonash

well not quite sure what u mean but if u want to retain inputed value and at thesame time input another value without loosing previous value then u need to create a hidden field and for every input you entered u submit the form from there u can always grad …

Member Avatar for sonash
0
208
Member Avatar for hakeemtunde

hi guys, am stil new to java their was a snippest code about getting screen size i've being seeing onine calling window.getSize() in what package is the object located. // Get the size of the screen Dimension dim = Toolkit.getDefaultToolkit().getScreenSize(); // Determine the new location of the window int w …

Member Avatar for hakeemtunde
0
182
Member Avatar for davy_yg

<?php //require_once('recaptchalib.php'); $error = array(); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $phone = str_replace(" ", "", strip_tags(@$_POST['phone'])); $message = strip_tags(@$_POST['message']); if (isset($_POST['submit'])) { if( ($name !='') && ($email !='') && ($phone!='') && is_numeric($phone) && ($message !='' ) ) { $privatekey = "6LdRStUSAAAAABctjZq_iX249auG_kjaNvn_4vfN"; $resp = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], …

Member Avatar for hakeemtunde
0
165
Member Avatar for DaveyMoyes

I would have suggest to you to get a more way of detecting device because using that set of method to detect device might not work out properly for your conditions. take a look at WURFL [Tera-WURFL](http://dbapi.scientiamobile.com/wiki/index.php/Main_Page) it might help in detecting actual UA. hope it helps

Member Avatar for hakeemtunde
0
320
Member Avatar for hakeemtunde

guys i wil be glad if someone can explain how i can go about handling binary data, like parsing an image to be dispaly on a browser.

Member Avatar for DarkMonarch
0
109
Member Avatar for bflack

it's better you store the image links in your db. this will not make the database grow in size in short time and ...

Member Avatar for bflack
0
208
Member Avatar for furlanut

the name&fat table with the insertid must have contain the new id you are inserting on the other 2 tables. or drop all the records on the tables (name&fat) and try again.

Member Avatar for diafol
0
300
Member Avatar for srdva59
Member Avatar for IanArcher

use CURL checkout link [URL="http://php.bigresource.com/parsing-website-with-cURL-preg_match-yIHYSWHg.html"]http://php.bigresource.com/parsing-website-with-cURL-preg_match-yIHYSWHg.html[/URL]

Member Avatar for hakeemtunde
0
1K
Member Avatar for n3xtgen

in the first place it like the form contains nothing important to send. if I were you I will just use session. hope you get what am saying.

Member Avatar for hakeemtunde
0
6K
Member Avatar for doctorphp

Same to YOu. i dont understand what you mean. When you talk of links it my be a link behind a button or <a> tag or you mean all the links on your site shouldn't go to external web page may be through redirection, actually i understand can give an …

Member Avatar for hakeemtunde
0
512
Member Avatar for hakeemtunde

I was wandering if someone have ever install JMF on ubuntu before using the .bin package from sun site. I've being having problem while installing it. THe error it show was 309 file not found during extraction.

Member Avatar for rubberman
0
82
Member Avatar for -==Zero==-

can you send the sql struct of the database. 1. check the name used for the input text box for the username 2.when submit, first print the [CODE]$_POST['username'] [/CODE] - if it shows up the username 3. it might be from the feild/column name on your database (check smelling )

Member Avatar for sohbet
0
275
Member Avatar for fika
Member Avatar for sanjaypandit
Member Avatar for simplypixie
0
159
Member Avatar for baig772
Member Avatar for rajeesh_rsn

when use [CODE]addslashes()[/CODE] then the opposite is [CODE]stripslashes()[/CODE] that's all you need. hope this helps [QUOTE=rajeesh_rsn;1712677]Hi I added a addslash before submit to database like [[CODE][/CODE]$bio=addslashes($_POST('bio'));[/CODE] it will add a "'" before submit .. and everything working fine .. but at the time of edit/ resubmit this form I am …

Member Avatar for hakeemtunde
0
127
Member Avatar for akshayphp

session should not be twice since is just a registration page. But if you need validation whereby if there is any error you don't want the user to start re-entering his data again then is fine using session to store the values and display them when their is error during …

Member Avatar for hakeemtunde
0
273
Member Avatar for morrisproject

there is a mistake that you can also make when using header() function which is spacing between the full column (:) before the page you are redirecting to e.g header('Location: page.html'); not header('Location:page.html'); or header('Location : page.html'); take note.

Member Avatar for hakeemtunde
0
129
Member Avatar for hakeemtunde

Hello guys; Please I want to compile project that has a Static link Library of which I want it to automatically Copy it self(.Lib) to a specific folder when ever I build it and also copy the Include (.h) file to a specific folder of my choice. I will be …

Member Avatar for Salem
0
62

The End.