345 Posted Topics
Re: lol that book sucks, that's pretty hardcore for a starter in PHP, i prefer you learn PHP easy way from [URL="http://www.w3schools.com/php/default.asp"]w3schools[/URL] | |
Re: this error clearly says the file did not exist, you file logIn.php does not exist, try re checking your file on it's directory body/login/ | |
hey guys anyone know here how to browse image from server? currently the code <input type="file" name="file" id="file" /> is browsing from my computer. I want it to browse from the server, is it possible? thanks in advance | |
Re: make a checkbox then assign id to each value in a row, just name your checkbox to array, example [CODE]<form> <input type="checkbox" name="cid[]" value="1" /> 1<br /> <input type="checkbox" name="cid[]" value="2" /> 2<br /> <input type="submit" name="submit" value="submit" /> </form>[/CODE] replace value with your id in your database. when you … | |
hey guys anyone here know how to change the default menu icon of component in joomla? currently it's using the box icon :( | |
Hey guys, anyone know how to change facebook plugin like button, text "like" to a custom text? thanks in advance | |
Re: [CODE]$timestamp = 1277851200; // as your example echo date("h:i:s",$timestamp);[/CODE] | |
hey guys im new to joomla and i don't know what caused this problem, i had created a new template myself, and successfully installed it and it displays correctly, but when i try to edit the template in the backend it doesn't show any any html code it only shows … | |
Re: i don't think the world will end, but i think a huge destruction will happen, but the earth is still in one piece.... hmmm the "fall out" game will come to life and the survivors will come out from their vaults, going to start from scratch, people will strive to … | |
Re: evil doers are so glad with this new technology... now even live video can be fake... lol | |
Re: one thing is for sure there is a problem on your query and your post is so ridiculous... its a very long code.... | |
Re: The web designer came from a time machine ^_^ | |
Re: favorite foreign movie of all time - Forest Gump favorite local movie of all time - Magnifico | |
Re: i don't need a Halloween costume coz my face already is for horror ^_^ | |
Re: 1gb RAM and 1gb video card is not so bad and I Prefer PC over console by control advantage... like shooting game... it's so much easier to aim using mouse rather than analog.... | |
Re: just a suggestion: javascript is very complicated... specially when your coding native javascript... i recommend you make use of the most popular javascript library today... which is jQuery; It will make your life more easier... ^_^ | |
Re: in your if statement [CODE]if($x or $y or $z == "")[/CODE] it should be [CODE]if($x || $y || $z == "")[/CODE] | |
![]() | Re: Then i will not shoot the rabbit and wait for another animal to shoot, there's always a choice ^_^ and shooting a talking rabbit is very creepy... the talking rabbit might curse me and i would not rather take the risk.... and i don't have to stomach to eat a … ![]() |
Re: [QUOTE=ardav;1325050]The best - loved my best mate, so shared this girl with him. Wild as hell. Great days. The worst - girlfriend found out above our threesomes and dumped me. At least she didn't want to join in - that would've been worse still.[/QUOTE] niceeeeeeeeeeeeeeeee master ^_^ | |
Hi all, so how superstitious are you? mind sharing them? my superstitious beliefs are: - when you cut your nails at night, it brings bad luck - when you see a black cat it brings bad luck - when you dream that you lost your teeth, someone in your family … | |
Re: do you know that in order for you to use php mail() function, u need to set-up a working email system first. [url]http://www.w3schools.com/php/php_ref_mail.asp[/url] | |
Re: all hail to google! :) | |
Re: hi mirth... filipinio ka noh? kac nakita ko yung location = caloocan. hahaha tol try mo daw change to [CODE] mysql_query("UPDATE customer_order set `Truck` = '$truck' where Location = '$location'");[/CODE] to [CODE]mysql_query("UPDATE customer_order set `Truck` = '$truck' where Location = '$cust_no'");[/CODE] | |
Re: i never tried including a php file using javascript external, if you really want to include a php file user php include() or require() instead | |
Re: one thing is for sure, theres an error in connecting to the database or selecting a table or wrong table names you have renamed it, review your database | |
Re: @Ambism hes just throwing a bunch of codes... good luck to you boy ^_^ | |
Re: [CODE]$stylequery="SELECT DoorID, DoorType FROM do_style WHERE DiyOrderID = '$orderId'" ; $styleresult= mysql_query($stylequery,$con) $max = mysql_num_rows($styleresult); for($i=0;$i<$max;$i++) { $row = mysql_fetch_array($sql); echo "<tr> <td style='width: 49px; height: 24px; text-align: center' title='Wall Cabinets'> ".$i." </td> <td style='width: 61px; height: 24px'>".$row['DoorType']." </td> </tr> "; }[/CODE] ![]() | |
Re: from a developer's point of view... google is the best company in the whole world! from a very simple search engine. Now look at google. they had made so many things, google map, google translate, google chrome, google OS and so many more, they are a brilliant dev team and … | |
| |
Re: i bet theres an error upon including a file, try using include instead of require coz when require encounters error, the script execution will stop and generate a fatal error, try reading this link for a much detail info [url]http://www.w3schools.com/php/php_includes.asp[/url] | |
Re: its because of your form action [CODE]action="http://127.0.0.1/sendsmstest.php"[/CODE] upon form submission you will be redirected to sendsmstest.php | |
Re: [CODE]<?php echo "<form> <input type='text' name='txtsample' value='' /> <input type='submit' name='btnsubmit' value='submit' /> </form>"; ?>[/CODE] or [CODE]<form> <input type='text' name='txtsample' value="<?=$_GET['txtsample']?>" /> <input type='submit' name='btnsubmit' value='submit' /> </form>"[/CODE] | |
Re: its because of your header() redirection, before the echo can output your message the page has been redirected. you can try this [CODE]<?php if (trim ($_POST['yourname']) == "") { echo "<script>alert('u have not entered any data'); window.location='redirect.html'</script>"; } echo $_POST['yourname']; ?>[/CODE] | |
Re: just increment it everytime it clicks and save it to database | |
Re: edit your timezone in php.ini [CODE][Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = "Asia/Manila" //edit your timezone here [/CODE] click here for the rest of timezone [url]http://php.net/manual/en/timezones.php[/url], after your edit save changes and restart your PHP server | |
Re: one thing is for sure, the condition didn't satisy the if statements. try echoing those variables to see their value, ie $avatar, $ulevel and $inactive | |
Re: shucksss... this guy so lazy, you asked for help with just making a simple form? fine.....here ill give you a chance, but do you homework next time kiddo [CODE]<html> <head> </head> <body> <form> <table> <tr> <td>Name</td><td><input type="text" name="name" /></td> </tr> <tr> <td>E-mail</td><td><input type="text" name="email" /></td> </tr> <tr> <td>Phone</td><td><input type="text" name="phone" … | |
Re: as i you see your trying to implement a chatting system. Use form submission, instead of onclick events [CODE]<?php if($_POST['btnsubmit']){ $user = $_POST'user']; $msg = $_POST['msg']; $con = mysql_connect("localhost","host"); // i hope you can already connect successfully if (!$con) { die('Could not connect: ' . mysql_error()); } $now = time(); … |
The End.