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
~10.6K People Reached
About Me

please disregard any stupid comments i make, i am extreamly ADD and i willllll doseeeee offffffff while typing

PC Specs
ubuntu server/apache, php4, mysql5/custom build + hp pavilion tx1000 laptop/vista 32
Favorite Tags

33 Posted Topics

Member Avatar for sam1

i ran a search in the php documentation. i dont know if this will help, but its worth checking out. [url]http://us2.php.net/manual/en/function.newt-refresh.php[/url]

Member Avatar for diafol
0
3K
Member Avatar for naju
Member Avatar for MrPixel

try this: [CODE=html] <div id="div1" style="background:#003399; height:152px; width:175px; position:absolute; left: 595px; top: 181px;">div 1</div> <div id='div2' style="background:#99FF00; height:500; width:500; position:absolute; left: 44px; top: 143px;">div 2</div> <input type="button" onclick="javascript:matchHeight('div1','div2');" value="match height" /> <script type="text/javascript"> function matchHeight(id1,id2) { var el1=document.getElementById(id1); var el2=document.getElementById(id2); el2.style.height = el1.style.height; } </script> [/CODE]

Member Avatar for bulletcatcher
0
332
Member Avatar for hunkychop

does anybody know a mysql query that i can use in my php document that will return the number of rows their are in a table? thanks, i cant find it in the MySQL mannual

Member Avatar for amit_kuetcse2k5
0
188
Member Avatar for knight fyre

firefox 2's error console works quite nicely. it will tell you a syntax error is on line 1 every now again, forcing you to search. i would have to agree with ShawnCplus however on the whole deal. but for quick check, the built in fire fox error checker helps.

Member Avatar for helioptra
0
273
Member Avatar for aran87

first, no, you cant have any html inside of the php tags unless it is in an echo/print . i would put the form and submit buttom outside of the tags. second, before you try to loop through databaase results, you have to connect to the database and retrieve results. …

Member Avatar for coboldeveloper
0
162
Member Avatar for dudegio

[url]http://php.net[/url] there is a search box that will search all of the functions available, documentation, and more in php.

Member Avatar for candlelight
0
121
Member Avatar for hunkychop

i have searched the web for awhile on this... i wrote a script that will format certain words as the user types [INDENT](ex. when the user types MTrak the text is replaced with <b>MTrak</b>)[/INDENT] i need to know how to view the formatting in a text box, not the tags. …

Member Avatar for zasyatkin
0
341
Member Avatar for ctoz

to inilize an action when a div is clicked, it needs to have the "onclick" parameter set. ex. [CODE=html]<div class="longtext" id="div0"> <span class="chin L"> begin 九</span></div> <div class="section" id="div1" onclick="javascript:getText(this.id,'div0');"> <p class="chin"> 乾 元</p> english text </div> [/CODE]

Member Avatar for hivenk
0
113
Member Avatar for The Dude

[QUOTE=The Dude]Please be aware if you click on the video it is VERY GRAPHIC - the most disturbing,graphic video ever[/QUOTE] could this be the next 2 girls one cup!?!?!??!?! dibs on first youtube live skinning reaction video! jk, live skinning animals is horrible. do on to others as you would …

Member Avatar for >shadow<
1
281
Member Avatar for hunkychop

what i want to do is this: [CODE] function foo(param1, param 2){ [INDENT]this.bar=function(){ [INDENT]this.intervalID=setInterval(this.fbar,5000);[/INDENT] } this.fbar=function(){ [INDENT]//(do stuff with the properties of "this" alert(this.intervalID);[/INDENT] } [/INDENT] }[/CODE] but setInterval will not carry over the properties of "this". when this happens: [CODE] var apple=new foo(5,27); apple.bar(); [/CODE] i need apple.fbar(); to …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for kaushik259106

it is a div with 100% width that drops down using a setInterval loop. it is probably put in place by server side scripts

Member Avatar for phper
0
146
Member Avatar for feiticer

so when the user goes to that folder, they see a blank page instead of a directory of all of your files. ex. [url]http://johndm.com/images/index.JPG[/url]

Member Avatar for tarsem
0
88
Member Avatar for nikesh.yadav

"Php and Mysql Web Development" third edition by Luke Welling and Laura Thomson. ISBN 0-672-32672-8 quite possible the best resource on everything php and mysql. it covers this about session control: what is session control understanding session functionality -cookies -setting cookies with php -using cookies with sessions -storing the session …

Member Avatar for hunkychop
0
77
Member Avatar for hunkychop

i have looked at many regex charts and tutorials but i still cant get preg_match_all do what i need it to do. i need to return this example: [INDENT]param1,$config{}[/INDENT] from this string [INDENT] $new_config{param1,$config{}} [/INDENT] note: none of the data in the string has anything to do with php the …

Member Avatar for hunkychop
0
69
Member Avatar for hunkychop

is there a way to create a function that uses values from the statement inside of brackets. ex. [CODE=php] myFunction(){ //data here } [/CODE] if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag. for …

Member Avatar for hunkychop
0
127
Member Avatar for sukhy_1

[code=php]//do you login script here //after user is logged in $username= $_SESSION['username']; //after connecting to mysql $query = "SELECT * FROM students WHERE username= '".$username."'"; $result = mysql_query($query); $row = mysql_fetch_array($result, MYSQL_ASSOC); //row is array with all details. here are some examples echo $row['name']; echo $row['email']; //or print all-> foreach($row …

Member Avatar for hunkychop
0
96
Member Avatar for husna_feza

a quick google search finds this: [url]http://www.phpclasses.org/browse/package/2859.html[/url] [QUOTE] This class can be used to perform several types of operations with matrices. It can perform the operations like sum, reduction, multiplication, division, covariance matrix, mean matrix, inverse and determinant.[/QUOTE]

Member Avatar for hunkychop
0
79
Member Avatar for DWSandyS

here is how to do it in javascript: [CODE=html] <!-- your image --> <img src="YOUR_THUM_IMAGE_PATH" onclick="javascript:fillDiv('YOUR_BIG_IMAGE_PATH','div1');" /> <div id="div1" style="width:100; border:thick; display:inline;">click the image to make new image appear here</div> <script type="text/javascript"> function fillDiv(imgurl, div){ document.getElementById(div).innerHTML="<img src='"+imgurl+"' />"; } </script>[/CODE]

Member Avatar for hunkychop
0
78
Member Avatar for raywood5

here is the script: [CODE=html] <select id="jump"> <option value="http://localhost/page2.html" onclick="javascript:window.location = this.value;">page2</option> <option value="http://localhost/page1.html" onclick="javascript:window.location = this.value;">page1</option> <option value="http://localhost/page3.html" onclick="javascript:window.location = this.value;">page3</option> </select> <script type="text/javascript"> var slect=document.getElementById('jump'); if(slect.value!==location.href){ slect.value = location.href; } </script>[/CODE]

Member Avatar for hunkychop
0
191
Member Avatar for Inny

what kind of board are you using? can you use javascript in it? if you can insert javascript on the page, do this... [CODE=html]<script type="text/javascript"> function changeMaxLength() { var maxlen = '50';//change this to what maxlength you want var node=document,classname='forminput'; var a = []; var i; var re = new …

Member Avatar for Inny
0
103
Member Avatar for tilto

if you menu is positioned absolutely or relatively positioned, i can see this happening do you have a link, i am not completely sure what is happening

Member Avatar for hunkychop
0
188
Member Avatar for Inny

using ajax to call a php fuction: [INDENT]put this where you want resutls: [CODE=html]<div id="results" style="display:inline; width:100px; height:20px;"></div>[/CODE] include this ajax library in the page you want the results to display on. [INDENT][url]http://www.codeproject.com/KB/ajax/SAL/sal_src.zip[/url][/INDENT] [CODE=html]<script type="javascript" src="path_to_ajax_lib"></script>[/CODE] create php page with your function in it and do this: [CODE=php] <?php function …

Member Avatar for digital-ether
0
493
Member Avatar for jeffasbrand

is this what you are looking for? [CODE] <script type="javascript" > //replace formname with with the name of your form and inputname with the //name of the input field you want to select document.formname.inputname.focus(); document.formname.inputname.select(); </script>[/CODE]

Member Avatar for jeffasbrand
0
105
Member Avatar for mjs301

if you want to have the script email the results, it would probably be easier and safer to use a server side script like PHP . i could be wrong but, i dont even think javascript will send emails.

Member Avatar for DangerDev
0
93
Member Avatar for hunkychop

how could i call a javascript function through an url like> [CODE]http://localhost/?functionname.params[/CODE] i get how to do a link but i need to know if it is possible through an url. if it is not posible with just javascript, php scripts will do thanks!

Member Avatar for DangerDev
0
185
Member Avatar for dev.cplusplus

<input type="button" onclick="javascript: Test(mystring)" name="clickMe" value="Update Now!" />

Member Avatar for hunkychop
0
66
Member Avatar for hunkychop

this is fixing to drive me off a cliff!!! i got a static ip asigned to my modem. i have a linksys router hooked directly to my modem. I have a linux server hooked directly to my linksys router. How do i get the static ip to go to my …

Member Avatar for hunkychop
0
68
Member Avatar for hunkychop

i wrote this script and i cant get any ouput from it. [code] $time = $_POST['time']; $budget = $_POST['budget']; $visual = $_POST['visual']; $update = $_POST['update']; $custom = 0; $stream = 0; $easyup = 0; $selfup = 0; $upserve = 0; if($time == "deadline"){ $custom = $custom + 1; } if($time …

Member Avatar for Anonymusius
0
86
Member Avatar for hunkychop

i need a script that would tell the server to fwrite every other request, not every time. anybody got an idea?

0
64
Member Avatar for hunkychop

ive never had this error before, could any one help me sort this out? here is the effected section of my script. thanks for any help [php] </span></p> <p>&nbsp;</p> </blockquote></td> </tr> </table> </body> </html> <?php //script end ?>[/php] ive also tryed... [html] </span></p> <p>&nbsp;</p> </blockquote></td> </tr> </table> </body> </html>[/html]

Member Avatar for GliderPilot
0
75
Member Avatar for hunkychop

i am trying to export the results from a form into the script of another php in form of variables : ex. form proccess script (globalvar.php) [quote] $dbtype = $_POST['dbtype']; $dbhost = $_POST['dbhost']; $dbname = $_POST['dbname']; $dbpass = $_POST['dbpass']; $dbport = $_POST['dbport']; $dbtable = $_POST['dbtable'];[/quote] new php (varheader.php) [quote] $dbtype …

Member Avatar for hunkychop
0
110
Member Avatar for hunkychop

ive got a [B]Parse error[/B]: syntax error, unexpected T_VARIABLE on this line: [code]$dboutput = "//database vars \n" "$dbtype = '".$dbtype."'; \n" "$dbhost = '".$dbhost."'; \n""$dbtype = '".$dbtype."'; \n""$dbname = '".$dbname."'; \n""$dbport = '".$dbport."'; \n""\n" "$database = array($dbtype, $dbhost, $dbname, $dbpass, $dbport);";[/code] any idea of whats wrong with it?

Member Avatar for digital-ether
0
106

The End.