546 Posted Topics
Re: I made like this one. You can check [URL="http://kkz.serveftp.net/php-crazy/"]here[/URL]. You can write your raw PHP left side and when you clicked 'Run', the code will process and will display as a result at the right side. But, it's not professional. Just amateur. | |
Re: You tested with what ? This one ? [QUOTE]$html->find('$html->find('#divid');'); $html->find('div[id=divid]');[/QUOTE] Does it correct use ? In my opinion, your class wont' work while it is quoting, the first line. Furthermore, why the class is inside the same class as parameter. Perhaps, you would not probably well read the instruction. I … | |
Re: If you learn PHP without HTML,CSS basic, then, you would have problem in the development cycle. | |
Re: [QUOTE][name] => Infinite Lives [0] => 8001E096 0007[/QUOTE] You put both numeric and associative in same matter. It is the problem. Why your one array key is associative type and other numeric ? Try to build the array structure. | |
Re: This is PHP forum. You question rather like Javascript. Move to Javascript forum. ![]() | |
Re: Slashes are special characters in PHP. I think you should escape the slashes. [code] define("SITE_PATH", "D:\\Hosting\\6585577\\html\\rhythmmovement\\"); [/code] It can work both. ![]() | |
Re: [QUOTE]"SELECT account_details.full_name, account.account_balance ". "FROM account_details, account ". "WHERE account_details.account_number = account.account_number";[/QUOTE] Check this query manually in phpMyAdmin. If 0 row returns, the problem is no account in table. | |
| |
Re: No 'absolute' for layout structure. Try to alter another way. | |
Re: Read again the documentation. We've no use in this plug-in. so, we can't know how it suppose to work. | |
Re: Where your images are storing ? Are they same root of that PHP file ? If not, put the absolute path or relative path like below: [code] echo "<img src=\"http://yoursite.com/images/avatar/".mysql_result($userg,0,"avatar" )." width=\"200\" height=\"200\">"; [/code] By the way, don't post many thread with the same case. | |
Re: It may sound like you need to involve the WP framework and their functions indeed. I've not seen if there is custom function working on the WP framework. Even if you can do, it is hard to compatible with WP and will cause may bugs. Better way, see the WP … | |
Re: Where did you want to do that process ? You've not FORM already within your HTML, which means that how do you pass these drop-down value and process that ? Perhaps, it may not what you want. But try this: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html … ![]() | |
Re: You're not preventing the SQL injection. You're probably encrypting the data. ![]() | |
Re: Solved ? Mark as 'Solved' with the below link like 'Marke as Solved Thread' or somethign similar. | |
Re: [QUOTE]<form id="form1" name="form1" method="post" action="changepassword.php">[/QUOTE] What for that file ? You've all the snippets for that process in the same file. Is not it ? Perhaps, your problem due to [CODE]<form id="form1" name="form1" method="post" [B]action="changepassword.php"[/B]>[/CODE] How is it with this one: [code] <form id="form1" name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> … | |
Re: I'm not sure but do you want this table as XML structure ? XML is not like HTML, XML has not fixed predefine tags whether HTML has. You must define your own tag that related with the type of the data as much as you need. Is that what you … | |
Re: URL variable ? You mean 'www.xxx.com?data1=php&data2=language' like this ? You can retrieve the parameter passed by URL with `$_GET[]` method. With above example [code] $data1 = $_GET['data1']; //assign 'php' from url $data2 = $_GET['data2']; //assign 'language' from url [/code] Perhaps, I'm wrong. | |
Re: This is not Javascript forum. Move your thread to Javascript forum. | |
Re: 'session_start()' requires on your page. But, it might be the first before output any HTML or processing PHP codes. [code] <?php session_start(); ?> [/code] | |
Re: I suggest to use standard mode, i.e., 'selected' should be 'selected="selected". But, what for '--Select--' when there is already the default selected item, 2012 for now. | |
Re: Well, you can use both whenever you want. But, they've different response. For example: [code] $name = 'John'; echo 'My name is $name'; // returns My name is $name echo "My name is $name"; // reutnrs My name is John echo 'My name is ' . $name; // with single-quote, … | |
Re: Wrap your codes with code tag, that is providing on the toolbar with the button (CODE). ![]() | |
Re: Group the checkbox with the unique name like @IIM method. But, you don't need many query within the loop. It is unnecessarily extra process. Try this: [code] if(isset($_POST['submit'])){ $sql = "SELECT"; $check = (array) $_POST['a']; for($i = 0; $i < count($check); $i++) { //assign the query string $sql .= ($i … | |
Re: If solved ? Then mark it as 'Solved' with below link 'Mark as Solved' or something similar. | |
Re: [QUOTE]$query = "UPDATE account SET `account_type` = '$atype', `fd_period` = 'fdper' WHERE `account_number`= anum";[/QUOTE] Are you using this statement ? 'anum' should be '$anum'. | |
Re: Build the require fields in the form. PHP is also ok. You need to put the fields that would process by PHP. [QUOTE]$info = array( 'nic' => $_POST["nic"], 'full_name' => $_POST["full_name"], 'name_with_initials' => $_POST["name_with_initials"], 'phone_number' => $_POST["phone_number"], 'address' => $_POST["address"], 'gender' => $_POST["gender"], 'date_of_birth' => $_POST["date_of_birth"], 'account_type' => $_POST["account_type"], 'fd_period' … | |
Re: Both are inline, and they'll appear one beside one, you may not need to float them. Do as @twiss said, wrap with 'DIV'. If you use 'float', no problem. But, float can cause some issues and you need to fix that. | |
Re: What value are you meaning ? This one [icode]$sector=$_GET['sec'];[/icode] ? Your question is not clear. | |
Re: Move this to Javascript forum. | |
Re: Does your server allow short tag [icode]<?= 'something'; ?>[/icode] Try to replace this statement [icode]<?=$tn;?>[/icode] to [icode]<?php echo$tn; ?>[/icode], and check does any output returns. If so, your server's PHP setting does not allow for short tag. | |
Re: Use separate class for the current tab and set the highest 'z-index' property than the others. My example like below: [code] <html> <head> <style> .tab_button { background-image:url('dark.png'); float: left; position: relative; margin-right: -13px; /* depends on your image size */ width:143px; height:31px; line-height; 31px; /* give the same values of … | |
Re: Try this: [code] .table2 { float: left; width: 200px; } .table3{ float: right; width: 200px; } .table1{ margin-left: 200px; /* requires at least table2 width */ margin-right: 200px; /* requires at least table3 width */ } [/code] | |
Re: [QUOTE]<title>June 16, 2011 » The-Elder-Scrolls-V-Skyrim_2011_06-16-11_002 — Gematsu Gallery</title>[/QUOTE] Check your view source. The title tag is outside of the HTML. You've wrong close tag of '</script>' at line 59 which is not opened. Validate your markup [URL="http://validator.w3.org/"]here[/URL]. Copy the source codes from the browser 'View Source' and paste into 'Validate … | |
Re: Ensure that Rewrite Engine is on. [code] RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^/([^/]+)/?$ /$1.php [/code] | |
Re: Did you already make a search with google ? I'm not sure what you want exactly. Check out [URL="http://www.ibm.com/developerworks/opensource/library/os-php-encrypt/"]there[/URL]. | |
Re: Post this to the Javascript forum, your javascript functions which does not work. | |
Re: As @twiss says, position the image on this place and attach the event to the image. Just simple CSS. | |
Re: Mark-up are also messed. Fail DTD [URL="http://validator.w3.org"]http://validator.w3.org[/URL]. '<li>' tag is outside of the '<ul>' at line 99. But, I don't think so that probably make the layout flew. Validate your CSS [URL="http://jigsaw.w3.org/css-validator/"]here[/URL]. | |
Re: [QUOTE]$ud_id = $_POST['ORDERING_DEPT'][/QUOTE] Where is 'ORDERING_DEPT' ? That's not found in your form. Ensure that your form has required fields. | |
Re: Show your thumbnail image or what ? What's wrong with the codes ? | |
Re: @MrDJK, you're right. @Jaklins, IE has different known for MIME-TYPE. You'll probably know that echo the file type. IE shows 'jpg' as 'pjpeg' and 'png' as 'x-png'. So, the upload will be done with adding a few lines for those MIME types. [code] $_FILES["fileField"]["type"] == "image/pjpeg" //for jpeg, and jpg … | |
Re: Mark this as 'Solve' if your problem solved. | |
Re: Maybe, XMLHttpResponseText wont' work on the form, and the form can't pass the value. You can check with function and attach with 'onsubmit' to the form. I tested with the following: [code] function check(){ var el = document.form1.masterID.value; alert(el); } [/code] It does not alert on Firefox and work only … | |
![]() | Re: @almostbob I heard that IE support embedded font sice IE6. Isn't right ? :) ![]() |
Re: I'm not sure where you want to disable the previous link. Here is easy way to configure the pagination. To disable previous link, prepare the current page and 1. To disable next link, prepare the current page and the total numbers of the page. Hope this help. | |
Re: PHP is not same like HTML. PHP is server-side and HTML is for client (browser). HTML doesn't need to compile or interpret on the server. It's only interpret by the browser. Unlike HTML, PHP needs PHP engine which was installed on your web-server that interpret the PHP codes which are … ![]() | |
Re: Try this: [code] <?php $year = 2011; $selectedYear = isset($_POST['year_nam']) ? $_POST['year_nam'] : $year; // If you use GET method use $_GET['year_nam'] instead of $_POST['year_nam'] ?> <select name="year_nam" id="year_nam"> <?php for ($yr_nam = 1950; $yr_nam <= 2020; $yr_nam++) { $selected = ($selectedYear || $yr_nam == $year) ? " selected='selected'" : … | |
Re: [QUOTE]<a href="reply_mail.php?id=<?php echo $row['emailID'];?>" > <input type="submit" name="reply" value="Reply" class="button"></a>[/QUOTE] What for the submit button inside anchor ? Put 'reply_main.php' for action of the form and all pass via form with POST method is better. | |
Re: [QUOTE]<a href="index.html"><input type="button" name="Cancel" /></a>[/QUOTE] Better use this one instead above. [code] <input type="button" name="Cancel" onclick="location.href('index.html');" /> [/code] And the codes are not complete. Show the correct one. [QUOTE]<div class="Normal_P"> <span class="Normal_C"> <form action="<?php getLink("http://www.atouchofmoore.net/certificate_stage3.php" array( <?php[/QUOTE] |
The End.