PHP function list autocomplete in CS6
Hi all, I have a problem in CS6 when I press Ctrl + space the Php function list is not displayed in the sign code.
For example usually when writing, "mysql_f", and then press Ctrl + space, mysql_fecth_array and mysql_fetch_row, was broadcast in the sign code.
Now in CS6 this does not work, or I don't know how to do it.
How I fix?
F.f.: I read that disable JQuery tips in preference options make sure only "$_" var global show. but the list function.
Thanks in advance.
Moved to applications in development with Dreamweaver forum server-side.
I just tested Ctr + space in Dreamweaver CS6 in Windows 7 and Mac OS X 10.8. It works without problem on both systems.
Make sure that you use a PHP page, and you're in a block of PHP code. In addition, the code hints stop working if you have a syntax error in your code.
Sometimes, if you encounter strange behavior with Dreamweaver, it allows to delete the cache file or even all of your configuration file. See http://forums.adobe.com/thread/494811 for more details.
Tags: Dreamweaver
Similar Questions
-
As part of my - so far unsuccessful - attempts to restore "functional content" (IE models / menus / buttons etc) still CS6, I visited "my Adobe account".
AE, DW, PS is rated ok.
BUT surprisingly, my first Pro status includes 6.0 cs3-4 and 5. -Still is listed as CS3.
Now - the fact is that I have a full line of CS6 with valid records and the creativity of hassles (not in the cloud )
I understand that these mistakes can happen but what could I do in order to established a customer status reflecting the reality?
Back to even and missing library: every web-suggestions have been tested, and I'm about to give up. So: what alternative would you recommend for dvd & bd creation?
Are you sure that reminder is not CS2? None yet not listed for me because I bought it comes with Premiere Pro. The last recall sold as a standalone was CS2.
If you have PR CS6, you still CS6.
You get functional content EN here:
Reminder help | Download complete library of content/functional content
-
Implements the php function in dreamweaver cs4 / cs5
Hello
I did a framwork for my company which develops using php.
It would be nice to not always have to explain the use of the functions, implement dreamweaver, possibly through the extension, the intellisense for these functions.
when using the shell function requires for example tells me that the function accepts a string of. in the case of mysql_connect are invited to enter the hostname etc...
It is very important to implement something like this to my duties
is this possible?Hello Ciro,
I'm not sure I understand all the problems you are having, but I'll try to answer... ask once again if you have other questions.
If you want to offer codehints for your own framework, the best thing is to simply use the tool "codehints situ. You can create a "preset" with your frame, which can then be exported and imported by other users. For the most part, the usecases, I think this should probably be all you need to do.
Now, there are cases where the default engine may not recognize all the indications you want to offer (for example you have global variables defined using the extract() function); It is always possible to add these tips, but it's a little more complicated, ask again if you need help (as a starting - point you can watch the "Drupal" pressed for codehints, it refers to a file in your home directory "user configuration"). BTW, the "builtin" CMS codehinting presets defined in [Config file] / Shared/Dinamico/Presets - seek how Drupal is described and you can easily make a similar description for your own framework (and install it as an extension and other support if necessary files).
Now - if you want to add tooltips to description for your advice (such as those for the php builtin tips) - it is possible, but, unfortunately, not as easy as it could be (*). However, if you want to add those, it's quite possible: just look at how the builtin flags are set (basically, you must prefix your member function/class/class / variable/etc.) with a comment that says something like "/ * @file_name.xml #description_tag * /;" the "file_name.xml" is located in the Descriptions/CodeHints folder, if I am wrong - look here for how ToolTips are described; It is essentially a list of key / value with the 'key' is the 'description_tag' and the value is the HTML (exhaust) content of your ToolTip). Unfortunately I don't have access to an installation of Dreamweaver now so I can't tell you for sure, but if you can't manage ask again and I'll give you more details tomorrow.
Finally, on the 'today' function: as I understand it, your frame redefines a PHP builtin function - and you want the codehint to change, too? I can't say with certainty that it will work without trying... but if you add in the codehints 'in situ' a file that contains your definition of "today", it can replace the builtin. If it does not (and in fact, I fear that it does not work) - then your only options are (A) disable the builtin "mysql" makes allusion to one of the options, or (B) manually (or via an extension) rewrite the file that says tips for 'today', so that you remove this function.
Hope that helps,
Virgil.
(*) PS: This feature (the description ToolTips) is actually intended to be used in-house - by Dreamweaver so I doubt that it will be recorded. Initially, we wanted to show the comments the user as "description tooltips" PHPdoc... but it is surprising how the complications (problems of formatting HTML vs non-HTML, javascript in comments comments, etc.)- so eventually we ran out of time and decided to keep 'internal use of DW. Who knows, maybe it will work more "user-friendly" in future versions of DW
-
Problem with the external PHP function
I'm working on a registration page. This is the list of instructions that I have that must be met for the registration succeed:
If (isset($_POST['register']))
{
If ($_POST ['username']! = ")
& & (strlen($_POST['username']) > = 4)
& & (strlen($_POST['username']) < = 20)
& & alpha_numeric($_POST['username']) == TRUE
& & $_POST ['password']! = ''
& & (strlen($_POST['password']) > = 4)
& & (strlen($_POST['password']) < = 20)
& & alpha_numeric($_POST['password']) == TRUE
& & $_POST ['mot_de_passe2'] == $_POST ['password']
& & $_POST ['email']! = ''
& & valid_email($_POST['email']) == TRUE
& & $_POST ["email2"] == $_POST ['email']
& & $_POST ['accepts'] == TRUE
& & checkUnique ('user_data', 'username', $_POST ['username']) = TRUE
(& & checkUnique ('user_data', 'email', $_POST ['email']) == TRUE)
External functions "checkUnique' at the bottom just do not seem to work. I can easily sign up with a username or email that already exists in the database.
This is the code for the external function:
function checkUnique ($table, $field, $compared)
{
$query = mysql_query ("SELECT '.mysql_real_escape_string ($field)'. OF ".mysql_real_escape_string ($table)." WHERE ' ".mysql_real_escape_string ($field)." " ' = "'.mysql_real_escape_string ($compared).'"')";
If (mysql_num_rows ($Query) == 0)
{
Return TRUE;
}
on the other
{
return FALSE;.
}
}AngryCloud wrote:
> External functions "checkUnique' at the bottom just don't seem to work.
> I'm easily able to sign with a username or an email that is already in the
> database.No, it won't work: you are surrounding the name of the field in quotation marks.
You should also remove magic quotes if they are enabled. Change of the
function to this:function checkUnique ($table, $field, $compared) {}
If (magic_quotes_gpc()) {}
$table = stripslashes ($table);
$field = stripslashes ($field);
$compared = stripslashes ($compared);
}
$table = mysql_real_escape_string ($table);
$field = mysql_real_escape_string ($field);
$compared = mysql_real_escape_string ($compared);$result = mysql_query ("SELECT $field FROM $table
WHERE $field = '$compared' ");
{if (mysql_num_rows ($result) == 0)}
Return TRUE;
}
else {}
return FALSE;.
}
}Of course, you will also need to connect to MySQL and select
the database before calling the function.--
Adobe Community Expert David Powers
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Hi all
Can you get it someone please let me know the logic of operation for the list.delete function and how it works.
I tried the sub query, but it is not delete the record.
DECLARE
TYPE typ_part_name
IS
TABLE OF mak % ROWTYPE;
v_part typ_part_name;
BEGIN
SELECT * bulk collect
IN v_part
MAK
WHERE order_id = 1000755291;
I'm IN v_part.first... v_part. Last
LOOP
IF v_part (i) .pc_name! = "NOK" THEN
v_part. Delete (i);
END IF;
END LOOP;
END;
/
Please help me this.
Thank you.
HI - DELETE The Oracle collection method is used to delete a record from the TABLE, it doesn't delete the table. See the example of the typical EMP table below
SQL > set serveroutput on
SQL > DECLARE
2 TYPE typ_part_name IS TABLE OF THE emp % ROWTYPE;
3 v_part typ_part_name;
4 v_count NUMBER;
5 BEGIN
6. SELECT * bulk collect
7 INTO v_part
8 FROM emp
9. WHERE mgr = 7698;
10
11 DBMS_OUTPUT. Put_line (' before the removal of the County table is ' | v_part. COUNT);
12
13 FOR I IN v_part.first... v_part. Last
14 LOOP
15. IF v_part (i) .job! = "SELLER".
16. CAN
17 DBMS_OUTPUT. Put_line (' delete ' | v_part (i) .job);
18 v_part.delete (i);
19
20 END IF;
21 END OF LOOP;
22
23 DBMS_OUTPUT. Put_line (' after removal of the count of the table is ' | v_part. COUNT);
24
25 count (1) SELECT
26 INTO v_count
27 FROM emp
28. WHERE mgr = 7698;
29
30 DBMS_OUTPUT. Put_line (' table of number of records manager 7698 ' | v_count);
31
32 END;
33.
Before you delete the account of the table was 5
Removal of CLERK
After remove the account from the table 4
Number of records table whose Manager 7698 is 5
PL/SQL procedure successfully completed.
SQL >
-
2015 Dreamweaver does not have ready php functions (insert, delete and select)
Hello all the dreamweaver configuration is correct, but when I use the ready functions insert, select, delete, login (php in the database) does not work, I tried everything already and what works is to do it manually. What can you do for me?
-
is there a real full list of shortcuts cs6 and cc?
Hello
is there a full list of shortcuts for cs6 and cc?
I have a lot of google
and I found a lot of pdf and Web page, but they don't include all the shortcuts
for example, activate airbrush shift + alt + p or select once again ctrl + shift + d
Thank you
What is the site of Trevor Morris: http://morris-photographics.com/photoshop/shortcuts/#pscc
-
Table/PHP function problem
I'm having a problem trying to understand why a predefined table is not actually the echo/print_r when called from inside a function.
the array is global (?) by being defined outside the or some functions. I can't see why he won't show the picture?
He works outside the service
$mondayset = array () "setone", "settwo", "setthree", "setfour");
$tuesdayset = array () '' setfive', 'setsix', setseven');
function dosets ($pubdate)
{
$caledardate = explode()"/", $pubdate);
$timestamp = strtotime(""$caledardate[2]"". ) "-" . "$caledardate[0]". "-" . "$caledardate[1]");
if (date (', $timestamp) = "MON")
{
echo ' it's Monday today\n ";
print_r ($mondayset);
}
$thedate = 02/12/2013
dosets ($theDate)
Variables inside functions have local scope.
http://PHP.net/manual/en/language.variables.scope.php
You can pass the array to the function if you want to reference.
-
I just subscribed to the CC and downloaded the application manager that lists all the adobe programs, I now have on my Win7 machine. Each of them shows CC. I ran on my Vista computer also and its all it shows also, but as CS6. Why only show CC as well?
Hi Kellyjaye1,
Please see the system requirements for creative Cloud applications.
http://www.Adobe.com/in/products/creativecloud/tech-specs.html
Please let me know if you have any further questions.
Kind regards
Sumit Singh
-
Change the case of the first character in the lists in InDesign CS6
Hello
I have a few long documents that contain lists that look like this:
- Lorem ipsum dolor sit amet, 195kgs Adipiscing elit
- SED turpis elementum hendrerit lacinia lorem convallis
- sed has nibh tortor non commodo lobortis sed felis.
Now I need to make the first character in each list of capital letters, IE:
- Lorem ipsum dolor sit amet, 195kgs Adipiscing elit
- SED turpis elementum hendrerit lacinia lorem convallis
- Sed has nibh tortor non commodo lobortis sed felis.
The problem is there is a CAP in the lists that must be maintained, and I can't create a list of exceptions (words to ignore).
Is it possible to change only the first character in the list in capital letters?
The lists are in style.
Any help would be appreciated, thanks :-)
Hello
This will make real ceiling, but it is not dynamic. It could be made dynamic with an event listener, but it's probably not worth.
Be sure to change the names of paragraph on script style
// By Trevor http://forums.adobe.com/thread/1068926?tstart=0 #target indesign #targetengine main app.doScript("main()", ScriptLanguage.javascript, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "Capitalise Lists By Paragraph Styles"); function main() { var myDoc=app.documents[0], myStyles = ["Paragraph Style 1", "Paragraph Style 2", "Paragraph Style 3"], // change to correct style names l = myStyles.length, myFinds = [], fl; app.changeGrepPreferences = app.findGrepPreferences = null; app.findGrepPreferences.findWhat = "^\\l"; while (l--) { app.findGrepPreferences.appliedParagraphStyle = myDoc.paragraphStyles.itemByName(myStyles[l]); myFinds = myDoc.findGrep(); fl = myFinds.length; while (fl--) myFinds[fl].contents = myFinds[fl].contents.toUpperCase(); } }
-
Insertion in php function does not?
I created a home page and I have a page of header.php. In the home page, I wanted to include Header.php, so I did this
<? PHP
include (header.php);
? >
When I browse on my page I get the following error, as you can see in the picture I've provided.
Warning: include (Headerphp) [function.include]; Failed to open stream: no such file or directory in C:\xampp\htdocs\carnivorousflamingo.com\home.php on line 3
Warning: include () [function.include]; Could not open 'Headerphp' for inclusion (include_path ='.;) C:\xampp\php\PEAR ") in C:\xampp\htdocs\carnivorousflamingo.com\Home.php on line 3"
I tried to encode these ways of:
<? PHP
include (.. / Header.php).
? >
<? PHP
include(/header.php);
? >
but none of them worked. I use xampp, phpmyadmin, hosting with Apache.
my file name is correct and my extension is .php
but I still get the same error message.
The browser I was using was google chrome.
The include function expects a string, so try to include "Header.php" or include ('Header.php')
-
Well although I figured out how to get the toolbar tab back where it should, at the bottom where easy access to him, but now I see that the option "Close all other tabs" that was in the right click menu of the arrow 'List all tabs' has disappeared.
Is there anyway to get that back? This design change is really not as good as 3.5. Also say that that person can slow down. Who can understand what it says?
Thank you!
In Firefox 4, the tab bar is a regular toolbar and which causes the toolbar context menu show if you right-click.
You can right click on the tab that you want to keep to "close other tabs".
-
The syntax Checker bug with long PHP functions.
I have two differrent pages that give the same type of bugs when opening the page with Dreamweaver CS5. I built a web application with PHP, HTML, CSS, MySQL and Javascirpt. There are many forms throughout the site and many forms are very long. For these specific pages that give a syntax error HTML form is inside a PHP for loop to repeat a desired number of times. I checked that there is not a syntax error, and the page works perfectly without php, html, css or javascript errors. The syntax error goes away if I close the loop PHP earlier in the script, but then I have actually a syntax with PHP and dreamweaver error says my code is perfect?
<?php
//this page is not accessable via broswer url
if (!defined("_VALID_PHP"))
die('Direct access to this location is not allowed.');
//Set session data from POST
$_SESSION["intake"]["students"]["drug_of_choice"] = $_POST["drug_of_choice"];
$_SESSION["intake"]["students"]["first_contact"] = $_POST["first_contact_yr"]."-".$_POST["first_contact_mo"]."-".$_POST["first_contact_da"];
$_SESSION["intake"]["intakes"]["referral_source"] = $_POST["referral_source"];
$_SESSION["intake"]["intakes"]["referral_reason"] = $_POST["referral_reason"];
$_SESSION["intake"]["students"]["gender"] = $_POST["gender"];
$_SESSION["intake"]["students"]["maiden_name"] = $_POST["maiden_name"];
$_SESSION["intake"]["students"]["race"] = $_POST["race"];
$_SESSION["intake"]["students"]["dl_state"] = $_POST["dl_state"];
$_SESSION["intake"]["students"]["dl_num"] = $_POST["dl_num"];
$_SESSION["intake"]["students"]["phone_number"] = $_POST["phone_number"];
$_SESSION["intake"]["students"]["cell_number"] = $_POST["cell_number"];
$_SESSION["intake"]["students"]["work_number"] = $_POST["work_number"];
$_SESSION["intake"]["students"]["other_fax_number"] = $_POST["other_fax_number"];
$_SESSION["intake"]["students"]["email"] = $_POST["email"];
$_SESSION["intake"]["addresses"]["line_1"] = $_POST["line_1"];
$_SESSION["intake"]["addresses"]["line_2"] = $_POST["line_2"];
$_SESSION["intake"]["addresses"]["line_3"] = $_POST["line_3"];
$_SESSION["intake"]["addresses"]["city"] = $_POST["city"];
($_POST["state_province_country"]=="Other") ? $_SESSION["intake"]["addresses"]["state_province_country"] = $_POST["other_state"]: $_SESSION["intake"]["addresses"]["state_province_country"] = $_POST["state_province_country"];
$_SESSION["intake"]["addresses"]["post_code"] = $_POST["post_code"];
$_SESSION["intake"]["addresses"]["country"] = $_POST["country"];
$_SESSION["intake"]["addresses"]["comments"] = $_POST["comments"];
//how many contacts adding
$num_contacts = $_POST["num_contacts"];
//Set Page variables from session data
$CARF_ID = $_SESSION["intake"]["students"]["carf_id"];
$First_Name = $_SESSION["intake"]["students"]["first_name"];
$Middle_Name = $_SESSION["intake"]["students"]["middle_name"];
$Last_Name = $_SESSION["intake"]["students"]["last_name"];
?>
<div id="boxAddStudentDet" class="boxes">
<div class="boxHeader">
<div id="addStudentIcon" class="boxIcons">
</div>
<div class="boxTitle">
<h2>Add Contacts for <?php echo $CARF_ID.": ".$First_Name." ".$Middle_Name." ".$Last_Name; ?></h2>
</div>
<div class="boxSliderBtns">
</div>
</div>
<div class="boxContent">
<form id="addStudDet" name="addStudDet" action="addstudent.php?b=03" onsubmit="return validateForm(this,'comments[]','','','','','','','','email');" method="post" >
<table id="StudDetformTable" class="full">
<?php for($i=0;$i<$num_contacts;$i++){ ?>
<tr>
<td colspan="2"><h3><b>Add New Contact</b></h3></td>
</tr>
<tr>
<td colspan="2"><h3>Contact's First Name </h3></td>
</tr>
<tr>
<td class="column1a"><input name="first_name[]" id="kin_f_name" type="text" /></td>
</tr>
<tr>
<td colspan="2"><h3>Contact's Last Name </h3></td>
</tr>
<tr>
<td class="column1a"><input name="last_name[]" id="kin_l_name" type="text" /></td>
</tr>
<tr>
<td class="column1a"><p>
<input type="checkbox" value="<?php print $i; ?>" name="telephone_release[]" /> Telephone Release<br />
<input type="radio" value="<?php print $i; ?>" name="primary_contact" /> Primary Contact<br />
<input type="checkbox" value="<?php print $i; ?>" name="emergency_contact[]" /> Emergency Contact<br />
<input type="checkbox" value="<?php print $i; ?>" name="financier[]" /> Financier<br />
<input type="checkbox" value="<?php print $i; ?>" name="send_ed_pack[]" /> Send Drug Education Pack
</p></td>
</tr>
<tr>
<td colspan="2"><h3>Contact's Relationship </h3></td>
</tr>
<tr>
<td class="column1a">
<select name="relationship[]" id="kin_relation">
<option value=""></option>
<option value="Spouse">Spouse</option>
<option value="Biological Mother">Mother (Biological)</option>
<option value="Biological Father">Father (Biological)</option>
<option value="Daughter">Daughter</option>
<option value="Son">Son</option>
<option value="Sister">Full Sister</option>
<option value="Brother">Full Brother</option>
<option value="Aunt">Aunt</option>
<option value="Uncle">Uncle</option>
<option value="Grandmother">Grandmother</option>
<option value="Grandfather">Grandfather</option>
<option value="Step Mother">Step Mother</option>
<option value="Step Father">Step Father</option>
<option value="Half Sister">Half Sister</option>
<option value="Half Brother">Half Brother</option>
<option value="Step Sister">Step Sister</option>
<option value="Step Brother">Step Brother</option>
<option value="Mother in law">Mother-In-Law</option>
<option value="Father in law">Father-In-Law</option>
<option value="Sister in law">Sister-In-Law</option>
<option value="Brother in law">Brother-In-Law</option>
<option value="Daughter in law">Daughter-In-Law</option>
<option value="Son in law">Son-In-Law</option>
<option value="Ex-spouse">Ex-spouse</option>
<option value="Co-worker">Co-worker</option>
<option value="Friend">Friend</option>
<option value="Other Relative">Other Relative (Specify in Comments)</option>
<option value="Other">Other (Specify in Comments)</option>
</select>
</td>
</tr>
<tr>
<td colspan="2"><h3>Contact's Phone Number</h3></td>
</tr>
<tr>
<td class="column1a"><input name="k_phnum_<?php print $i; ?>" id="k_phnum_<?php print $i; ?>" type="radio" value="yes" onClick="notAnsweredQues('k_phNumber_<?php print $i; ?>', this, true);" /><input type="text" name="phone_number[]" id="k_phNumber_<?php print $i; ?>" onkeydown="setVal('k_phnum_<?php print $i; ?>')" onkeypress="return onlyChar(event,true,false,false,false,'','');" /> <input name="k_phnum_<?php print $i; ?>" type="radio" onClick="notAvailableQues('k_phNumber_<?php print $i; ?>', this);" />No Number</td>
<td class="alignright"><input name="k_phnum_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_phNumber_<?php print $i; ?>', this);" />Question Not Answered</td>
</tr>
<tr>
<td colspan="2"><h3>Contact's Cell Phone Number</h3></td>
</tr>
<tr>
<td class="column1a"><input name="k_cell_phnum_<?php print $i; ?>" id="k_cell_phnum_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_cellNumber_<?php print $i; ?>', this, true);" /><input type="text" name="cell_number[]" id="k_cellNumber_<?php print $i; ?>" onkeydown="setVal('k_cell_phnum_<?php print $i; ?>')" onkeypress="return onlyChar(event,true,false,false,false,'','');" /> <input name="k_cell_phnum_<?php print $i; ?>" type="radio" onClick="notAvailableQues('k_cellNumber_<?php print $i; ?>', this);" />No Number</td>
<td class="alignright"><input name="k_cell_phnum_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_cellNumber_<?php print $i; ?>', this);" />Question Not Answered</td>
</tr>
<tr>
<td colspan="2"><h3>Contact's Other Phone Number</h3></td>
</tr>
<tr>
<td class="column1a"><input name="k_other_phnum_<?php print $i; ?>" id="k_other_phnum_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_otherNumber_<?php print $i; ?>', this, true);" /><input type="text" name="other_number[]" id="k_otherNumber_<?php print $i; ?>" onkeydown="setVal('k_other_phnum_<?php print $i; ?>')" onkeypress="return onlyChar(event,true,false,false,false,'','');" /> <input name="k_other_phnum" type="radio" onClick="notAvailableQues('k_otherNumber_<?php print $i; ?>', this);" />No Number</td>
<td class="alignright"><input name="k_other_phnum_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_otherNumber_<?php print $i; ?>', this);" />Question Not Answered</td>
</tr>
<tr>
<td colspan="2"><h3>Contact's Email Address</h3></td>
</tr>
<tr>
<td class="column1a"><input name="k_emailSel_<?php print $i; ?>" id="k_emailSel_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_email_<?php print $i; ?>', this, true);" /><input name="email[]" id="k_email_<?php print $i; ?>" type="text" onkeydown="setVal('k_emailSel_<?php print $i; ?>')" onblur="validateEmail(this)" /> <input name="k_emailSel_<?php print $i; ?>" type="radio" onClick="notAvailableQues('k_email_<?php print $i; ?>', this);" />No Email</td>
<td class="alignright"><input name="k_emailSel_<?php print $i; ?>" type="radio" onClick="notAnsweredQues('k_email_<?php print $i; ?>', this);" />Question Not Answered</td>
</tr>
<tr>
<td><h3>What is the student's address?</h3></td>
</tr>
<tr>
<td class="indentation"><input type="text" name="line_1[]" id="Line_1_<?php print $i; ?>" value="Line 1" style="width:450px;" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /></td>
</tr>
<tr>
<td class="indentation"><input type="text" name="line_2[]" id="Line_2_<?php print $i; ?>" value="Line 2" style="width:450px;" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /></td>
</tr>
<tr>
<td class="indentation"><input type="text" name="line_3[]" id="Line_3_<?php print $i; ?>" value="Line 3" style="width:450px;" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /></td>
</tr>
<tr>
<td class="indentation">
<input type="text" name="city[]" id="City_<?php print $i; ?>" value="City" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
<select name="state_province_country[]" id="State_<?php print $i; ?>" onchange="
if(this.value==''){
document.getElementById('otherState_<?php print $i; ?>').style.display = 'none';
document.getElementById('otherState_<?php print $i; ?>').value='Other State';
setInput('Country_<?php print $i; ?>','','select',false);
} else if(this.value=='Other'){
document.getElementById('otherState_<?php print $i; ?>').style.display = 'inline-block';
document.getElementById('otherState_<?php print $i; ?>').value='';
setInput('Country_<?php print $i; ?>','','select',false);
}else{
document.getElementById('otherState_<?php print $i; ?>').style.display = 'none';
document.getElementById('otherState_<?php print $i; ?>').value='Other State';
setInput('Country_<?php print $i; ?>','U.S.A.','select',true);
}" >
<option value="">Select State</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
<option value="Other">Other Specify:</option>
</select>
<input type="text" name="other_state[]" id="otherState_<?php print $i; ?>" value="Other State" style="display:none;" />
<input type="text" name="post_code[]" id="Zip_PostalCode_<?php print $i; ?>" value="ZIP" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
</td>
</tr>
<tr>
<td><h3>Country</h3></td>
</tr>
<tr>
<td>
<select name="country[]" id="Country_<?php print $i; ?>">
<option value="">Select Country</option>
<option value="U.S.A.">United States of America</option>
<option value="Afganistan">Afghanistan</option>
<option value="Albania">Albania</option>
<option value="Algeria">Algeria</option>
<option value="American Samoa">American Samoa</option>
<option value="Andorra">Andorra</option>
<option value="Angola">Angola</option>
<option value="Anguilla">Anguilla</option>
<option value="Antigua & Barbuda">Antigua & Barbuda</option>
<option value="Argentina">Argentina</option>
<option value="Armenia">Armenia</option>
<option value="Aruba">Aruba</option>
<option value="Australia">Australia</option>
<option value="Austria">Austria</option>
<option value="Azerbaijan">Azerbaijan</option>
<option value="Bahamas">Bahamas</option>
<option value="Bahrain">Bahrain</option>
<option value="Bangladesh">Bangladesh</option>
<option value="Barbados">Barbados</option>
<option value="Belarus">Belarus</option>
<option value="Belgium">Belgium</option>
<option value="Belize">Belize</option>
<option value="Benin">Benin</option>
<option value="Bermuda">Bermuda</option>
<option value="Bhutan">Bhutan</option>
<option value="Bolivia">Bolivia</option>
<option value="Bonaire">Bonaire</option>
<option value="Bosnia & Herzegovina">Bosnia & Herzegovina</option>
<option value="Botswana">Botswana</option>
<option value="Brazil">Brazil</option>
<option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
<option value="Brunei">Brunei</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Burkina Faso">Burkina Faso</option>
<option value="Burundi">Burundi</option>
<option value="Cambodia">Cambodia</option>
<option value="Cameroon">Cameroon</option>
<option value="Canada">Canada</option>
<option value="Canary Islands">Canary Islands</option>
<option value="Cape Verde">Cape Verde</option>
<option value="Cayman Islands">Cayman Islands</option>
<option value="Central African Republic">Central African Republic</option>
<option value="Chad">Chad</option>
<option value="Channel Islands">Channel Islands</option>
<option value="Chile">Chile</option>
<option value="China">China</option>
<option value="Christmas Island">Christmas Island</option>
<option value="Cocos Island">Cocos Island</option>
<option value="Colombia">Colombia</option>
<option value="Comoros">Comoros</option>
<option value="Congo">Congo</option>
<option value="Cook Islands">Cook Islands</option>
<option value="Costa Rica">Costa Rica</option>
<option value="Cote DIvoire">Cote D'Ivoire</option>
<option value="Croatia">Croatia</option>
<option value="Cuba">Cuba</option>
<option value="Curaco">Curacao</option>
<option value="Cyprus">Cyprus</option>
<option value="Czech Republic">Czech Republic</option>
<option value="Denmark">Denmark</option>
<option value="Djibouti">Djibouti</option>
<option value="Dominica">Dominica</option>
<option value="Dominican Republic">Dominican Republic</option>
<option value="East Timor">East Timor</option>
<option value="Ecuador">Ecuador</option>
<option value="Egypt">Egypt</option>
<option value="El Salvador">El Salvador</option>
<option value="Equatorial Guinea">Equatorial Guinea</option>
<option value="Eritrea">Eritrea</option>
<option value="Estonia">Estonia</option>
<option value="Ethiopia">Ethiopia</option>
<option value="Falkland Islands">Falkland Islands</option>
<option value="Faroe Islands">Faroe Islands</option>
<option value="Fiji">Fiji</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="French Guiana">French Guiana</option>
<option value="French Polynesia">French Polynesia</option>
<option value="French Southern Ter">French Southern Ter</option>
<option value="Gabon">Gabon</option>
<option value="Gambia">Gambia</option>
<option value="Georgia">Georgia</option>
<option value="Germany">Germany</option>
<option value="Ghana">Ghana</option>
<option value="Gibraltar">Gibraltar</option>
<option value="Great Britain">Great Britain</option>
<option value="Greece">Greece</option>
<option value="Greenland">Greenland</option>
<option value="Grenada">Grenada</option>
<option value="Guadeloupe">Guadeloupe</option>
<option value="Guam">Guam</option>
<option value="Guatemala">Guatemala</option>
<option value="Guinea">Guinea</option>
<option value="Guyana">Guyana</option>
<option value="Haiti">Haiti</option>
<option value="Hawaii">Hawaii</option>
<option value="Honduras">Honduras</option>
<option value="Hong Kong">Hong Kong</option>
<option value="Hungary">Hungary</option>
<option value="Iceland">Iceland</option>
<option value="India">India</option>
<option value="Indonesia">Indonesia</option>
<option value="Iran">Iran</option>
<option value="Iraq">Iraq</option>
<option value="Ireland">Ireland</option>
<option value="Isle of Man">Isle of Man</option>
<option value="Israel">Israel</option>
<option value="Italy">Italy</option>
<option value="Jamaica">Jamaica</option>
<option value="Japan">Japan</option>
<option value="Jordan">Jordan</option>
<option value="Kazakhstan">Kazakhstan</option>
<option value="Kenya">Kenya</option>
<option value="Kiribati">Kiribati</option>
<option value="Korea North">Korea North</option>
<option value="Korea Sout">Korea South</option>
<option value="Kuwait">Kuwait</option>
<option value="Kyrgyzstan">Kyrgyzstan</option>
<option value="Laos">Laos</option>
<option value="Latvia">Latvia</option>
<option value="Lebanon">Lebanon</option>
<option value="Lesotho">Lesotho</option>
<option value="Liberia">Liberia</option>
<option value="Libya">Libya</option>
<option value="Liechtenstein">Liechtenstein</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Macau">Macau</option>
<option value="Macedonia">Macedonia</option>
<option value="Madagascar">Madagascar</option>
<option value="Malaysia">Malaysia</option>
<option value="Malawi">Malawi</option>
<option value="Maldives">Maldives</option>
<option value="Mali">Mali</option>
<option value="Malta">Malta</option>
<option value="Marshall Islands">Marshall Islands</option>
<option value="Martinique">Martinique</option>
<option value="Mauritania">Mauritania</option>
<option value="Mauritius">Mauritius</option>
<option value="Mayotte">Mayotte</option>
<option value="Mexico">Mexico</option>
<option value="Midway Islands">Midway Islands</option>
<option value="Moldova">Moldova</option>
<option value="Monaco">Monaco</option>
<option value="Mongolia">Mongolia</option>
<option value="Montserrat">Montserrat</option>
<option value="Morocco">Morocco</option>
<option value="Mozambique">Mozambique</option>
<option value="Myanmar">Myanmar</option>
<option value="Nambia">Nambia</option>
<option value="Nauru">Nauru</option>
<option value="Nepal">Nepal</option>
<option value="Netherland Antilles">Netherland Antilles</option>
<option value="Netherlands">Netherlands (Holland, Europe)</option>
<option value="Nevis">Nevis</option>
<option value="New Caledonia">New Caledonia</option>
<option value="New Zealand">New Zealand</option>
<option value="Nicaragua">Nicaragua</option>
<option value="Niger">Niger</option>
<option value="Nigeria">Nigeria</option>
<option value="Niue">Niue</option>
<option value="Norfolk Island">Norfolk Island</option>
<option value="Norway">Norway</option>
<option value="Oman">Oman</option>
<option value="Pakistan">Pakistan</option>
<option value="Palau Island">Palau Island</option>
<option value="Palestine">Palestine</option>
<option value="Panama">Panama</option>
<option value="Papua New Guinea">Papua New Guinea</option>
<option value="Paraguay">Paraguay</option>
<option value="Peru">Peru</option>
<option value="Phillipines">Philippines</option>
<option value="Pitcairn Island">Pitcairn Island</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Puerto Rico">Puerto Rico</option>
<option value="Qatar">Qatar</option>
<option value="Republic of Montenegro">Republic of Montenegro</option>
<option value="Republic of Serbia">Republic of Serbia</option>
<option value="Reunion">Reunion</option>
<option value="Romania">Romania</option>
<option value="Russia">Russia</option>
<option value="Rwanda">Rwanda</option>
<option value="St Barthelemy">St Barthelemy</option>
<option value="St Eustatius">St Eustatius</option>
<option value="St Helena">St Helena</option>
<option value="St Kitts-Nevis">St Kitts-Nevis</option>
<option value="St Lucia">St Lucia</option>
<option value="St Maarten">St Maarten</option>
<option value="St Pierre & Miquelon">St Pierre & Miquelon</option>
<option value="St Vincent & Grenadines">St Vincent & Grenadines</option>
<option value="Saipan">Saipan</option>
<option value="Samoa">Samoa</option>
<option value="Samoa American">Samoa American</option>
<option value="San Marino">San Marino</option>
<option value="Sao Tome & Principe">Sao Tome & Principe</option>
<option value="Saudi Arabia">Saudi Arabia</option>
<option value="Senegal">Senegal</option>
<option value="Seychelles">Seychelles</option>
<option value="Sierra Leone">Sierra Leone</option>
<option value="Singapore">Singapore</option>
<option value="Slovakia">Slovakia</option>
<option value="Slovenia">Slovenia</option>
<option value="Solomon Islands">Solomon Islands</option>
<option value="Somalia">Somalia</option>
<option value="South Africa">South Africa</option>
<option value="Spain">Spain</option>
<option value="Sri Lanka">Sri Lanka</option>
<option value="Sudan">Sudan</option>
<option value="Suriname">Suriname</option>
<option value="Swaziland">Swaziland</option>
<option value="Sweden">Sweden</option>
<option value="Switzerland">Switzerland</option>
<option value="Syria">Syria</option>
<option value="Tahiti">Tahiti</option>
<option value="Taiwan">Taiwan</option>
<option value="Tajikistan">Tajikistan</option>
<option value="Tanzania">Tanzania</option>
<option value="Thailand">Thailand</option>
<option value="Togo">Togo</option>
<option value="Tokelau">Tokelau</option>
<option value="Tonga">Tonga</option>
<option value="Trinidad & Tobago">Trinidad & Tobago</option>
<option value="Tunisia">Tunisia</option>
<option value="Turkey">Turkey</option>
<option value="Turkmenistan">Turkmenistan</option>
<option value="Turks & Caicos Is">Turks & Caicos Is</option>
<option value="Tuvalu">Tuvalu</option>
<option value="Uganda">Uganda</option>
<option value="Ukraine">Ukraine</option>
<option value="United Arab Erimates">United Arab Emirates</option>
<option value="United Kingdom">United Kingdom</option>
<option value="United States of America">United States of America</option>
<option value="Uraguay">Uruguay</option>
<option value="Uzbekistan">Uzbekistan</option>
<option value="Vanuatu">Vanuatu</option>
<option value="Vatican City State">Vatican City State</option>
<option value="Venezuela">Venezuela</option>
<option value="Vietnam">Vietnam</option>
<option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
<option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
<option value="Wake Island">Wake Island</option>
<option value="Wallis & Futana Is">Wallis & Futana Is</option>
<option value="Yemen">Yemen</option>
<option value="Zaire">Zaire</option>
<option value="Zambia">Zambia</option>
<option value="Zimbabwe">Zimbabwe</option>
</select>
</td>
</tr>
<tr>
<td><h3>Next of Kin's Comments</h3></td>
</tr>
<tr>
<td class="column1a" colspan="2">
<textarea name="comments[]" id="k_comments_<?php print $i; ?>" onkeyup="adjustHeight(this)" style="width:100%" ></textarea>
</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<?php } ?>
</table>
<input class="floatRight" name="submit" type="submit" value="NEXT" />
</form>
<div class="clearRight"></div>
</div>
</div>
This page is necessary within the full html/php page. Dreamweaver says there is an error on line 236 which is
<select name="country[]" id="Country_<?php print $i; ?>">
but I know full and well that there is no error in this line of code or the code. There seems to be a bug with the syntax checker in Dreamweaver CS5. I don't know if this error would show most recent Dreamweaver versions, like everything I have is CS5. Thanks for the help of anybodies that can verify this bug or spot an error in my code.
If I change the "wrong" line of the code of
<select name="country[]" id="Country_<?php print $i;} ?>">
Then the syntax error will disappear in Dreamweaver, but PHP error: "{Parse error: syntax error, unexpected '}' in /path_to_my_file/my_file.php on line 499" will then appear
Hi Anthony,.
We have been able to reproduce the problem at our end using the code you provided and we are investigating the same.
We recorded an internal bug # 3612970 to follow up on this matter. We will try to prioritize and difficulty to future updates of Dreamweaver CC.
Please let us know if you need assistance at any time. We will be happy to help you.
Thank you
Arindam
-
I have a php gallery that is filled from a folder of thumbnails and slides like this.
GALLERY /.
+ inches
01.GAL.jpg
02.GAL.jpg
03.GAL.jpg
+ slides
01.GAL.jpg
02.GAL.jpg
03.GAL.jpg
Works as expected on my local test server but my live Webcam page is the display of images in a random order: 11., 04., 10., 02, etc...
My test page with the PHP code.
http://ALT-Web.com/gallery/GalleryTest.php
How to call natsort in my existing PHP code? Everything I've tried so far has failed.
Thank you
Nancy O.
Thanks for this Rob.
I finally found a solution. Although I had a table $file_parts, I needed to create another array to sort. Not really elegant, but it works.
http://ALT-Web.com/gallery/GalleryTest.php
Nancy O.
-
PHP not listed code pages do not
Hi all
I'm working on a website (www.dolls.com.sg) with DW CS5.5 on Windows Vista. Everything works fine on the local server. Have now transferred to a remote server with exactly the same file structure. In the Intranet, I can now see the index page. But by clicking on the menu of all items the other pages are white, although the link is to indicate in the address bar.
Now, I have discovered if I cancel the php codes following 2 (which are before the doctype)
<? php require_once('./Connections/connDolls.php');? >
<? PHP include('./includes/title.inc.php');? >
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""the pages are appearing. What's not here? The host company tells me that, for their part, everything is ok.
In addition, the index page has also php code before the doctype.
Thank you
Helmut
As your product page uses a database then it should the line below all at the top of the page to 'connect' to it otherwise it cannot run php code you have posted in your last response.
So you're saying that remove the code above into your pages to appear outside the page "products", which uses the database "Connections/connDolls.php.
The connection details of database in the file Connections/connDolls.php must be wrong... which would result in the pages being empty. did you check the user name and the password of database remote?
Your pages work locally because your database connection details are correct.
Maybe you are looking for
-
I checked the Add-ons are up to date. I thought that my Firefox just updated, but apparently not so much.
-
Cannot find the region of Tanzania during activation of Facetime
While am activate my FaceTime using my ICloud mail when he ask me to choose a region, my region of Tanzania do not appear why? And FaceTime turns is not my phone number of Tanzania why?
-
Data connection with Vibe P1 problem
My phone is having problem of cellular connection data connection.But it was working fine before the last update.I don't know if it's a problem of software update.I tried many things, I talked with my service provider (BSNL) for hours and tried every
-
I can't open certain web links
I can open some websites at one point, but no other links. Food52 opens but won't link to revenue. The library web opens but not the link to download books. I called Time Warner, and they couldn't help.
-
Hello everyone, and I just wanted you to know instead of the e280 8 GB, the salesman had the e250 2 GB of v1 in stock, so I took what I could get at the moment. He hopes to have some refurbed e280 more soon, and of course, I'll get one! I got the e25