- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
40 Posted Topics
Re: Hi, You may loop for all such values and can set button property accordingly. with editing of mattsters's answer, script can be something like below: $flag = true; for ($i=1; $i<=26; $i++) { if(!not_null($result[0]['Heamogram_'.$i])) { $flag = false; break; } } if ($flag == false) $property = "disabled='disabled'"; and then … | |
Hello , Friends I am doing googlemap integration . Though i completed it as per my project requirements but i have very small area for displaying map. And as we all know html window on marker have some fixed size. but i found in my reference site that they edited … | |
Hi all, Can anyone help me to solve my problem? I m doing one PHP project in which i maximum used Javascript and Ajax.Now client require that when he close browser session have to automatically cleared means when he open next time that browser he must have to login first. … | |
Re: Hi I havent idea about joomla but for php.ini related setting I know following. In php.ini file,for Set any variable value you can assign them with "=" as per your requirement like [B]safe_mode = Off[/B] ---- For set safemode And if you already find such variables in your php.ini then … | |
Re: Hi ahsan1, I suggest you to [B]print_r[/B] first your variable "$_REQUEST['check']" and if its getting value(not empty array) then only will go ahead with delete query. It might be possible that you not getting any data and still trying to delete it. [B]Tips:[/B] In such cases, go ahead step by … | |
Re: I think for multiple check boxes insert, you have to coding like this in your php file $c=$_REQUEST['chkbx']; for($i=0;$i<count($c);$i++) { $val=$c[$i]; $sql="INSERT INTO eventdesc(show) VALUES($val); $res=mysql_query($sql); } By this coding,you can insert all check boxes values in your DB which are checked. | |
Hello, I completed work on my project and it was live also so my webpages are already crawled by google. Now after some days i started SEO url redirecting but though old links are already crawled by google ,my new re-written url are not crawled. I am doing page 301 … | |
Re: Hi racertim, As i know we get sender email address with his host name like "abc@gmail.com" so if we consider hostname as "www.google.com" then by this hostname you can get IP address with gethostbyname() php function See link : [url]http://php.net/manual/en/function.gethostbyname.php[/url] We can say its one trick. | |
Re: yes this is default behavior of PHP file uplaod script, if file is already existed there then it will overwrite your old file. For avoid this, you need to append some unique string in your file name like "time()" so if your image name is like "abc.jpg" then it will … | |
Re: hi,may be i help you.i understand little what you want but if you paste your code here then it will be useful for me :) | |
Re: Hi, I tried with your code , and its working perfect for me. | |
I made one php project in which we provide facility to create his/her own web site. Now I wants to add new feature giving different subdomains to the members' web pages. Because the number of members is about 120,000, manual configuring is not the solution. Let me give you an … | |
Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i … | |
Re: Hi, I had review your code.you need to do some changes $fruit.=$_POST["checkbox"]["$i"]; See in this variable, you used this type of syntax everywhere in your code. let me know you if you use php variable in array dimension then you cant use "" there if its simple number lik "0" … | |
Re: Hi, Can you explain in brief ? what actually you want? wheres value comes form , where you set it, is it php variable etc... ? | |
Re: Hi, RewriteEngine on RewriteCond %{HTTP_HOST} !^domain.com/blog $ RewriteRule ^(.*)$ [url]http://domain.com/blog/index.php[/url] [R=301] Try with this in your .htaccess file. | |
Re: Hello, there You need external script for grabbing contact . i sending you one site please download script form it and do modification as per required. If any issues you have during customisation let me know because i already used this script and its work fine foe me. link : … | |
Re: Hi wish02 Its because you pas action "userReport_Confirm.php" in form in your code when any category value change at that time due to "this.form.submit();" your form will be submit and thats why it redirect to action page. if you want to avoid it then you have to stop page refreshed … | |
Re: Hi, Yes its true in kokoro90 's way you can get next id but as he told its risky about surity. so the better way to first insert data in database then get it id and then give it to your folder name in which you want to upload file. … | |
Re: [QUOTE=;][/QUOTE] Hi smoh , First let me know are you using button or link for submit ? And for setting default data back to your main page , you must have to pass it with button of result.php page Suppose , your first drop down set to 1 and you … | |
Re: Hi, I found from some article that "WBMP images are Wireless Bitmaps, not Windows Bitmaps. WBMP is used for bandwidth constrained, black and white, limited devices such as PDAs and Cell Phones. " for .bmp files, convert them with bmp2png, then you can use this files in gd [url]http://hp.vector.co.jp/authors/VA010446/b2p-home/[/url] Try … | |
Re: Hi, You need XML parsing for same.this is the method by which you can parse XML data and convert it to PHP variable and after that you can use it like normal PHP code. see this reference link :[url]http://www.softarea51.com/tutorials/parse_rss_with_php.html[/url] It can be useful to you .. Best luck... | |
Re: Hi, You can do it with where condition in your mysql query like: "select * from tablename where category='PHP'"; Try this one... | |
Re: hi Your query will come like "$sql="SELECT * FROM users WHERE username='".$username."' AND password='".$password."'"; Please try with this one and let me know if still any problem comes | |
Re: Please do google you will get better solution with full description about include function. Search : " Include function + php manual " | |
Hi All, I want url rewrite for my page.i having idea about how to rewrite for querystring and for other some cases. but i have something new at this time and i cant able to find solution for same this time. see my URL is like search.php?q=brand:Bosch:price:100to200:search:14.4~cordless~Hammer And I want … | |
Re: hi mastia "two parameters carried in the URL" means exctly for what you are talking ? if you talking about id=7&posid=3 then you can get them by $_SERVER['querystring']; check server variable reference of php you can get better idea. | |
Hi,I want to upload image file using Ajax.means i want after browse file it will be put in my folder and i can see path just below browse button.and i want only ajax code for this no php or any other code which refresh file for image upload. anyone can … | |
Re: Hi, Alternatively you can write code for post to email in your success.php page. so you can do DB entry and email code easily by single page only. No need for two pages. Ask me if you need more help. | |
Re: Hi, Chandervijay Can you tell me whats the problem occur by the script you used ? or you got solution for same ? | |
Re: Hi, There is problem something in connection or problem while you fetch data from DB based on conditions $login_check = mysql_num_rows($sql); print $login_check variable what it returns. and if you used data type enum no problem with that single quote in "email_activated" field. here as per your intially posted example … | |
Hello friends, I am doing one project in which i need to find currently online users.how can i ? is there any way ? another thing , if i fetch user login history in DB table and check from there if user currently login or not then there will be … | |
Re: Hello, Please review this [url]http://elouai.com/users.php[/url] it will be helpful to you. Actually you cant directly do it. you have to store last activity time in DB table and compare it with current time. If different between that 2 times are greater than our defined time limit then delete that user … | |
Re: Please Do Google for very better and clear answer. | |
Re: Hi,I have seen your whole coding and i cant found little mistake in that.but may be its header transfer problem try following code for header transfer in property details.php $insertGoTo = "payment.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header("location:".$insertGoTo); } instead … | |
Re: You can call a javascript function on onclick event of submit button like <input type="radio" id="abc"> <input type="submit" name="submit" value="submit" onclick="returns disradio();"> Javascript function: function disradio() { obj=document.getElementById('abc'); if(obj.checked=="checked") { obj.disabled="disabled"; } return false; } or something like that.you can implement coding like this.may this will be help you | |
Hi,friends I want to display calender in simple way just like the calender display all months in first row,after then 15 days of any one month in second row just like dtpicker but all months displayed at the same time in one row. ref link:[url]http://www.tourstogo.com.au/tour.5143[/url] as given in link, i … | |
Re: hi, As in above reply you cant have to left any line before code starting and one thing is that , you include file like include('db.php'); so you have to check if there is another session_start(); in your db.php file then also you get this same error. check all thing … | |
Re: [QUOTE=soosai;629472]hi the coding seems to give error... but it helps a lot.... my another problem is to capture data ...The following is for my authentication page... echo "Username: '$ic'<br>"; why is it that the value of ic cannot be captured?[/QUOTE] hi,you have to do like this echo "Username: ".$ic."<br>"; | |
Re: Hi,You can use sleep() function just after mail($to,$subject,$message,$headers); like this mail($to,$subject,$message,$headers); sleep(5); may be it will works. [QUOTE=muthu raj;615974]php mailing not working. any help me? i used the code to send mail is as follows: <?php $to = "someone@example.com"; $subject = "Test mail"; $message = "Hello! This is a simple … |
The End.