- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Don't care who rulz the world
- Interests
- Browsing,GYM,Listening to music,Traveling, then playing around forumz
- PC Specs
- 3 GB, 320 GB,14' DISPLAY,TOSHIBA LAP,WIN 7
77 Posted Topics
Re: [COLOR="Red"][B]love me next ,but don't kill my rest life[/B][/COLOR] | |
Re: i just had a cup of Black Coffee(one of ourz(malayalez) famous drink)..... | |
Re: Wats now!!!!!!!! continu? continue? again? mak me win??????????????????????????????? ![]() | |
Re: [B][COLOR="Red"]Think from your Heart and not from your brain [/COLOR][/B] | |
[CODE] SELECT count(*) FROM information_schema.`COLUMNS` C WHERE table_name = 'your_table_name' AND TABLE_SCHEMA = "your_db_name" [/CODE] TABLE_SCHEMA is required only if table name exists in more than one db | |
Re: Hey, Even though it was a short description, the kind of expression was cute.Good Work... | |
| |
Re: Hey, Check out the case of Location [CODE]header("location: http://www.websitename/members/securecode/index.php"); should be header("Location: http://www.websitename/members/securecode/index.php"); [/CODE] In Location "L" should be capital | |
Re: Hey, You can dynamically specify the [B]from[/B] value like this below. Place this code at the top of your file. [CODE]<?php ini_set("sendmail_from","Email ID") ?>[/CODE] | |
Re: Hey, Place the code below in your PHP file and let us know what it displays. [CODE] <?php echo "Font Size is ".$_POST["font-size"]; die; ?> [/CODE] | |
Re: Hey, Try to find out bug by mysql_error. Use [CODE]$result5 = mysql_query($query5) or die(mysql_error());[/CODE] Then find out what the error tells. ![]() | |
Re: Hey, If my understandings are correct,you want to change your url pattern to something like the one you mentioned.rit? So in the Hyperlink (where ever you need) specify the url as [CODE]www.mysitename.com/variableName/120/index.php[/CODE] Then in .htaccess use the rewrite rule as [CODE] RewriteRule ^variableName/([^\.]+)/([^\.]+)\.php$ www.mysitename.com/index.php?variableName=$2 [L] [/CODE] [B][COLOR="Red"]Was not sure really … | |
Re: Hey, Try using LOAD DATA INFILE eg: [CODE]LOAD DATA INFILE 'test.txt' INTO TABLE test FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' [/CODE] Just try it out.. | |
Re: Hey, 1. Use an array variable in as the name for your all checkbox like below [CODE]<input type="checkbox" name="id[]" value="Mike" /> Mike <input type="checkbox" name="id[]" value="John" /> John [/CODE] 2. Use $_POST['id'] to get the selected checkbox values in an array Your $_POST['id'] contains the selected values Array ( [0] … | |
Re: Hey, I think you cannot acheive through a single query.You need to write php codes. 1. First Query = [CODE]SELECT col1,col2 FROM `table1` WHERE (`col1` = "smith" or `col2` = "smith" ) and `status` ="1"[/CODE] Now check which col got the value 2. [CODE]if($res['col1'] == "smith") $key = $res['col2'] if($res['col2'] … | |
Re: Hey, 1. Get the session ID in a variable. 2. Pass it along with the url used in headers [CODE]header("Location: url?sess=".$sessId)[/CODE] 3. In the header page assign the previous session Id [CODE] $sessionID = @$_GET['sess']; if($sessionID) session_id($sessionID); [/CODE] Note: This must be placed before session_start(). | |
Re: Hey, Little more explanation needed... 1. Whether you want to change all the .php files to .html or just the login.php to login.html? 2. R u trying to exec a php code inside an html? 3. If u want to change .php to .html then y use "RemoveHandler .html .htm" | |
Re: Hey, Whether you got two files or are u trying this in the same file itself. Explain a little more about your work flow. | |
Re: Hai, You can achieve this through the following steps.This is the logic,just work it out. 1. Pass all the selected chekbox values(id or name or anything) to an hidden field eg:[CODE]<input type="hidden" name="deleteList" value="1,2,3">[/CODE] 2. Now explode the variable "deleteList" and perform the delete operation for each of the values … | |
Re: Hey, Whether u r getting inside the [B]if condition[/B]. If no check out the method in the form tag it may be "GET". Use $_GET['search'] instead of $_POST['search'] if so.... Just place your form tag | |
Hey, I have successfully made a transaction through my website with Pay Pal Direct Method and also done Partial Refund.Now here is my Question. I need to do a Partial Refund again for the same transaction. When i tried, it shows error message as [QUOTE] [ACK] => Failure [L_ERRORCODE0] => … | |
Re: Hey, I don't no wordpress ,Its just the logic behind ur error okey... 1. R u using any header function ? 2. If yes check whether you have echoed out anything to the browser before ur header function. In most of the cases header function will break out if u … | |
Re: Hey, I really do not go through ur codes okey... Explain a little more buddy..What is the use of your radio buttons?(purpose) If u want to use only one condition then give same name for all the radio buttons. | |
Re: Hey, 1. What is this "but its giving error :9"? error 9..what??? 2.Have you tried with the correct username and password.If so provide a space in the if statement as(especially the "&&") [CODE] if($username == $dbusername && $password == $dbpassword)[/CODE] | |
Re: Hey, Just create a file named .htaccess i your current file's root folder and place the code mentioned by chrishea in it. Simple.... | |
Re: Hey, List your code : How are you displaying your $results values. | |
Re: Hey, Do the change as said by Raja and one more thing to change. Check out the html page.The form tag begins after the select tag.Place your form tag above your select element. | |
Re: Hey, Let me guess that the music files you want to play is in the format 1.music1.mp3 2.music2.mp3 3.music3.mp3 .......etc And the id you are passing will be 1,2,3,4........etc If so implement Raja's Code with a small modification as below [CODE] <?php $mURL=$_REQUEST['id']; $mURL="music".$mURL.".mp3"; ?> [/CODE] ![]() | |
Re: Hey, Could you explain this little more "[B]formatting the date submitted wrongly[/B]" with an example, i mean only the date format that you want to get. | |
Re: Hey, 1. Add an onchange ajax function in the select box. 2. Take the select drop dwn value through ajax and pass it to the php url. 3. Write a select query to fetch the user id/name for the particular selected project and store it in an array. 4. Another … | |
Re: Hey, 1. What is the result that you got? 2. Add [CODE]$data = curl_exec() or die("Curl exe failed");[/CODE] to check out the error. 3. Do print_r($data); and look at the response. | |
Re: Hey, You can call the above function by @vibhadevit in your of submit button onclick="continue()" or in form as onsubmit="continue()". | |
Re: Hey, I didn't really go through your codes.This will is just a logic . 1. Create an extra column named "Active/Status" in the user table. 2.When the user is successfully logged in update the column with "1" and with "0",when the user log outs. 3.Make a page to list all … | |
Re: Hey, You can use Java Script to achieve this. 1. On submit call a function 2. Check for your condition 3. If failed do this document.getElementById("Id of memory text box").value = ""; document.getElementById("Id of memory text box").focus(); | |
Re: Hey, Always use [CODE]$dbase=mysql_query($query)or die(mysql_error());[/CODE] the die part with mysql error for the development sides.This will clearly tell you the error that comes. | |
Re: Hey, 1. Whether both these forms were in the same page? 2. How you r getting value for $start? 3. Just take "View Source" and find whether [CODE]<input type="hidden" name="form1" value="<?php echo $start?>"/>[/CODE] $start value is actually present or not? | |
Re: Hey, 1. One way is to use frame concepts. Your main page will have frames and in one of your frame give the src as the recordset(the file tat will display "top 5 values...").Now use the meta refresh tag [CODE]<meta http-equiv="refresh" content="3">[/CODE] in the file that will generate the recordset. … | |
| |
Re: Hey .. 1. Try to echo out the query and paste it in mysql....... 2. r u getting any error? 3. whether the output of the query returns null or any value... | |
Re: Hey niths, Do not post your entire code like this. Mention the area where yo found difficulty or the problem.Nobody will look through your entire code and find you the solution.So make everything simple. This is just my opinion okey... ![]() | |
Re: [CODE]# $odp = "Madrid" || "madrid"; if($cities== $odp) {[/CODE] This will result to something like this [CODE]if($cities== "Madrid" || "madrid")[/CODE] this is a wrong statement.... it should come like this format [CODE]if( ($cities == "Madrid") || ($cities == "madrid")) [/CODE] | |
Re: With the help of Ajax you can achieve this. Call a timer function onload inside body tag.After its execution do your task.May be you can show the link to pageB only at that time. ![]() | |
Re: Use mysql_real_escape_string() for the variable holding the query, before executing the query. | |
Re: Just go through the below link [url]http://translate.google.com/translate_tools?hl=en[/url] You may gey some idea.I just c it. | |
Re: I assume that you problem in file uploading through html file upload method. If so,, Try to upload huge files through ftp methods.There are codes for the ftp methods.This will be a better solution for your problem. | |
Re: After executing the above query.Get the image name with path.Then use the unlink function . [CODE] $img = "Full img path with file name"; eg:$img = "admin/uploads/images/test.jpg"; unlink ($img);[/CODE] |
The End.