39,320 Topics
| |
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 / … | |
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. | |
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> … | |
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 | |
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!! | |
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' … | |
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 … | |
| |
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 … | |
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 … | |
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 … | |
| 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 … |
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. | |
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 … | |
| 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 … |
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, … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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] | |
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 = … | |
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 … | |
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 :( … | |
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] | |
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 … | |
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 | |
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) … |
The End.