Posts
 
Reputation
Joined
Last Seen
Ranked #343
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
90% Quality Score
Upvotes Received
46
Posts with Upvotes
36
Upvoting Members
32
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
12 Commented Posts
~209.13K People Reached
Favorite Tags
Member Avatar for garyjohnson
Member Avatar for davy_yg

Tables by default strech to fill up the provided space Also Google cell-padding is I believe the correct attribute to use

Member Avatar for Purvi_1
0
769
Member Avatar for Jon_7

you can use the `document.location.href` to look up the url and then append the new class to the appropriate element add distinct classes or ids to your tabs to make then easy to find

Member Avatar for jstfsklh211
0
385
Member Avatar for Mati_1

you need to lookup the table id for the table you want to work with in your check function store the table id in each form or elements `$('td').removeClass("highlight")` this basically says every `td` on the page you need `$(table#tableID td)`

Member Avatar for jstfsklh211
0
391
Member Avatar for ychan623

leave the value of all set to empty string `<option value="">All</option>` in your php you need to check each time for each var if they are set and append an "and" something like $locations = (empty($_POST["locations"]) ? false : $_POST["locations"]); $filters = ""; if($locations) { $filters .= (empty($filters) ? "" …

Member Avatar for teja_2
0
2K
Member Avatar for divinity02

your href tag doesn't care what type of page you're going to as long as the page exists `<a href="any/valid/url">something to click on(text/image)</a>`

Member Avatar for Mr.M
0
1K
Member Avatar for janicemurby

anytime your `getListState` returns an empty set `$config['per_page']` will be 0

Member Avatar for jstfsklh211
0
774
Member Avatar for afaaro

you dont actually state what problem you're having be descriptive no one wants to try to guess

Member Avatar for jstfsklh211
0
2K
Member Avatar for davy_yg
Member Avatar for jstfsklh211
0
190
Member Avatar for davy_yg

in your constructor code you ask for a parameter in this case `function __construct($person_name){` you're not actually setting person_name in that method but you are requiring it you should either remove it `function __construct(){` from the constructor or default it to null `function __construct($person_name=null){` if you keep it you should …

Member Avatar for jstfsklh211
0
599
Member Avatar for davy_yg
Member Avatar for jstfsklh211
0
287
Member Avatar for rjusman90
Member Avatar for patk570
Member Avatar for jstfsklh211
0
277
Member Avatar for vivosmith

post some code the value in the db stays the same? the value on the form doesn't get updated? need a little more info

Member Avatar for vivosmith
0
1K
Member Avatar for vivosmith
Member Avatar for vivosmith
0
359
Member Avatar for mexabet

your function doesn't return a statement it returns the result $statement = $handle->prepare($sql); you would need to return `$statement` for what you're attempting

Member Avatar for mexabet
0
329
Member Avatar for SimonIoa

name="name[]" helps with multiple selects or multiple fields with the same name in your case i'd use a comma separated list and parse the posted value

Member Avatar for SimonIoa
0
247
Member Avatar for AntonyRayan

dont forget http://php.net/manual/en/function.strtotime.php for retrieving dates from strings

Member Avatar for diafol
0
230
Member Avatar for Stefce

the way you are using strlen it is returning the length of your count ie strlen(0) = 1 since strlen will always be 1 (till count > 9) and your echo is in your loop its outputting 1 then 1 then 1

Member Avatar for Stefce
0
300
Member Avatar for PsychicTide

your code shows one checkbox and 3 radios a little unclear about what the desired result is check your field naming you have some duplicates which is not allowed also name your boxes better ie for a center box radio or check use 'center' in your name that combined with …

Member Avatar for PsychicTide
1
275
Member Avatar for Latrell_vie
Member Avatar for Lloyd_4
Member Avatar for jstfsklh211

my insert statement seems to be ignoring my unique index and adding duplicates what'd i mess up? thanks in advance Table CREATE TABLE `address` ( `address_id` int(11) NOT NULL AUTO_INCREMENT, `address_street1` varchar(100) NOT NULL, `address_street2` varchar(100) DEFAULT NULL, `address_street3` varchar(100) DEFAULT NULL, `address_city` varchar(45) NOT NULL, `address_state` char(2) DEFAULT NULL, …

Member Avatar for Teddy112
0
1K
Member Avatar for masterjiraya

two ways of adding values to an array by specific index (string|int) $array = array(); $array['key1'] = $val1; $array['key2'] = $val2; print_r($array); /* array( "key1"=>$val1, "key2"=>$val2 ) echo array["key1"] // prints $val1 */ adding values by "push" uses next available int $array = array(); $array[] = $val1; $array[] = $val2; …

Member Avatar for diafol
0
72K
Member Avatar for James_43
Member Avatar for paulkd
0
250
Member Avatar for mattyd

in order to view php files (which are proccessed server side) you need to be running some kind of webserver

Member Avatar for almostbob
0
501
Member Avatar for rjony321
Member Avatar for SimonIoa

if you already have php installed you most likely just need to enable mysql in your php.ini file

Member Avatar for diafol
0
316
Member Avatar for jstfsklh211

Stupid constant in class declaration issue One of our live servers is still on php 5.3 and is breaking on the second line with this message Parse error: syntax error, unexpected '.', expecting ')' in ....... systemAdministrator is a defined constant that i can echo out with no problem before …

Member Avatar for diafol
0
256
Member Avatar for AntonyRayan