Best editor for PHP

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

celinsmith111
New php-forum User
New php-forum User
Posts: 4
Joined: Fri Jun 14, 2013 12:52 am
Location: USA
Contact:

Re: Best editor for PHP

Postby celinsmith111 » Thu Jun 20, 2013 5:25 am

Best one is Dreamweaver, it is good for developer and have multiple features, try it.

valjeet
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Jul 08, 2013 3:54 am

Re: Best editor for PHP

Postby valjeet » Mon Jul 08, 2013 4:45 am

As according to my opinion dreamweaver is best. And if you want to use free then notepad++

User avatar
anqush
New php-forum User
New php-forum User
Posts: 4
Joined: Tue Jul 16, 2013 10:59 am
Contact:

Re: Best editor for PHP

Postby anqush » Tue Jul 16, 2013 11:21 am

Best editor without any doubt is Zend Studio or Adobe Dreamweaver

Zend Studio is far and away the most powerful PHP IDE of all commercial and open source offerings available today. A flagship product of Zend Technologies Ltd., Zend Studio offers all of the features one would expect of an enterprise IDE, including comprehensive code completion, CVS and Subversion integration, internal and remote debugging, code profiling, and convenient code deployment processes. Facilities integrating code with popular databases such as MySQL, Oracle, PostgreSQL, and SQLite are also offered, in addition to the ability to execute SQL queries and view and manage database schemas and data.
Zend Studio (http://www.zend.com/products/studio) is available for the Windows, Linux, and OS X platforms and retails for $399.

Adobe’s Dreamweaver CS5 is considered by many to be the ultimate web designer’s toolkit. Intended to be a one-stop application, Dreamweaver CS3 supports all of the key technologies, such as Ajax, CSS, HTML, JavaScript, PHP, and XML, which together drive cutting-edge web sites. In addition to allowing developers to create web pages in WYSIWYG (what-you-see-is-what-you-get) fashion, Dreamweaver CS5 offers a number of convenient features for helping PHP developers more effectively write and manage code, including syntax highlighting, code completion, and the ability to easily save and reuse code snippets.
Adobe Dreamweaver CS5 (http://www.adobe.com/products/dreamweaver) is available for the Windows and Mac OS X platforms, and retails for $399.

Notepad++

Notepad++ is a mature open source code editor and avowed Notepad replacement available for the Windows platform. Translated into dozens of languages, Notepad++ offers a wide array of convenient features one would expect of any capable IDE, including the ability to bookmark specific lines of a document for easy reference; syntax, brace, and indentation highlighting; powerful search facilities; macro recording for tedious tasks such as inserting templated comments; and much more. PHP-specific support is fairly slim, with much of the convenience coming from the general features. However, rudimentary support for auto-completion of function names is offered, which will cut down on some typing, although you’re still left to your own devices regarding remembering parameter names and ordering.
Notepad++ is only available for the Windows platform and is released under the GNU GPL. Learn more about it and download it at http://notepad-plus.sourceforge.net.

PDT (PHP Development Tools)

The PDT project (www.eclipse.org/pdt) is currently seeing quite a bit of momentum. Backed by Zend Technologies Ltd. (www.zend.com), and built on top of the open source Eclipse platform (www.eclipse.org), a wildly popular extensible framework used for building development tools, PDT is the likely front-runner to become the de facto PHP IDE for hobbyists and professionals alike.

For more tutorials from basics to pro on PHP refer:
http://letusdophp.blogspot.in/
:offtopic:

12months
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Apr 24, 2013 9:53 pm
Location: Eraniel
Contact:

Re: Best editor for PHP

Postby 12months » Fri Jul 19, 2013 3:14 am

try one and only notepadd++ editor :D

pbs
New php-forum User
New php-forum User
Posts: 39
Joined: Sat May 11, 2013 1:40 am
Location: Nashik, India
Contact:

Re: Best editor for PHP

Postby pbs » Fri Jul 19, 2013 4:15 am

try netbeans for php

roncatxx
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Aug 29, 2013 8:33 am

Re: Best editor for PHP

Postby roncatxx » Fri Aug 30, 2013 4:26 am

Try Jedit - good color coding.
Or ideally us Mac OSX and BBedit

usernamephp
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Dec 27, 2013 1:29 am

Re: Best editor for PHP

Postby usernamephp » Fri Dec 27, 2013 6:38 am

I use NuSphere PhpED. excellent work with this software. but you have to pay for this. :)

pietercdevries
New php-forum User
New php-forum User
Posts: 5
Joined: Tue Feb 18, 2014 2:38 pm

Re: Best editor for PHP

Postby pietercdevries » Tue Feb 18, 2014 3:20 pm

I use TextWrangler its free and works with most languages.
Including Javascript php html jquery etc.

http://www.barebones.com/products/textwrangler/

muhammadfahry18
New php-forum User
New php-forum User
Posts: 2
Joined: Mon Mar 24, 2014 1:09 am

Re: Best editor for PHP

Postby muhammadfahry18 » Mon Mar 24, 2014 1:17 am

I like a Notepad++ . I use for develop TEL-U Sistem Information. http://telkomuniversity.ac.id

Techboy992
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Apr 06, 2014 6:32 pm

Re: Best editor for PHP

Postby Techboy992 » Mon Apr 07, 2014 2:38 am

I use Aptana that is free an very easy to use.
http://www.aptana.com

Yusufmalikul
New php-forum User
New php-forum User
Posts: 2
Joined: Tue Apr 08, 2014 7:28 am

Re: Best editor for PHP

Postby Yusufmalikul » Tue Apr 08, 2014 8:45 pm

Try Sublime Text :D

gauravkachhadiya
New php-forum User
New php-forum User
Posts: 5
Joined: Wed Apr 23, 2014 2:37 am

Re: Best editor for PHP

Postby gauravkachhadiya » Wed Apr 30, 2014 10:41 pm

Dream viewer is best editor for php.but some persons also work in net beans its cool editor..

gsdhsadhsadfh
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Jul 04, 2014 5:41 am

Re: Best editor for PHP

Postby gsdhsadhsadfh » Fri Jul 04, 2014 5:43 am

NetBeans !!!! :D :D :D :D

kladrian
New php-forum User
New php-forum User
Posts: 12
Joined: Thu Aug 14, 2014 1:13 am
Contact:

Re: Best editor for PHP

Postby kladrian » Thu Aug 14, 2014 1:20 am

Without any doubt PHPStorm http://www.jetbrains.com/phpstorm/
---
kladrian

budzilla
New php-forum User
New php-forum User
Posts: 2
Joined: Wed Nov 05, 2014 9:44 pm

Re: Best editor for PHP

Postby budzilla » Wed Nov 05, 2014 9:49 pm

I most prefer Netbeans.

MaximusPhrama
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Nov 20, 2014 2:52 am

Re: Best editor for PHP

Postby MaximusPhrama » Thu Nov 20, 2014 2:59 am

Can anyone help Im after selecting data from mysql the checking matches inserting boolean true or false into hidden form fields then inserting result into mysql with the same submit button.

Code: Select all

<?php require_once('../Connections/Maximus_Vail.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "validation_form")) {
   
   
 $insertSQL = sprintf("INSERT INTO validations_table (email, product_id, Batch_No, batchMatch, expiry_date, expiryMatch, serial_Number, serialMatch) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)",
                       GetSQLValueString($_POST['email'], "text"),
                       GetSQLValueString($_POST['product_id'], "int"),
                       GetSQLValueString($_POST['serialBatch'], "text"),
                       GetSQLValueString($_POST['batchMatch'], "int"),
                       GetSQLValueString($_POST['expiryDate'], "date"),
                       GetSQLValueString($_POST['expiryMatch'], "int"),
                       GetSQLValueString($_POST['serialNumber'], "int"),
                       GetSQLValueString($_POST['serialBatch'], "int"));

  mysql_select_db($database_Maximus_Vail, $Maximus_Vail);
  $Result1 = mysql_query($insertSQL, $Maximus_Vail) or die(mysql_error());
}

mysql_select_db($database_Maximus_Vail, $Maximus_Vail);
$query_Maximus_Vailidate = "SELECT * FROM serial_numbers  WHERE serial_numbers.serial = serial";
$Maximus_Vailidate = mysql_query($query_Maximus_Vailidate, $Maximus_Vail) or die(mysql_error());
$row_Maximus_Vailidate = mysql_fetch_assoc($Maximus_Vailidate);
$totalRows_Maximus_Vailidate = mysql_num_rows($Maximus_Vailidate);

$serial = $_POST['seriaNumber'];
 
 
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Maximus Vailidation</title>
<script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
</head>

<body>

<?php  if ( isset( $_POST['submit'] ) ) {
   
if ($_POST['serialNumber'] == $row_Maximus_Vailidate['serial'] ) {
   
    echo $row_Maximus_Vailidate['serial'] . " the serial is a match = "; echo $serialMatch;
    $serialMatch = true;}
   
    else{$serialMatch = false;  echo "inside serialMatch = "; echo $serialMatch; }
   
   
    if ($_POST['serialBatch'] == $row_Maximus_Vailidate['batchNo'] ) {
   
    echo $row_Maximus_Vailidate['batchNo'] . " the batch numcer is a match  ";
    $batchMatch = true;}
    else{
       $batchMatch = false;  echo "inside Match";
       }
   
     if ($_POST['expiryDate'] == $row_Maximus_Vailidate['expiry_date'] ) {
   
    echo $row_Maximus_Vailidate['expiryDate'] . " the expiry is a match ";
    $expiryMatch = true;}
   
    else {$expiryMatch = false; echo "inside expiryMatch ";}
    
   
   echo  "test values " . $_POST['expiryDate'] . " " . $row_Maximus_Vailidate['expiryDate'];
   
   echo " expiry " . $expiryMatch;
    echo " batch " . $batchMatch;
    echo " serial " . $serialMatch;
   
   $run = 1;
   
}

?>

<div id="container">
  <form action="<?php echo $editFormAction; ?>" id="validation_form" name="validation_form" method="POST">
    <div id="formContainer">
      <table width="380" border="0" align="center" cellpadding="5" cellspacing="2">
        <tr>
          <td colspan="2"><h2>Maximus Vailidation Form</h2></td>
        </tr>
        <tr>
          <td width="43%">Email Addrees:</td>
          <td width="57%"><label for="email"></label>
            <span id="spryEmail"><span id="sprytextfield1">
            <input type="text" name="email" id="email" />
            <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span><span class="textfieldRequiredMsg">*</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
        </tr>
        <tr>
          <td>Serial Number:</td>
          <td><label for="serialNumber"></label>
            <span id="sprySerial">
            <input type="text" name="serialNumber" id="serialNumber" />
          <span class="textfieldRequiredMsg">*</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
        </tr>
        <tr>
          <td>Batch Number:</td>
          <td><label for="serialBatch"></label>
            <span id="spryBatchNo">
            <input type="text" name="serialBatch" id="serialBatch" />
          <span class="textfieldRequiredMsg">*</span></span></td>
        </tr>
        <tr>
          <td>Expiry Date:</td>
          <td><span id="spryDate">
          <label for="expiryDate"></label>
          <input type="text" name="expiryDate" id="expiryDate" />
          <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type="submit" name="submit" id="submit" value="Validate" /></td>
        </tr>
      </table>
    <input type="hidden" name="expiryMatch" id="expiryMatch" value=<?PHP echo $expiryMatch ?>/>
   <input type="hidden" name="batchMatch" id="batchMatch" value=<?PHP echo $batchMatch ?>/>
   <input type="hidden" name="serialPass" id="serialPass" value=<?PHP echo $serialMatch ?> />
    <input type="hidden" name="product_id" id="product_id" value= <?php echo $row_Maximus_Vailidate['product_id']; ?> />
    <input type="hidden" name="MM_insert" value="validation_form" />
</div>
   

   
  </form>
 

 
</div>
<p>&nbsp;</p>
<script type="text/javascript">
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprySerial", "integer", {maxChars:50, hint:"Serial number on secirty sticker ", validateOn:["blur"]});
var sprytextfield3 = new Spry.Widget.ValidationTextField("spryBatchNo", "none", {validateOn:["blur"]});
var sprytextfield4 = new Spry.Widget.ValidationTextField("spryDate", "date", {validateOn:["blur"], hint:"yyyy/mm/dd", format:"yyyy/mm/dd"});
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "email", {hint:"name@email.com", validateOn:["blur"]});
</script>



</body>
</html>

   
<?php
mysql_free_result($Maximus_Vailidate);
?>


I can get these values to insert to data base

<input type="hidden" name="expiryMatch" id="expiryMatch" value=<?PHP echo $expiryMatch ?>/>
<input type="hidden" name="batchMatch" id="batchMatch" value=<?PHP echo $batchMatch ?>/>
<input type="hidden" name="serialPass" id="serialPass" value=<?PHP echo $serialMatch ?> />

everything else inserts


Return to “PHP coding => General”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron