Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
Ranked #2K
~12.3K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

22 Posted Topics

Member Avatar for bobby08

Hello all, Please make sure if you use timestamp as column type and using `between` in SQL query its advisable to use h:m:s format dates i.e BETWEEN '2010-05-31 00:00:00' AND '2010-06-06 23:59:59' Please advise your comments.

Member Avatar for Lavish Dubey
0
8K
Member Avatar for vzradha

Hi, Try this, The issue I can see is output already started before redirect can take place. [CODE]<?php if(isset($_POST["submit1"])) { header("Location:script1.php"); } else if(isset($_POST["submit1"])) { header("Location:script2.php"); } echo'<form name="form1" method="post">'; echo '<div>'; echo '<input type="submit" name="submit1" id="submit1" value="Create">'; echo '</div>'."\n"; echo '<div>'; echo '<input type="submit" name="submit1" id="submit1" value="Delete">'; echo '</div>'."\n"; …

Member Avatar for niths
0
185
Member Avatar for it200219

Hi Gigs, I have UPC numbers with me, are you familier with any API / Libabry which can generate BarCode image ? Thanks in advance

Member Avatar for rikiroxs
0
80
Member Avatar for qazplm114477

Hello Please never use Zoop. Very poor documentation and support. Go for Zend. Thanks

Member Avatar for Stefano Mtangoo
0
274
Member Avatar for it200219

Hi, Please read this carefully before you reply. I have a content which is really big has more then 4000 lines into it. My client want to have pagination into it. So on first page it will show some content and on second page other content and so on. Any …

Member Avatar for vibhaJ
0
120
Member Avatar for it200219

Hello SEO pro's, I own <snipped> I would need some SEO advise to get better ranking for some keywords and increase PR Thank you

Member Avatar for ezestseo
0
136
Member Avatar for slap01

Hi, Is the issue resolved ? If not, try this code, which will tell you error. [CODE]<?php $username = "root"; $password = "123456"; $hostname = "localhost"; $db = mysql_connect($hostname, $username, $password) or die ("Unable to connect to mySQL".mysql_error()); mysql_select_db('mynewdbase') or die(mysql_error()); $flag = $_GET['flag']; if($flag==1) { $id = $_GET['id']; $del …

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for SunnySideUp

Hi, Why dont you use session to save message and show it on same page. If the action was successful redirect to new page with thanks you messages. The way you have done could have issue with browser throwing form data when user will refresh the page One more advantage …

Member Avatar for Stefano Mtangoo
0
170
Member Avatar for jakesee

Hi This code in HTML affect the encoding <META http-equiv="Content-Type" content="text/html; charset=gb2312"> The charset in this example is for Chinese website.

Member Avatar for jakesee
0
187
Member Avatar for mybluehair

Check for other forms on page. The chances could be that previous forms are not closed properly

Member Avatar for mybluehair
0
2K
Member Avatar for swathi1234

use die(mysql_error()) to see whats wrong into your query. [CODE]<?php if(isset($_POST['submit'])){ $host= "localhost"; $username= "root"; $password= ""; $db_name= "register"; $tbl_name="form"; mysql_connect("$host","$username","$password") or die(mysql_error());; mysql_select_db("$register") or die(mysql_error());; $fname= $_POST['fname']; $lname =$_POST['lname']; $eid =$_POST['eid']; $pwd=$_POST['pwd']; $cpwd=$_POST['cpwd']; $sql="INSERT INTO $form (id , fname ,lname, eid , pwd,cpwd) VALUES('NULL',' $fname','$lname','$eid','$pwd','$cpwd')"; $result=mysql_query($sql) or die(mysql_error()); // …

Member Avatar for vibhaJ
0
90
Member Avatar for levsha

also have this attribute into <input type="button" value="" so as to remove the black text overlapping the button

Member Avatar for papanyquiL
0
146
Member Avatar for snefmoo
Member Avatar for Acute

Yes it vBulleting with many addons. Highly customized. Need experienced person to work on it.

Member Avatar for Lusiphur
0
69
Member Avatar for goodnohello

The issue seems to be escaping variables. you should use ' and " in sql stmt to clearly distinguish variables into sql query. There can be some chances the code is getting failed before reaching to this point. Good luck. Keep us updated, what works for you.

Member Avatar for Member #334542
0
122
Member Avatar for phphit

Can you give me idea what was the old url ? Would you try this in seperate lines, hope that will work redirect 301 /oldpath [url]http://www.yoursite.com/newpath/[/url] [Add as new line in .htaccess]

Member Avatar for it200219
0
114
Member Avatar for vilasdhobale

can you explain in detail what is your requirement. Thanks

Member Avatar for it200219
0
89
Member Avatar for keval_hack

You need to define headers into email code which will specify the content type, i.e Content-Type: text/html; For more information you can check [url]http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php[/url] Thanks

Member Avatar for almostbob
0
131
Member Avatar for doS!

Try this, [CODE]<?php // Provide Values for Database $dbhost="host"; $dbname="name"; $dbuser="user"; $dbpass="password"; //Don't change the below 2 lines $dbconnect=mysql_connect($dbhost,$dbuser,$dbpass) or die(mysql_error()); mysql_select_db($dbname) or die(mysql_error()); $rs=mysql_query("select * from adminsettings") or die(mysql_error()); if(mysql_num_rows($rs)>0) { $arr=mysql_fetch_array($rs); $sitename=$arr[0]; $siteurl=$arr[1]; $webmasteremail=$arr[2]; $adminpass=$arr[3]; $alertpay=$arr[4]; $fee=$arr[7]; $levels=$arr[8]; $level1=$arr[9]; $level2=$arr[10]; $level3=$arr[11]; $level4=$arr[12]; $level5=$arr[13]; $level6=$arr[14]; $level7=$arr[15]; $level8=$arr[16]; $level9=$arr[17]; $level10=$arr[18]; …

Member Avatar for it200219
0
190
Member Avatar for it200219

I have PHP code Using .htaccess mod-rewrite for company_name-ID.html TO index.php?id=ID the code gives me filename as index.php what I need is company_name-ID.html The code I am using is [code] $currentFile = $_SERVER['PHP_SELF']; $parts = explode('/', $currentFile); $currentFile = $parts[count($parts) - 1]; [/code] Please help me

Member Avatar for it200219
0
121
Member Avatar for jhbalaji

You can include some of the core functions, database connectivty, global variables and licensing information into that lic.php That way if the file is not included then your script will not work.

Member Avatar for Member #120589
0
162
Member Avatar for it200219

Hi Guys, I need your help. I have fedex address validation code downloaded from FedEx. The code works fine at this moment. Have you implemented the code in such a way so that it will tell you exact error / problem in validating address. Like, Invaid home address Block number …

0
86

The End.