Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #3K
~3K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

5 Posted Topics

Member Avatar for andrewschools

Hello - Looking to find a function that works just like the php function uasort() but have it maintain the relative order of items when equal keys are found. Here's my code now: [CODE] $array = array("item1"=>-1,"item2"=>-1,"item3"=>-1,"item4"=>0,"item5"=>2,"item6"=>2,"item7"=>1); function sortThis($a,$b) { if( $a == -1 || $b == -1 ) { …

Member Avatar for redfox23
0
2K
Member Avatar for andrewschools

Hello - I have a client that is using a VPS from Host Gator. He he also running an application I created on his VPS. The other day he complained his server was very slow when using my software. I checked it myself and it took approximately 5 seconds to …

0
125
Member Avatar for saadi06

Here's the correct code: [code] <?php class database { var $dbconnect=NULL; var $dbhost="localhost"; var $dbuser="root"; var $dbpass=""; var $dbname="db_student_info"; function db_connect() { global $dbhost,$dbuser,$dbpass,$dbname; if(!$dbconnect) $dbconnect=mysql_connect($dbhost,$dbname,$dbpass); if(!$dbconnect) {return 0;} else if(!mysql_select_db($dbname)) { return 0; } else{ return $dbconnect; } } }?> [/code] Variables are defined by var and functions by …

Member Avatar for saadi06
0
667
Member Avatar for vedro-compota

It should be [code]create table SUBJECT ( SUBJ_ID NUMERIC not null, SUBJ_NAME VARCHAR(100))[/code] You misspelled NUMERIC

Member Avatar for vedro-compota
0
106
Member Avatar for andrewschools

Hello there - I have three directories. I would like to compare directory1 with directory2, then take those changes/new files and copy them over to directory3. I was given the following code: [code] #!/bin/bash dir2="d1" dir1="d2" dir3="d3" for file in dir2/*; do file_in_dir1=dir1/$(basename ${file}) if [ ! -e ${file_in_dir1} ]; …

Member Avatar for rch1231
0
395

The End.