194 Posted Topics

Member Avatar for methuselah90

convert this to actual code func(address) loop object addr in object[i].area ? then addr += object[i].postcode else continue end loop for arrays or make it recursive

Member Avatar for jstfsklh211
0
274
Member Avatar for ashalatha

> $this->db->like('invoice_master.date',$this->input->post('invoice_id')); > $datecondition; should probably be something more like this $this->db->like('invoice_master.date',$datecondition); of course given your question you should probably be using a between operator and have 2 date conditions

Member Avatar for jstfsklh211
0
180
Member Avatar for kevwood

new PDO("mysql:host=" . $this->host . ";**dbname=**" . $dbn, $usr, $pwd, array(

Member Avatar for kevwood
0
200
Member Avatar for Borzoi

PHP file from the manual Return Values ΒΆ Returns the file in an array. Each element of the array corresponds to a line in the file, with the newline still attached. Upon failure, file() returns FALSE. your search is failing because the value is really `'<p>\r\n'`

Member Avatar for Borzoi
0
447
Member Avatar for J.C. SolvoTerra

looks good you may want to consider a category table for search purposes ie firstdance/friends/bridesmaides albums would be likely to contain pics from multiple categories also i would break the photo out of the album table and use a crosswalk table between album and photo you want to be able …

Member Avatar for jstfsklh211
0
189
Member Avatar for Trevor_4

create an array and in your loop do something like array[int(score/10)]++; not sure what the exact sytanx is as i dont work with java

Member Avatar for jstfsklh211
0
110
Member Avatar for Sophia_1

>while($row = mysql_fetch_array($rs)){ >echo "<option value=".$row["Email"].">".$row["Position"]."</option>"; > >$_POST['Email']='".$row["Email"]."'; >echo $email=$_POST['Email']; >} no idea what this is supposed to be doing this however >echo $mail->AddAddress('$email'); ` assuming `$email` has a value should read `$mail->AddAddress($email); `

Member Avatar for Sophia_1
0
213
Member Avatar for annya
Member Avatar for Dani

if (!isset($_SERVER['HTTPS']) OR empty($_SERVER['HTTPS']) isn't that redundant doesn't `empty()` check `isset()` why have both

Member Avatar for lorenzoDAlipio
0
315
Member Avatar for phfilly
Member Avatar for jstfsklh211
0
297
Member Avatar for davy_yg

like broj1 said add the sql string to your die also instead of using mysql look into http://php.net/manual/en/book.mysqli.php http://php.net/manual/en/book.pdo.php

Member Avatar for broj1
0
340
Member Avatar for berserk

when uploading a file through a file input you'd access the actual file through its "uploaded" or temp name $file = $_FILES["file"]["tmp_name"]; $file_handle = fopen($file, "r");

Member Avatar for berserk
0
402
Member Avatar for ankit1122

post some come please when you say to scripts, do you mean 2 sections like `<?php ?>` are you talking about sharing variables between functions

Member Avatar for ankit1122
0
839
Member Avatar for Transcendent

the syntax for insert/select is usually INSERT INTO myTable(num, num2) select 15, myFunction(15);

Member Avatar for jstfsklh211
0
211
Member Avatar for kaprikorn07

php is a server side language you can't make a dynamic site using php alone you need to use a client side language to send the info back the server as well as make the display changes on the client side google ajax

Member Avatar for kaprikorn07
0
1K
Member Avatar for vizz

http://api.jquery.com/slideUp/ is used for hiding elements it decreases the element hight technically you would want to use http://api.jquery.com/slideDown/ which increases element hight

Member Avatar for diafol
0
4K
Member Avatar for hallianonline

you're not going to be able to create multiple instances with the same name each time you loop your telling the edit button to only work on the last one

Member Avatar for diafol
0
224
Member Avatar for someoneelse
Member Avatar for <M/>

are those pages being loaded properly by the site check firebug/other tool to make sure your urls are correct may seem basic but...

Member Avatar for shashikumar s g
1
712
Member Avatar for sivaindani
Member Avatar for bops

assuming the order of the columns matters //get maxHeight from the columns + 1 for the header (mid) maxHeight = count(biggest) + 1 loop menuItems //curHeight needs to include all mid and bottom already printed if curHeight + nextColLength + 1 > maxHeight nextCol else printCol if the order doesn't …

Member Avatar for jstfsklh211
0
231
Member Avatar for Web_2

you're going to want to do this client side (js) so that you can detect when a user has input text into one of the boxes //my sudo code (write your own code) func boxchanged() { if has value set enabled else call checkboxes() } func checkboxes() { foreach box …

Member Avatar for mattster
0
179
Member Avatar for hanspeare_1

`move_uploaded_file($_FILES['fileup']['tmp_name'], $uploadpath` change $uploadpath

Member Avatar for RAPIDFIRE0311
0
206
Member Avatar for mbarandao

when naming your form fields add brackets to the name to indicate an array `<input name="child[1]['name']"/>`

Member Avatar for mbarandao
0
555
Member Avatar for Pravesh_1
Member Avatar for GlenRogers
Member Avatar for GlenRogers
0
246
Member Avatar for Siberian
Member Avatar for filipgothic
Member Avatar for filipgothic
0
208
Member Avatar for Benjamin_11
Member Avatar for iamthwee
0
312
Member Avatar for Hannan_2
Member Avatar for faisal.qureshi.7121614

the field name is currently "count(approved)" if you dumped your results thats what you would see `count(approved) as approved` would return approved as a field

Member Avatar for faisal.qureshi.7121614
0
410
Member Avatar for hiiiiii@
Member Avatar for hiiiiii@
0
209
Member Avatar for ankit1122
Member Avatar for poshka

> UPDATE student_info SET total_mark=$total_mark WHERE c_id=$c_nam in any query string values in quotes are treated as text where as string values not in quotes are assumed to be sql (column names in this case) in this case `(col)total_mark = (col)[value from $totalmark]` just need to add single quotes around …

Member Avatar for jstfsklh211
0
160
Member Avatar for aparnesh
Member Avatar for jstfsklh211
0
279
Member Avatar for hiiiiii@
Member Avatar for Elvi

do you have anything to show us we wont do it for you but we will help you work through it

Member Avatar for Elvi
0
255
Member Avatar for AycheKay

max-height just sets a limit on how high the element can get you dont have a specification for actual hight or min-height if you always want that margin to display your max-height should be 100% - margin

Member Avatar for diafol
0
297
Member Avatar for Ambrish_1
Member Avatar for BTW8892

use a loop to go through posted fields and build your query in that loop loop $_POST where .= and field = value

Member Avatar for BTW8892
0
276
Member Avatar for patk570

whats the issue? always verify login before returning results about anything else ie license

Member Avatar for jstfsklh211
0
275
Member Avatar for everton.retweets

check the content of the db field in what format are those chars stored

Member Avatar for diafol
0
154
Member Avatar for haymen.roth.3

not a .net guy but distinct is only going to help you if all the values on the line are the same not sure what the command would be but better off grouping on emplid

Member Avatar for sushmaja.arumalla.9
0
187
Member Avatar for kyle.santelices.31
Member Avatar for Rahman_1
Member Avatar for amna zafar
Member Avatar for diafol
0
357
Member Avatar for london-G
Member Avatar for rajendher
Member Avatar for rajendher
0
449
Member Avatar for edbr

$stmt->bindValue(':over_14', $_POST['over_14']); try this instead $stmt->bindValue('over_14', $_POST['over_14']);

Member Avatar for edbr
0
220
Member Avatar for chrisschristou

The End.