Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

Insert into help

Im currently working on some code that queries a db and pulls several fields and inserts them into another db. However Im running into an issue where it isnt inputting into a specific field (tracs) but...

View Article


Image may be NSFW.
Clik here to view.

Register & Login form problem...

Hi, I'm trying to create a Login & Register form which will create a profile for that user but I'm getting a lot of problems and I can't seem to figure out why it's not working correctly? I've...

View Article


Form submit with recaptcha help

Hey all,   So I've been at this all day yesterday and most of today and I'm about ready to smash my head through my monitor. I'm not a programmer by any means, but this code is simple enough that it...

View Article

Try to make a question with variabels

Hello I'm new in this forum but i hope you understand what I trying to do.  <?php $theanswer = 4; $answer = $_POST['answer']; if(isset($_POST['button'])){ if ($theanswer = $answer){ echo "Right the...

View Article

Trying to make a math thing with variabels

Hello i want to $one + $two and then get the answer but i have stuck right now. <?php $one = $_POST['one']; $two = $_POST['two']; if(isset($_POST['button'])) {     if ($one + $two) {          echo ;...

View Article


Image may be NSFW.
Clik here to view.

JQuery accordion menu using MySQL queries and PHP

Hello,   I am trying to make an accordion menu using 2 MySQL queries (1 for the header and 1 for the contents) and PHP.  Below is my code PHP and JQuery code, I can't seem to figure out how to make the...

View Article

Question about Instantiating an obect

Hey,    I am new to OOP and just started using it. I wrote a simple question that calls a function that does an ehco. But for some reason everytime I call it it echo's the string twice. I'm not sure...

View Article

virtual pedigree

I´m using this script to show pedigrees, works fine. Now i want to show a virtual pedigree (for testmating or puppys). For puppys i add a new table in database with id, father_id, mother_id. All other...

View Article


call the value of radio button

Can anyone help me on how can i call the value of radio button. I have this code:   <input type='radio' name ="answers <?php echo $arMChoices['QuestionId']?>" value="True">True <input...

View Article


call the value of radio button

Can anyone help me in displaying the value of a radio button,   I have this code for radio button which is True and False   <input type='radio' name ="answers <?php echo...

View Article

Delete value from a mutidimensional array

Hi All,   I have been unsuccessfully trying to find a solution to delete a value from a multidimensional array. I found some tips here and there (e.g....

View Article

SQL database not updating?

im trying to make a script where the user can update there details, (in this case the email) but when the script is running it comes up sucess to say its worked and updated. however when i open up my...

View Article

PHP Form not allowing auto responder

I have used a simple php form to send an email form and it all works fine. I setup an html auto responder in the email control panel through Heart Internet, that works fine too. The problem is that...

View Article


Image may be NSFW.
Clik here to view.

can't seem to figure this out

hey, uhhm i'm new to php and also a student, we have this final project given by our teacher,  he did gave us this as the should be outcome of our project   link:...

View Article

unable to load phpmailer v5.1 - no warnings, no errors

Hi everyone. I'm having a lot of trouble with loading phpmailer.   All my files are on bytehost and for the last few day, i've tried to send mail with this extension and repeaditly failed but just now...

View Article


Best way to get file mime-type/extension

Hello everybody   I have a file-upload form. I dont know how to match file-type/mime-type. Using FILE_EXTENSION, I heard it is absolutely vulnerable to hacking. I'm confused how to handle it...! Please...

View Article

scrape a page help

Hi there how do you scrape a page from a website.   I want the data whats in between the divs how it done cheers.   <div style="display:block;" class="skedStartDateSite"> Sun Mar 17, 2013...

View Article


I want the comments to stay

Hello i created a code today who works very good. But there is 1 one problem i can't figure out. I want all the comments to stay on the site. Like this if i comment Hey and then hello i want Hey and...

View Article

How to insert multiple data in the table

Hi guys Good day, how to insert multiple data in the database? when i insert data that has multiple orders, only one item is inserted in the database. pls help me to put this on loop. Heres the code i...

View Article

Joining two tables with the same rows

Hi! Can someone help me here? I just got this code from other topics and use it for my system but i have a problem   $idList = join (',', array_map('intval', array_keys($_POST['answers']))); $sql =...

View Article
Browsing all 13200 articles
Browse latest View live