Hi guys I need help with php

Hi guys this is my problem, my site is cybid.host56.com and the page I'm having problems with is the registration page. the page is http://cybid.host56.com/register.php. all my pages are the plants but this one I can't find focus. I looked at the style sheets. global PHP. Enroll in php. but can't find the code. I've been on this 2 days but still can not find it. Help, please

Thanks Robbie

Everything was made a companion

Thank you so much my friend for all your work, you're a star

Robbie

Tags: Dreamweaver

Similar Questions

  • Need help with PHP Muse (JavaScript error... by e-mail)

    Hey all the...

    I searched and did not see an answer to this:

    I exported my Muse file in HTML format and receive this error for my page contact us (email question):

    "JavaScript: PHP Script error form is missing from the web server or PHP is not configured correctly or your web hosting provider."  Check if the script PHP form as been downloaded correctly, then contact your provider for hosting on the configuration of PHP".

    What PHP version support MUSE... 5.1?  I contacted HostGator and they have just updated my PHP to 5.5 and asked me what needs PHP MUSE. Said HostGator 5.1 is old and they don't support 5.1. Can someone help me?

    Also, when I try to check PHP with: http://my-site.com/scripts/form_check.php , I just get an "oops" of the screen, but does not check my PHP. ???

    Thank you

    I don't see a page of Muse generated with a form to www.dancetx.com, or pages that links? Where can I find the page with the form that does not work? Thank you.

    If you Muse site doesn't have a form, which would explain why there is no file "form_check.php" on your site. This file (and the other for a form) are generated only when there is a form within the site uploaded/exported.

  • Need help with PHP form with checkboxes, radio buttons and file as an attachment

    Hi guys,.

    I'm having a nightmare with this PHP form where a user can fill it out, attach a doc/pdf and submit. After trying to sort out with the previous code, I used, I have stripped try and think that I should start again just in the hope that you geniuses can help!

    Here is the HTML code of the contact.php:

    <form action="" method="post" name="contact" id="contact">
    
        <p>Job Title:*<br />
        <input name="position" type="text" /></p>
    
        <p>Nationality:*<br />
        <select name="nationality">
          <option value="">-- select one --</option>
          <option value="Afghan">Afghan</option>
          <option value="Albanian">Albanian</option>
          <option value="Algerian">Algerian</option>
          <option value="Zambian">Zambian</option>
          <option value="Zimbabwean">Zimbabwean</option>
        </select>
        </p>
        
        <p>Which country are you currently living in?*<br />
        <select name="country">
        <option value="">-- select one --</option>
        <option value="United Kingdom">United Kingdom</option>
        <option value="Afghanistan">Afghanistan</option>
        <option value="Africa">Africa</option>
        <option value="Zambia">Zambia</option>
        <option value="Zimbabwe">Zimbabwe</option>
        </select>
        </p>
        
        <label class="radio" for="checkRight">Yes/No question?</label><br />
        <input class="radio" type="radio" name="right" value="Yes" /> Yes
        <input class="radio" type="radio" name="right" value="No" /> No
        <input class="radio" type="radio" name="right" value="N/A" /> Not applicable
        
        <p>Yes/No question?<br />
        <select name="continue">
        <option value="">-- select one --</option>
        <option value="Yes">Yes</option>
        <option value="No">No</option>
        </select>
        </p>
        
        <p>Select your resorts:<br />
        Resort 1<input name="res1" type="checkbox" value="Resort 1" />
        Resort 2<input name="res2" type="checkbox" value="Resort 2" />
        Resort 3<input name="res3" type="checkbox" value="Resort 3" />
        Resort 4<input name="res4" type="checkbox" value="Resort 4" />
        Resort 5<input name="res5" type="checkbox" value="Resort 5" />
        Resort 6<input name="res6" type="checkbox" value="Resort 6" />    
        </p>
        
        <p>Don't send form unless this is checked:* <input type="checkbox" name="parttime" value="Yes" /></p>
        
        <p>Date of arrival: <input name="arrive" id="datepick" /><br />
        Date of departure: <input name="depart" id="datepick2" /></p>
        
        <script type="text/javascript" src="assets/scripts/datepickr/datepickr.js"></script>
        <link href="assets/scripts/datepickr/datepickr.css" rel="stylesheet">
        
        <script type="text/javascript">
        new datepickr('datepick');
        new datepickr('datepick2', {
        });
        </script>
        
        
        <p>Name:*<br />
        <input name="name" type="text" /></p>
        
        <p>E-mail:*<br />
        <input name="email" type="text" /></p>
        
        <p>Telephone:*<br />
        <input name="telephone" type="text" class="ctextField" /></p>
        
        <p>Upload CV (Word of PDF formats only):<br />
        <input type="file" name="cv" class="textfield"></p>
        
        <p><input name="submit" value="Submit Enquiry" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    
    </form>
    

    Furthermore, the work of date boxes so excuse Javascript in there!

    To avoid SPAM, I used something where there is a hidden URL field that should be left blank for the form to submit you see in PHP.

    Here's where I am with the PHP which is placed above the heading of contact.php...

    <?php
    
    if (array_key_exists('submit', $_POST)) {
        $position = $_POST['position'];
        $arrive = $_POST['arrive'];
        $nationality = $_POST['nationality'];
        $parttime = $_POST['parttime'];
        $depart = $_POST['depart'];
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
    
    $to = "[email protected]";
    $subject = "Recruitment Application";
    
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= 'From: My Website <[email protected]>' . "\r\n";
    
    
    
    $message= "
    ";
    
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    }
    
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mywebsite.co.uk/sent.php' );
    }
    
    }
    
    ?>
    

    I would like to make virtually all of the mandatory field so if a field is left empty (other than the hidden URL field), a warning message is displayed next to this field.

    Also, I would like that the file upload field to attach to the e-mail address that is sent to me and the results come through me in a table.

    Can someone help me get my form to work?

    Thank you and I hope to hear from you!

    SM

    Either way, the url of your custom success page must go inside the thanks_page variable:

    $thanks_page [0] = "Success.php";

    Nancy O.

  • Need help with PHP syntax error

    I fight with this error message ""Parse error: syntax error, unexpected T_IF ' for the 66 line that I get. " Here is the code that I use that I got with the help of the users of this site, which is supposed to launch a search for multiple parameters on a mysql database. The red text is the line 66. I just starting to learn PHP and I can not know what to do with it. Is it possible to have two if statements following each other like this? In addition, as I said, I was given this code from the help of this forum, but I don't understand what the purpose is of the $where variable. This code will work also without it? Thanks in advance for any help.

    $query_rsMainItems = ' SELECT * FROM mainitems; $where = false; If (isset($_GET['category']) & &! empty($_GET['category'])) {$. query_rsMainItems = 'category WHERE ='.} GetSQLValueString ($_GET ['category'], 'text');      $where = true; } If (isset($_GET['price']) & &! empty($_GET['price'])) {if ($where) {$query_rsMainItems. = 'AND';}}   } else {$. query_rsMainItems = "WHERE";}     $where = true;   } $query_rsMainItems. = 'price ='. GetSQLValueString ($_GET ['price'], 'text'); } If (isset($_GET['time1']) & &! empty($_GET['time1'])) {if ($where) {$query_rsMainItems. = 'AND';}}   } else {$. query_rsMainItems = "WHERE";}     $where = true;   } $query_rsMainItems. = '(EDT) 1 ='. GetSQLValueString ($_GET ['time 1'], 'text'); } If (isset($_GET['time2']) & &! empty($_GET['time2'])) {if ($where) {$query_rsMainItems. = 'AND';}}   } else {$. query_rsMainItems = "WHERE";}     $where = true;   } $query_rsMainItems. is 'time2 ='. GetSQLValueString ($_GET ['time2'], 'text'); } If (isset($_GET['city']) & &! empty($_GET['city'])) {if ($where) {$query_rsMainItems. = 'AND';}}   } else {$. query_rsMainItems = "WHERE";}     $where = true;   } $query_rsMainItems. = 'city ='. GetSQLValueString ($_GET ['city'], 'text'); } If (isset($_GET['zip']) & &! empty($_GET['zip'])) {if ($where) {$query_rsMainItems. = 'AND';}}   } else {$. query_rsMainItems = "WHERE";}     $where = true;   } $query_rsMainItems. = 'zip ='. GetSQLValueString ($_GET ['zip'], 'text'); } If (isset($_GET['neighborhood']) & &! empty($_GET['neighborhood'])) {if ($where) {$query_rsMainItems. = 'AND';}}   } else {$. query_rsMainItems = "WHERE";}   } $query_rsMainItems. = 'quarter ='. GetSQLValueString ($_GET ['suburb'], 'text');

    I copied and pasted the code in a local page. Aside from a missing brace after the last line ($query_rsMainItems. = 'quarter ='.) GetSQLValueString($_GET['neighborhood'], 'text');), it works perfectly.

    The error message is a unexpected T_IF in line 66. This means that the PHP engine is not expected a conditional clause at this time here. In all likelihood, there is an error at an early stage in the code, which resulted in an unmatched brace.

    The code I provided works. I tested completely before posting originally and tested again. The problem is that I tested it in isolation from the rest of the code in your page. Without seeing the whole page, it is impossible to determine where the error is located.

  • Need help with PHP query

    When I run the following queries

    $result is mysql_query ("SELECT word_id FROM word WHERE word_word = '$gold [$i]'");.

    $row = mysql_fetch_array ($result);

                                     If ($row ['word_id'])

                                {

                                          $word_id = $row ['word_id'];

                                }

                                else

                                {

    mysql_query ("INSERT INTO Word (word_word) VALUES (\"$gold[$i]\ "") ");

    $word_id = mysql_insert_id();

                                    }

                             

    mysql_query ("INSERT INTO occurrence (word_id, page_id)

    (" VALUES ($word_id, $page_id) ');

    The insert in this case - double counts. For example, if the table contains the following:

    Time, peace, hope, heart. -It must insert these whenever one. But it does not work. It seems to insert them once in order - then repeats.

    So I have the time, peace, hope, heart, time, peace, hope, heart.

    I tried many, many things and cannot get this to stop. I lived this code and logic does not show why he repeats.

    Please help point me in the right direction!

    Sorry, I had a look at your code. It seems that you're trying to scrape the contents of web pages, but without comment, it would take several hours just to work on what the script is trying to do. The particular section of the code you are saying that you are having problems with is not in a loop, so I don't know how many values are inserted into the database. When you build a complex script like this, it is essential to comment your code so that you remember what made each section.

    If you are looking for details of my books, you can find them on my Web site at http://foundationphp.com/.

  • Hey guys I need help with a clipping mask. Thank you

    I did it before you do the exact same thing with txt and it worked fine. But I put a pen top path now and it will not hang. I have tried everything and you want it just doesn't.

    Screen Shot 2013-12-31 at 10.51.40 AM.png

    Heres were I did before with a problem

    Screen Shot 2013-12-30 at 10.40.57 PM.png

    Select the object, ungroup (twice), then use the Scout, unite... who will do

  • [Help] Need help with php, Sql variables

    I have a users table contain fiedls "old, new and total."

    When file, update user DEFINED total is $total


    where $total = old + $nouveau

    I did it, I used echo to make sure it's ok, but it's not:

    / * Variable total Count * /.
    $old = ['old'] $row_rs_users;
    $new = $row_rs_users ['new'];
    $total = $vieux + $new;
    echo $total;
    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "doit_form")) {}
    $updateSQL = sprintf ("UPDATE users SET total = WHERE id = %s %s",)
    $total,
    GetSQLValueString ($_POST ['id'], "int"));

    Thank you

    As a part of your code, it is impossible to debug.

    However, your approach is bad anyway. All you need to do is add the new value to the old in the SQL query.

    $updateSQL = sprintf("UPDATE users SET total=(total+%s) WHERE id=%s",
                           GetSQLValueString($_POST['fieldName'], "double"),
                           GetSQLValueString($_POST['id'], "int"));
    

    $_POST ['fieldName'] is the new value. Use the 'double' if the value contains a decimal point. If it is an integer, replace 'double' 'int '.

  • Need help with the port forwarding for a XBox remote Streaming

    I have a router R6200v2 and need help with port forwarding.

    I came across this set of instructions for setting up stream port forwarding XBox remotely from anywhere

    http://kinkeadtech.com/2015/07/how-to-stream-Xbox-one-to-Windows-10-from-anywhere-with-Internet/

    I have no idea when it comes to such things and I want to make sure I do it correctly without messing up my existing home network.

    Port Forwarding and triggering Port pages setup look very different from what the guy uses. Can someone walk me through what I do to set up please?

    Hi @varxtis,

    You must enter them in the field for a start external Port and external completion Port. You will need to send individually except for the range of 49000-65000. The steps are as follows.

    1. create a Service name (it could be something else that you cannot use the same service name twice. Ex. XBOX1, XBOX2 and so forth.)

    2. Select the type of service (TCP, UDP or both)

    3 entry 5050 times a start external Port and external endpoints.

    4. Select the IP address of your XBOX.

    5. Select apply.

    6 do the same for other port numbers. To the beach, use 49000 for the external departure Port and for the external completion Port 65000.

    Kind regards

    Dexter

    The community team

  • Need help with a Hp Papvilion Dv7-1270US, from vista to xp 64

    Well, I noticed that a lot of guys are useful here with installing XP on Vista and yes I'm another unhappy Vista user, I am a graphic designer and let me tell you programs and performance is not very good on my laptop HP that I am ready to go back to XP.

    I have an extra HD a seagate sata 80 GB of my PS3 that I drag never used, so I'll use it to install XP on my laptop

    Its what I need help with drivers, man what a pain. I can install drivers left and right that I know how to do this, but Nlite, manual, unzip its so confusing...

    good so I use Nlite to wake my sata drivers and my installation of Windows XP on my HP I would add something in there like {video card driver} {driver Chipset} etc, what should I put in the wake? and once the wake is done and winxp is installed in what order should I start to install stuff, please guys Im confused and need help if someone can point me in the right direction of the dv7-1270 drivers I would appreciate...

    If I happen to screw up my 80 GB hard drive, not a big deal, blue screen, can not load, etc etc... can I just put my original 320 GB hard drive and back to Vista the way it was. ??? is it possible, which would ease my mind, thank you for your responses and assistance.

    Drivers:

    Chipset Intel, (install and reboot before other drivers) here

    Intel Matrix Storage Manager here

    MS-UAA fo SP2 (required with a reboot before the graphic and Audio driver) here

    MS-UAA fo SP3 (required with a reboot before the graphic and Audio driver) here

    NVIDIA GeForce 9600GT here

     

    Intel Wireless 5100 here

    Bluetooth here

    Realtek RTL8168C Family PCI - E Fast Ethernet NIC here

    Please check first that link written by Joshua Wood and concentrate on problems that may appear when you install the sound card in it.

    IDT High-Definition Audio CODEC Pilot,

    1 sp41693, pilot, work reported in XP here view

    2 SP39671, driver, jobs reported in XP here or here view

    3 sp41698, vista, work reported in here XP driver

    High-Definition Audio (HDA) Modem Installer and driver here

    .NET framework (required before HP Quick Lunch Buttons) here

    HP Quick Launch buttons here

    Synaptic Touchpad here S

    ENE CIR (infrared receiver) here (your Vista driver)

    JMB38X card reader Host Controller Driver here

    HP 3D DriveGuard 1.10 has here

    If you had for 7 unknown devices (buttons drivers), here

    Do a manual installation

    Go to Device Manager, right click on the unknown device,

    Choose update driver, not to communicate.

    Choose the install from a list or a specific location, not search, have-disk,

    Navigate to the location of machine.inf.

    Do it for the rest of the unknown devices

  • Need help with screen Blus of death (BSOD) on my computer toshiba laptop

    Hello all, Ive had a little last week, or problems with my laptop. While playing a game (minecraft), I would randomly have a BSOD error and my laptop will re-start. Initially, I gave it no thought, but when it happened again, I decided to try to do a little research, but I'm not terrible with technology and other then I'm neither the case with my own research.

    If someone could point me in the direction of a few possible ways to get this problem.

    guys do you propose I make to the store and see if they can check it out, what would I need if I did.

    I got a program to read some sort of file "dump" made when occurs a BSOD, I publish what this program here says? the program is BlueScreenView, if yes, what I have post the spectator thing? There are has 2 main screens on it, SDO as Sho different dump files (which is on the top) and on the bottom, it lists the names of different files for each dump file I think that some of them highlighted.

    im not this product with tech so I don't know much but I need to post anything on my laptop or any information of the dumpfile and would have this info help in any way to determine the problem? just tell me what I have to post and ill get the information displayed in a response, thank you.

    -leoknighted

    PS: I don't think that playing minecraft is the cause of the BSOD and crashing, but I only get it when playing minecraft, so I don't know if minecraft is causing accidents and others. I watch videos and this all the time and I never have an accident. I'll try and play a different game and see if this causes my laptop down and the cause is perhaps high usuage to my laptop, as I've said games require a lot of power of a laptop/computer, if they are not the 'best' laptop for games. but yh, if someone thinks they can help me and need some information please tell me so I can get it for you. If you guys think it would be best to get a professional to look just mylaptop say, however im save as a last resort.

    Hello

    I suggest you to refer to this article to check if this help.

     

    Resolve stop (blue screen) error in Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7

    Important: System Restore will return all system files not as documents, email, music, etc., to a previous state. These files of types are completely affected by the restoration of the system. If it was your intention with this tool to recover a deleted file to non-system, try using a file instead of system restore recovery program.

     

    Important: while performing the check disk on the hard disk, if bad sectors can be found, then check disk will try to repair this sector. All the data available in this area may be lost.

     

    Custom installation WARNING: If you format the hard disk during the installation, the data files are saved in a Windows.old folder on the partition you installed Windows 7.  However, you should always back up the files. If you have encrypted data files, you may not be able to access them after installing Windows 7. If you have backed up your data files and then restored after Windows 7 is installed, you can delete the Windows.old folder.

    Let us know if you need help with this question, we will be happy to offer you our help.

  • Need help with some cluster power shell scripts

    Guys,

    I need help with 2 scripts.

    Text 1.

    I need a power shell script that will get all the virtual machine in a specific cluster.  Virtual machine names as well as the number of processors, output allocated RAM and size of CSV file.

    Text 2.

    I need a script that will get all data warehouses in a specific cluster and store name data as well as the amounf of free space for a CSV output.

    Thanks in advance guys.

    Greetings, @peter79 -.

    For the first part:

    Get-Cluster myClusterName | Get-VM | Select-Object Name, MemoryMB, NumCpu | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    And for the second, how about:

    Get-Cluster myClusterName | Get-VMHost | Get-Random | Get-Datastore | Select-Object name, FreeSpaceMB, CapacityMB | Export-Csv -NoTypeInformation c:\temp\myDaterstoreInfo.csv
    

    The first would be quite a bit faster by using Get - view instead of Get - VM.  It would be like:

    ## get an array of VM View objects with just the desired/needed properties
    $arrVMViews = Get-View -ViewType VirtualMachine -SearchRoot (Get-Cluster myClusterName).MoRef -Property Config.Hardware,Name
    ## make the two filters for displaying the desired info
    $hshCPUCountFilter = @{n="NumCPUs"; e={$_.Config.Hardware.NumCPU}}
    $hshMemAmtFilter = @{n="MemoryMB"; e={$_.Config.Hardware.MemoryMB}}
    ## display the info, and export to CSV
    $arrVMViews | Select-Object name, $hshCPUCountFilter, $hshMemAmtFilter | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    Enjoy.

  • I'm suddenly needing help with my browser Firefox (6.0.2)

    Hello
    I'm suddenly needing help with my browser Firefox (6.0.2)

    (OS: I use Windows XP).

    When I open the browser, I don't see is a totally white screen of white, with all the toolbars at the top.

    I know that my physical connections are very good: I have tested the modem, turned the pc market etc and I can also receive/send emails.

    This problem started today, September 8, 2011 and has never happened before.

    Is it a coincidence that Firefox itself to day before I disconnected yesterday evening? Could this be something to do with this particular new update?

    I also noticed that just before I "opened" Firefox, I now get a small box indicating:

    [JAVASCRIPT APPLICATION]
    Handl exc in Ev: TypeError: this oRoot.enable is not a function

    This never appeared before - I hope that it offers a clue has what is wrong.

    The browser not be stuck in Mode safe, said by the way.

    Of course, I can't find solutions to the problem on the internet, I don't physically see all Web sites!
    (A friend sends this request in my name from their pc)

    Any light you can throw on this problem of confusion would be much appreciated. I'd rather not have to uninstall and reinstall Firefox if possible.

    If the only option is to uninstall Firefox and reinstall from your site, I'm also in trouble (I can not see the internet or download).
    In this case, would you be able to send the .exe file as an attachment to my e-mail address? In the affirmative, please let me know and I'll give you more details.

    Thanks in advance.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Need help with installation on Photosmart C7280 all-in-one

    I had my printer is installed and has been using the printer for 3 wireless laptops in my house.  Now, I can't even find my backup drive, so I have need help with downloading the software to use my printer and also get to use wireless.   I don't know what happened, but the fax for this printer is listed, but not the printer itself.   Help, please!

    Click here to download the software for your printer:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?product=3204785 & LC = on & CC = US & DLC = in & lang = to & CC = US

    has chosen the appropriate operating system that corresponds to your computer and download the full software features.

  • HP laptop: need help with internet and search for things

    whenever I'm on chrome internet explore google ect and go to tab it is says unknown error or no internet connection or anything and just takes me chrome ect. I need help with this im involved in a byod class and my computer won't let me on what whatever usually it just starts out black and white and the seeds I my search request

    Yes it's a Windows 10 and it arrived already installed I'll take the other info now

  • Need help with the installation of an adapter of Palit GeForce 9500GT Super chart - 512 MB in a M2N68 (narrated

    Need help with the installation of an adapter of graphics Super Palit GeForce 9500GT - 512 MB - DDR2 SDRAM in a M2N68 motherboard (narra6). Should I disable the onboard graphics in the bios? When the card is installed, no VGA work outs and the PC does not start. Checked and recontroler implementation of the card in the PCI slot. PC is a desktop HP G5200uk PC. Windows 7 operating system.

    Hello

    The link below is a guige to install a video card in your Pc.  In particular, it seems that you will have to perhaps specify the location of the new card in the bios and save this change before you install the new card - see step 4 in the guide on the link below.  If your new card fits into the PCI Express x 16 slot, you will need to define PCI Express in the bios and save the changes.

    http://support.HP.com/us-en/document/c01700855

    Kind regards

    DP - K

Maybe you are looking for