546 Posted Topics

Member Avatar for IIM

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.

Member Avatar for IIM
0
241
Member Avatar for bipies

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 …

Member Avatar for bipies
0
545
Member Avatar for Dorar

If you learn PHP without HTML,CSS basic, then, you would have problem in the development cycle.

Member Avatar for twiss
0
2K
Member Avatar for cjohnweb

[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.

Member Avatar for pritaeas
0
244
Member Avatar for navi17
Member Avatar for diafol
0
101
Member Avatar for dmelgray

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.

Member Avatar for diafol
0
207
Member Avatar for heshanm

[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.

Member Avatar for ko ko
0
115
Member Avatar for hajjo
Member Avatar for Taimoor Rana
Member Avatar for ko ko
0
140
Member Avatar for stranger_on_way

Read again the documentation. We've no use in this plug-in. so, we can't know how it suppose to work.

Member Avatar for ko ko
0
161
Member Avatar for naru vaishnaw

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.

Member Avatar for ko ko
0
161
Member Avatar for adige72

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 …

Member Avatar for ko ko
0
1K
Member Avatar for muralibobby2015

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 …

Member Avatar for diafol
0
1K
Member Avatar for MooGeek
Member Avatar for diafol
0
134
Member Avatar for Yemen Coder

Solved ? Mark as 'Solved' with the below link like 'Marke as Solved Thread' or somethign similar.

Member Avatar for ko ko
0
149
Member Avatar for amras123

[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']; ?>"> …

Member Avatar for ko ko
0
177
Member Avatar for silvercats

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 …

Member Avatar for silvercats
0
120
Member Avatar for johnbo100

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.

Member Avatar for ko ko
0
404
Member Avatar for tt13
Member Avatar for naru vaishnaw

'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]

Member Avatar for ko ko
0
102
Member Avatar for jacob21

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.

Member Avatar for ko ko
0
59
Member Avatar for abhi10kumar

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, …

Member Avatar for ko ko
0
64
Member Avatar for jackfusion

Wrap your codes with code tag, that is providing on the toolbar with the button (CODE).

Member Avatar for diafol
0
115
Member Avatar for jacob21

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 …

Member Avatar for karthik_ppts
0
144
Member Avatar for iau

If solved ? Then mark it as 'Solved' with below link 'Mark as Solved' or something similar.

Member Avatar for ko ko
0
168
Member Avatar for heshanm

[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'.

Member Avatar for heshanm
0
192
Member Avatar for heshanm

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' …

Member Avatar for heshanm
0
156
Member Avatar for ppetree

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.

Member Avatar for aDevS
0
270
Member Avatar for prabhjitsw

What value are you meaning ? This one [icode]$sector=$_GET['sec'];[/icode] ? Your question is not clear.

Member Avatar for ko ko
0
157
Member Avatar for abhi10kumar
Member Avatar for Rsby

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.

Member Avatar for urtrivedi
0
163
Member Avatar for newbie14

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 …

Member Avatar for ko ko
0
212
Member Avatar for jaycastr

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]

Member Avatar for matricol
0
95
Member Avatar for salromano

[QUOTE]<title>June 16, 2011 &raquo; The-Elder-Scrolls-V-Skyrim_2011_06-16-11_002 &mdash; 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 …

Member Avatar for matricol
0
171
Member Avatar for abhi10kumar

Ensure that Rewrite Engine is on. [code] RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^/([^/]+)/?$ /$1.php [/code]

Member Avatar for abhi10kumar
0
112
Member Avatar for mudage10

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].

Member Avatar for almostbob
0
98
Member Avatar for jacob21

Post this to the Javascript forum, your javascript functions which does not work.

Member Avatar for ko ko
-1
141
Member Avatar for Joe34
Member Avatar for ko ko
0
305
Member Avatar for fcvolunteer

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].

Member Avatar for twiss
0
163
Member Avatar for destroyerx15

[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.

Member Avatar for madCoder
0
91
Member Avatar for didi00
Member Avatar for didi00
0
294
Member Avatar for Jaklins

@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 …

Member Avatar for Jaklins
0
704
Member Avatar for haimz
Member Avatar for newbie14

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 …

Member Avatar for ko ko
0
100
Member Avatar for iamthwee

@almostbob I heard that IE support embedded font sice IE6. Isn't right ? :)

Member Avatar for iamthwee
0
150
Member Avatar for mangel.murti

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.

Member Avatar for mangel.murti
0
114
Member Avatar for Riteman

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 …

Member Avatar for diafol
0
147
Member Avatar for jacob21

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'" : …

Member Avatar for karthik_ppts
0
2K
Member Avatar for simirnov

[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.

Member Avatar for calebcook
0
421
Member Avatar for Suetan

[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]

Member Avatar for Suetan
0
208

The End.