39,316 Topics

Member Avatar for
Member Avatar for anirban1087

Hi, I am working on data entry form using PHP. I have 5 fields, on the 1st field I will entry some data, and a ajax code will populate a list matching the data, on select, next two fields will be automatically field with some data from mysql database. Now …

Member Avatar for Shanti C
0
92
Member Avatar for klemme

Hi everyone, I have pulled data from mysql into an select list in my admin area. [CODE] $query="SELECT id, linklabel FROM pages ORDER BY id ASC"; [I]//I am not sure if the form should be like this...?[/I] '<form name=test id=test action=edit_page.php method=post>'; $result = mysqli_query ($myConnection, $query); echo "<select class=\"boxstyles\" …

Member Avatar for smantscheff
0
132
Member Avatar for abhi10kumar

I searched and did not found enough information on session_name() method. I am using session_name() on some pages but not on all. I am getting problem, if I omit the session_name() method from my code, it will work fine, but if include, it wont work. I have around 100 pages, …

Member Avatar for digital-ether
0
1K
Member Avatar for tape enterprise

normally to get my items from mysql to an array i use this code [CODE]while($row=mysqli_fetch_array($result)) { $array[] = array('id' => $row['id'] ect...) }[/CODE] anyway I am using some OOP in my code so now I don't know what the row names from mysql are named to use in the while …

Member Avatar for diafol
0
86
Member Avatar for dev.vini

hi please help me, there is example "thsi is paragraph A 20 .thsi in another paragraph A 40 and end now" how can i get the value of A from paragraph it may be 1-> many in a paragraph i want to get value of A either it may 1,2 …

Member Avatar for smantscheff
0
57
Member Avatar for lkrvk

Hi bro, this is my frame work of the simple login script. now i want a send the id input to the display.php, without changing this frame work coz i only know this way of making a simple login. [CODE] <?php if (isset($_SESSION['basic_is_logged_in'])) { unset($_SESSION['basic_is_logged_in']); } session_start(); $errorMessage = ''; …

Member Avatar for lkrvk
0
193
Member Avatar for Fresco Vivir

Greetings everyone i'm working on small project on php and MySQL and i just start to learn them i write a code that allow me to add new field in my table with default value but i wanted to ask can i make the field added to the table with …

Member Avatar for diafol
0
129
Member Avatar for raaboo

