Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~17.5K People Reached
Favorite Forums
Favorite Tags

40 Posted Topics

Member Avatar for Web_2

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 …

Member Avatar for mattster
0
178
Member Avatar for phpuser

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 …

Member Avatar for web-designindia
0
236
Member Avatar for phpuser

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

Member Avatar for Somnathpawar
0
5K
Member Avatar for narekm

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 …

Member Avatar for narekm
0
174
Member Avatar for ahsan1

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 …

Member Avatar for KamranArshad
0
375
Member Avatar for Suhacini

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.

Member Avatar for pamdooley
0
2K
Member Avatar for phpuser

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 …

0
75
Member Avatar for racertim

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.

Member Avatar for racertim
0
290
Member Avatar for lse123

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 …

Member Avatar for phpuser
0
93
Member Avatar for fortiz147

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 :)

Member Avatar for Ezzaral
0
190
Member Avatar for samerz816
Member Avatar for phpuser
0
373
Member Avatar for phpuser

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 …

Member Avatar for phpuser
0
134
Member Avatar for phpuser

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 …

Member Avatar for phpuser
0
132
Member Avatar for sallycheng

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

Member Avatar for phpuser
0
136
Member Avatar for niths

Hi, Can you explain in brief ? what actually you want? wheres value comes form , where you set it, is it php variable etc... ?

Member Avatar for vaultdweller123
0
80
Member Avatar for sacarias40

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.

Member Avatar for phpuser
0
62
Member Avatar for rajabhaskar525

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

Member Avatar for muralibobby2015
0
184
Member Avatar for wish02

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 …

Member Avatar for wish02
0
281
Member Avatar for ElegantElephant

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

Member Avatar for loganphp
0
4K
Member Avatar for smoh

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

Member Avatar for smoh
0
770
Member Avatar for kumiyare

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 …

Member Avatar for phpuser
0
398
Member Avatar for whitestream6

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

Member Avatar for phpuser
0
97
Member Avatar for azegurb

Hi, You can do it with where condition in your mysql query like: "select * from tablename where category='PHP'"; Try this one...

Member Avatar for xylude
0
104
Member Avatar for niths

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

Member Avatar for phpuser
0
286
Member Avatar for cane23

Please do google you will get better solution with full description about include function. Search : " Include function + php manual "

Member Avatar for as.bhanuprakash
0
88
Member Avatar for phpuser

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 …

0
79
Member Avatar for mastia22

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.

Member Avatar for mastia22
0
157
Member Avatar for phpuser

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 …

Member Avatar for phpuser
0
98
Member Avatar for meepmeep

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.

Member Avatar for meepmeep
0
93
Member Avatar for chandervijay

Hi, Chandervijay Can you tell me whats the problem occur by the script you used ? or you got solution for same ?

Member Avatar for JRM
1
708
Member Avatar for LloydFarrell

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 …

Member Avatar for phpuser
0
144
Member Avatar for phpuser

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 …

Member Avatar for MDGM
0
116
Member Avatar for sammoray

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 …

Member Avatar for phpuser
0
84
Member Avatar for Mahesh_J
Member Avatar for ibrahimssani

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 …

Member Avatar for ibrahimssani
0
173
Member Avatar for nini83

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

Member Avatar for phpuser
0
105
Member Avatar for phpuser

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 …

Member Avatar for phpuser
0
115
Member Avatar for doel.jangkrik

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 …

Member Avatar for doel.jangkrik
0
114
Member Avatar for soosai

[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>";

Member Avatar for phpuser
0
251
Member Avatar for muthu raj

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 …

Member Avatar for phpuser
0
173

The End.