39,320 Topics

Member Avatar for
Member Avatar for priyam1309

I want to create a layer popup, as the one used on this website when you click on Member's login. I require the solution to be in HTML & CSS, JSCRIPT, PHP, etc. When the page opens, the popup should appear and the background (main webpage) would be blacked / …

Member Avatar for gunnarflax
0
99
Member Avatar for love_bug

I have Webpage written using PHP that displays data from MySQL tables. I want my page to refresh after new records are entered to the database.

Member Avatar for gelos
0
317
Member Avatar for chiyankarthi
Member Avatar for levsha

Here is my php: [CODE]<?php $confirm = $_POST['confirm']; if(($_POST['confirm'] == 'Y') {header("Location: http://mysite.com/sage/page1.php");} else {header("Location: http://mysite.com/sage/disagree.html");} ?>[/CODE] Here is the HTML: [CODE]<form id="form" action="terms_redirect.php" method="post"> <table id = "radio"> <tr> <td> <input type="radio" id="agree" name="confirm" value="Y" /> </td> <td> <label for="agree">I have read and agree to the Terms and Conditions</label> …

Member Avatar for levsha
0
207
Member Avatar for Karthik.gautham

Hi guys, i want to to know the follownig status in my php.ini file 1 zip is enabled or not 2 openssl is enabled or not i treied using ini_get('zip') but its not working pls help me out. Thanks in advance

Member Avatar for MindSter
0
165
Member Avatar for flutterby2006

Hi, I am lost when I need to upload some files, I feel lost as I can't figure out what to do. Can someone offer some advice, I really would appreciate the help!!

Member Avatar for MindSter
0
66
Member Avatar for urlstwohim

I would like the results from this script(it is working but results open in same window)to be displayed in a new window? Here is the code: [<?php function new_module_menu() { $items = array(); $items['new_module/form'] = array( 'title' => t('My form'), 'page callback' => 'new_module_form', 'access arguments' => array('access content'), 'description' …

Member Avatar for urlstwohim
0
188
Member Avatar for QWaz

Hi, I am about to blow my brains out. Im sure you've been there! I am trying to create a table in my MySQL database and getting this error -> SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds …

Member Avatar for QWaz
0
129
Member Avatar for comhacker99
Member Avatar for ApocDen
-1
138
Member Avatar for defigo

I teach debate at my school and i was wanting to create a way of posting team scores from each match. The part I am having trouble at is the rank. What i want to do is to rank each set of points ( FOO & BAR ). Then use …

Member Avatar for d5e5
0
95
Member Avatar for tones1986

Hey all, I am currently working on a simple page that lists all current tickets for my small company. I want to be able to click on a ticket in the list, and expand the page with all replies etc for that ticket. basically something that would look like: Ticket …

Member Avatar for chrishea
0
139
Member Avatar for newbietophp1221

i have a form that searches only text based on 2 criteria. 1st criteria is the user selects from a drop down. The drop down is a table in the database. 2nd criteria is what the user enters in the text box and then clicks to submit. SO whatever the …

Member Avatar for newbietophp1221
0
145
Member Avatar for doctorphp

Hi there. I am trying to use a html form to send a PHP email but I am having some problems when I enter the message in the text area. The messages that I send have line breaks in but instead of doing a line break it shows the [B]<br …

Member Avatar for Daiva
0
143
Member Avatar for heshanm

Hi, I want to retrieve data from my database and display it in my form. How can i do that? i mean the php coding of the process. Thanks, Heshan.

Member Avatar for heshanm
0
207
Member Avatar for design.eng

I want to pass the selected information with a session to another page, but I couldn't get them done. The fieles are repeated becasue theay are in toggle mode so they have the same field names and values....., I am really sorry for the long code cus I am working …

Member Avatar for design.eng
0
137
Member Avatar for vmpchris

Hey. I've have been attempting to create a website and I was just wondering something. On my page's I have post's like this.. [CODE] <h3>This Post</h3> <p>Content of post</p> [/CODE] How do you make it so when I click the title, it will show just that post and then if …

Member Avatar for vmpchris
0
96
Member Avatar for dandixon

I have this for my register form that if it exists die which falgs up a new blank page that displays the message but i just want the error to stop the script and appear on the form. [CODE] if(usernameTaken($_POST['user'])){ $use = $_POST['user']; die("Sorry, the username: <strong>$use</strong> is already taken, …

Member Avatar for dandixon
0
132
Member Avatar for webguy6

Hi all, I've been learning PHP and SQL slowly over the past couple of weeks for a project (so please be gentle!). I have a database, MEMBERS, as follows: [CODE] ID | Name | Job Title | Current Employer | State | Manager 1 | Joe Smith | Sample Title …

Member Avatar for blocblue
0
138
Member Avatar for phplover

Hello, I have created a script and as part of the script i want the script to detect the upload_max_filesize which is set in the web servers php.ini file. It will be displayed on the file upload webpage which is accessible to admins only. Now at the moment i am …

Member Avatar for phplover
0
174
Member Avatar for nick3592

hi i was wondering if it is possible in php to create a bot that would surf my website. i do not need code just wondering what i should use with php to do this.

Member Avatar for omol
0
189
Member Avatar for dandixon

Ive been given this code that registers users, ive got all the other parts working great with the login side but this is causing me problems. I dabble but not fluent in php. This page is my register.php page. What i need is a register page that has the form …

Member Avatar for muralibobby2015
0
178
Member Avatar for reibi

Hey anyone, well I have creating an admin panel from which user can insert keywords as you type keywords in google.com. I hope you have understood, so how is it possible with php and in the same time they can insert new keywords like one u can see in this …

Member Avatar for muralibobby2015
0
123
Member Avatar for cristi08

I have a table with two columns and I need to set a new foreign key or compound column like: [CODE]COMPOUND COLUMN 1 2 1 a B 1 a B 2 a C 2 a C 3 b D [/CODE]

Member Avatar for Stefano Mtangoo
0
56
Member Avatar for trilogy09

The script is supposed to receive data from a HTML form and update the table based on the supplied information. This is what I get: "Connected successfully Selected successfully Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in on line 39 Query was empty" [code=php] <? $name = …

Member Avatar for Stefano Mtangoo
0
214
Member Avatar for K0ns3rv

Hello fellow daniwebians. So I've encountered this problem with querys in PHP. In the system I am working on at the moment we've created an install file which tests the db connection, creates the db structure e.t.c. But when creating the database the query fails. The query it self i …

Member Avatar for pritaeas
0
152
Member Avatar for Virangya

i wrote a query... it must return false instead its returning false..i cant find why public static function find_cart_id($cid){ $query="SELECT customer_id FROM tblshopping_cart WHERE customer_id='$cid'"; if(mysql_query($query)) { return true; } else { return false; } } even if i use some text instead of `$cid` it still returns true :( …

Member Avatar for muralibobby2015
0
77
Member Avatar for cristi08

what is wrong here? [CODE]ALTER TABLE valoare_lucrari( ADD CONSTRAINT fk_oferta FOREIGN KEY (id_ofertant,id_proiect)references(id_ofertant,id_proiect))[/CODE]

Member Avatar for cristi08
0
242
Member Avatar for Damien0410

I have added case 9 into this document and added the appropriate entries elsewhere to make it work however i cannot get this to enter the checkboxes correctly. When i go to the form and I select checkboxes and i list the options and sav ethem, it goes into the …

0
69
Member Avatar for cristi08

Hellow programmers, I have a table with two columns as foreign keys and I need to obtain a composite foreign key. what is the correct sintax? Alter table..... Thank you in advance

0
52
Member Avatar for Graycode

Hi all, I created my own custom wordpress theme. Although I really am a novice, I've managed to get it up and working and it looks brilliant (if I say so myself!!) I have been trying for the past week to implement particular themes (events calendar, and nextgen shopping gallery) …

Member Avatar for rajarajan2017
0
119

The End.