Hi, I am trying to generate an sql query to insert several pieces of data, most of which comes from another table, however I have one variable that comes from PHP variables as below: [CODE]insert into scores (AuditID, question_id, available_score, question, question_number, question_section) values ($auditvalue, (SELECT questions.quid, questions.question_value, questions.question, questions.question_number, …

Member Avatar for diafol
0
184
Member Avatar for ShandyElliott

What I have: a. I have a contact.htm page with a form on it. I have a drop down menu in which I have several options the user can choose to select a subject matter. b. a footer (which acts as a site map) on the bottom of all web …

Member Avatar for ShandyElliott
0
197
Member Avatar for crazycat503

We already have a well-established web based application that runs on php and mysql. Recently, we thought of moving it to desktop application because we need the application to access newly bought scanners. we need to take scan of documents and associate them their respective data/record. before it is moved …

Member Avatar for crazycat503
0
83
Member Avatar for andrewliu

Hello all! I have set up a multidimensional array, and I was wondering how would I update a value within the array? Like how if you update a value in mysql, u use mysql_query("UPDATE.... Simply the same thing I want to achieve in an array. I just wanted to update …

Member Avatar for andrewliu
0
1K
Member Avatar for xxreenaxx1

Hey I can print choice in loop but how do I print Question ID for the choices. For example: Question ID= 2 choice 1= whatever choice 2= whatever choice 3= whatever choice 4= whatever Question ID= 3 choice 1= whatever choice 2= whatever choice 3= whatever choice 4= whatever for …

Member Avatar for diafol
0
78
Member Avatar for kgizo

Hi what i want to do is pass a php variable in a script i've already got a drop down list now what i want to do is as soon as you click on any province in the drop down menu the cities appear in the text area. what is …

Member Avatar for diafol
0
113
Member Avatar for engineerahmad

hey all i have to integrate paypal subscription to my website and i need help for that i need to store data in database and show it to user after he came back to my website...plz help me

Member Avatar for chrishea
0
24
Member Avatar for erdemece

Hi everyone. I'm trying to develop a little blog by my self. and I'm gonna write in it as you guess but I want to give link, show picture, show video and also I want to make bold some letters. Im gonna do video and bold replace with bbcode. thats …

Member Avatar for smantscheff
0
186
Member Avatar for stevenfagan

I have a linux shared hosting account on godaddy and I want to use mysqli instead of the standard mysql. I'm not sure how to set it up though. I've picked up pieces of information around, but can't seem to find enough information that is specific enough to the situation. …

Member Avatar for AndreRet
0
207
Member Avatar for Kadafiz

i have ID numbers that i want to enter it into my database using filling form by user. so i need to validate this number format. number format should be like this. first 9 numbers and after nine numbers it must have a letter V. (123456789V) i need to validate …

Member Avatar for lyrico
0
2K
Member Avatar for eltonpiko

hi can somebody help me out i have form that the user need to fill and at the end of the form the use have to make a payment via alert pay which they will be taken to the page buy clicking on the alert pay button but haw can …

Member Avatar for Shanti C
0
483
Member Avatar for saadi06

Hi I am trying to concatinate anchor tag and it is giving me this error Parse error: syntax error, unexpected T_STRING My code is [CODE]$link.="a href=".test.php/verify_email/$vcode." target=_blank>".Verify email address."</a>"; [/CODE] Can anybody help Thanks in advance

Member Avatar for jigarvyas
0
78
Member Avatar for newbie14

Dear All, I have two .php page. In my main php I call the other via the require_once method. Then in the main .php I declare and assigne variable and I tried to read the value in the require_once php I am not able to see the value. How can …

Member Avatar for jigarvyas
0
91
Member Avatar for newbiecoder

Hello I am trying a code from a book, When I run it at local host and enter a number on the box I get this error : Have requested is not allowed to access the directory. Directory, or to read protected, or can not be read by the server. …

Member Avatar for happytogether
0
112
Member Avatar for Kubekingdom

I have this login ,and if I put the password Denver1999 it logs in the user and does not care about the real password. Help.

Member Avatar for chrishea
0
38
Member Avatar for shawtyred74

Hi, I am new to php and I am totally lost on what steps I need to take in order to create a website that will allow a user to login with an email address and password or subscribe or unsubscribe. if they choose to subscribe then they should be …

Member Avatar for Stefano Mtangoo
0
100
Member Avatar for dave086

Hi, I have searched for this for a long time, but cannot find the answer... sorry if it's simple or is on here already, I did look! Anyway - I'm trying to overlay text from a database on an image using php for use in banner ads for a client. …

Member Avatar for Stefano Mtangoo
0
146
Member Avatar for showman13

I have a DB table that has a member ID field and a level field... There can be duplicate member IDs because they can have multiple steps There can be duplicate step numbers because multiple members can be on the same step But there should NEVER be a duplicate combination …

Member Avatar for diafol
0
157
Member Avatar for adambeaumont

Good Afternoon, I have been struggling with a minor issue for the past several hours, I need help. ok I know I can use date('Y-m-d', strtotime($date . '+4 day')); for specific days but I need to be able to x amount of days adding to a specific date. Any help …

Member Avatar for adambeaumont
0
94
Member Avatar for MoreBloodWine

First, wasn't sure where to put this so I stuck it here because of the PHP files involved. Any way, what would need to be written into my sites .htaccess file to "ping" a php file when an image is called ? So if I type mysite.com/image.jpg into my browser, …

Member Avatar for smantscheff
0
271
Member Avatar for designalex

hi, i have a form with a few fields including 3 image fields: the problem that i am having is that on the 3rd images upload it just does nothing. i can upload using any 2 of the image inputs and it will work fine but as soon as i …

0
77
Member Avatar for showman13

Good Morning, I'm not really sure where to go with this line of thought, so decided to bring it here where the logical thought processes reside... ;) What I have is this... A new membership program that has multiple levels that members can be paid on. Each level is tracked …

Member Avatar for showman13
0
295
Member Avatar for Aser Gado

I am creating a visitor messages system on a member's profile, here is my code so far.. I am using it as an include in the profile page, here is the error I get: [CODE]Error: You have an error in your SQL syntax; check the manual that corresponds to your …

Member Avatar for diafol
0
111

The End.