- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 2
66 Posted Topics
Re: This is good. thanks. | |
Re: I haven't tried to create an sms gateway using php, but i already tried creating sms gateway api using javascript | |
Re: Thanks for the info. | |
Hello everyone. I would like to ask for your help, I've been stuck in this problem for wholde day. every time I run this code it gives me an error of "The report has no tables" even though I have a dataset. my dataset is datatable that came from the … | |
Re: Please read this link http://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question | |
Hi everyone, I'm a newbie in VB.net I would like to ask if there is a code or equivalent code or script like $_SESSION variable of PHP in VB.Net Thanks; | |
Hi everyone, I'm new in vb.Net programming and i just want to ask how to validate a "Double" data type. for example. Dim number as Double number = textbox1.text If the value of "number" variable is in "Double" data type like 1.23 or 0.12 it returns a correct value and … | |
Re: This is the missng part. <select> | |
Re: use the PHP code strip_tags() on your PHP page. example: $variablename = strip_tags($_POST['myvalue']); | |
Re: how about try to insert some javascript into your into your html. on your <head></head> part insert a jquery. then add this code to your head after your jquery. <script> $("document:).ready({ $("#IdNameofYourResetButton").click(function(){ $("#yourFormID")[0].reset(); }) }); </script> in this part everytime you click on that certain button it will execute this … | |
Re: "elseif" and "else if" are has the same output. | |
Hi Everyone I have a problem regarding PHP Array here is the code: $array_of_arrays = array( array[0] = value1, value2, value3; array[1] = value4, value5, value6; array[2] = value7, value8, value8; ); Well i want to skip array[0] in loop. i just want to start the process of loop from … | |
Can anyone teach me how to print "Hello World" 100 times without using the loop such as do, for, while, and foreach. Thanks... | |
Re: 1.check your smtp connection if you already connected. 2.check you have mail server installed or if you are using "xampp", check your mercury service. | |
Re: you can put your function inside a class before you call it and instantiate it to your file. like [CODE] <?php class className{ function fix_it($name){ $name=ucwords(strtolower($name)); echo $name; } } ?> <html> <head> --some code here ---- </head> <body> -----forms here------ <?php echo className.fix_it($name); ?> </body> </html> [/CODE] | |
Re: you are using database here therefore you need to select first the table_column of the database that has the value that you are going to use for the list. it will give you an array result then call it in a function so that everytime you add or remove a … | |
Re: remove the [CODE]print()[/CODE] and change it into [CODE]echo()[/CODE] in line 15. [CODE]print <<<TOP <html> ... </html>[/CODE] to [CODE]echo " <html>... </html>";[/CODE] | |
Re: you can add data to another page of your html either by [CODE]$_POST['variab1e_value'][/CODE] or [CODE]$_GET['varible_value'][/CODE] method depending on your form. e.g oh your HTML code [CODE]<form action="form_action.asp" method="get"> First name: <input type="text" name="fname" /><br /> Last name: <input type="text" name="lname" /><br /> <input type="submit" value="Submit" /> </form> [/CODE] the method … | |
Re: the easiest way is to use session variable, but if you dont like to use session variable try this. put on top of your index [CODE]include_once("class.php");[/CODE] since you are already using the instantiated value of class into your index.php | |
Re: you dont need to rewrite it, just go to [url]http://localhost/yourwebfolderhere[/url] | |
Re: Remove the outputs from your header. | |
Re: I suggest you use AJAX. I've already encounter that same problem. I use ajax into my javascript. I direct the url of the website "one" to the website "two". [CODE] /*example*/ $.ajax({ type:"POST", url:"server/fromServerX.php?action=viewServerY", success: function(msg){ // your code here } }); [/CODE] | |
Re: $username and $password don't have any values in your code. since you already created a function, insert this to proseslogin.php line 3: [CODE] $username = $_REQUEST['username']; $password = $_REQUEST['password']; [/CODE] | |
Re: remove the "@" sign. it ignores error message in your code that's why you got 0 error message. case close. :D | |
Re: kung timer kailangan mo lagyan mo ng javascript yung php mo. eto yung code na idadagdag mo sa java script mo. [CODE]window.setTimeout('window.location="<? /*function here*/ ?>"; ',60000);[/CODE] kada 1 minuto magiiba iba yan. | |
Re: you need to create a class for that. then on your javascript: [CODE] var number = $("#idOfYourTextbox").val(); $.ajax({ type:"POST", url: (example url only) "server/filename.php", data: dataString, success: function(msg){ // your code here } }) [/CODE] | |
I created a program using php that will attach a file if you click "attach" button. the problem is that i always receive this message when i try to attach a file even though I didn't create an error message that states this "attachment failed. this may be due to … | |
Re: I learned it at [url]http://www.w3school.com[/url] | |
Re: use this as your note: 1. make each every row of your table1 result into an array; the result should be like this: [CODE]$table1Array = Array(Array][0],Array][1],Array][2],Array][3],Array][4]);[/CODE] then use the php code tag "foreach()" to separate this arrays into single array. 2. if you already have an array for the first … ![]() | |
| |
Re: it was on daniweb database (i guess) that every avatar has its own id. | |
Re: combine the two tables first. SELECT column_name(s) FROM table_name1 INNER JOIN table_name2 ON table_name1.column_name=table_name2.column_name ![]() | |
can somebody or someone teach me how to deal this warning: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting … | |
Re: your problem is not on your php code, it's your table was the problem. your code to your table sould be like this. i haven't seen you created your table but you should check on your table. well here is the code to fix that. [CODE] CREATE TABLE tb_studreg( id … | |
Re: $result = mysql_query("SELECT id,column1,column2,column3 FROM userdb WHERE id = '".$ref1."'"); $row = mysql_fetch_row($result); echo $row[column1]; echo $row[column2]; echo $row[column3]; | |
Re: you need to put a limitation. | |
Re: [QUOTE=;][/QUOTE] I dont get it. normally you'll get Incorrect T_VARIABLE when there is incorrect variable or there is no semi-colon on the last line. can you post the whole line of error. | |
Re: yeah you really mess something. take a look at your jquery code. [CODE] <script type="text/javascript"> $("form#form2").submit(function(){ $("form#form1").show(); $("#tests").hide(); <?php $url = 'test1.php'; ?> return false; }); $("form#form2").submit(function(){ $("form#form3").show(); $("#tests").hide(); <?php $url = 'test2.php'; ?> return false; }); </script>[/CODE] -->> my question to you, do you really understand this code? where … | |
Re: [QUOTE=;][/QUOTE] store your session into the database. it is more secured. | |
Re: use HTML TAG [CODE]<embed></embed>[/CODE] example: [CODE]<embed src="http://www.youtube.com/examplevideo.avi" autostart="false" />[/CODE] mark this as solve if you don't have anymore question. | |
Re: does the header.php is on the same folder with your index.html? if your header.php is within the same folder with your index.html remove the "includes" and this will be your code: [CODE] <?php include('header.php'); ?> [/CODE] or if your header.php is not within the same folder with your index.html and … | |
Im sure most of the php developers here knows how to use mysql or mysqli now my question is Which is better? Mysql or Mysqli? And why? please answer me guys. | |
Re: WHAT is the connection of that link to the php? HOW? or maybe it was just deleted by you? :D | |
Re: to: chrishea I think he's using or talking a joomla template. since he said that "i just want to if how to put a [COLOR="Red"][B]template[/B][/COLOR] in php,,i already have my template and when i used it, I inserted it outside..i named it index" to jorjah you are already working with … | |
Re: I see that your code is doing fine with a little edit. this is a hint to the solution. have you try to debug your ajax using "alert()"? especially on this part: var username = document.register.username.value; var password = document.register.password.value; var password2 = document.register.password2.value; var email = document.register.email.value; var firstname … |
The End.