39,323 Topics
| |
hi guys...i have this prooblem which i like to acho a window pop up...but i cannot do so...the link does not seem to work and i cannot find any error in it. I wonder if anyone can find any error here: $ancpopup = "<div id=\"anctrigger\"><a href=\"#\" onclick=\"window.open('m_ancpopup.php?page='$eid','ancpopup','width=670px,height=470px,left=0px,top=100px,screenX=0,screenY=100')\">Accident & Conviction EXIST!</a></div>"; … | |
After the form is submit, it will not echo $genderRadio Any ideas? It can select the gender but I can't display in the php file `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Assignment 2</title> </head> <body> <h1>Please enter your information</h1> <form method= "post" action = "output_hw2.php"> … | |
I am making a online social networking site, and have messging section, i want it to make it show only 1 messge from each user, So if you have a message from for ex Username "bob" id "32" and you have 5 messages from him Then you have 20 messages … | |
Hi all, I have a login system for the site. My problem is I am very new to php and battling to understand this. What I want to do is only accept logins from people that have emails from a certain domain. Here is the code I have at the … | |
I have a code and I want to validate it before the submitting it. When I say before submitting it I mean that the form does not submit the information filled till everything is filled correctly. I was thinking of using the if statement but I believe if I do … | |
hello can you help me please .. the idea when press the row of table it go directly to edit page and change the content , and finished this save the change to second table. hint : the content of the first table are retrieved from database , and when … | |
Hi, after reading the good topics and contents on disaster to resolve the problems in recent years finally its my chance to signup :) and be the one to ask: im working on a cms (not exactly) and stuck on menus and permissions. im wondering is there anyway the cms … | |
| |
How to disable the like link after it has been clicked ??? My Code echo "<a href=like.php?id=$pid>like($plike)</a>"; | |
| How does this work? <?php echo '<script type="text/javascript"> var str='.include("engine.php").'; var str_esc=escape(str); document.write(str_esc) </script>'; ?> What this script should do in my point of view outcome is to escape the whole page so the source page is not viewing the html and everything, rather then the escaped characters. this won't … |
hi am new for php.. am trying a download a csv file.. i need to create a new file after every 50 records.. 0.062201000014461.0002771700. 0.062201000014480.0000000000. 0.062201000014723.0005133400. 0.062201000015828.0005848000. 0.062201000015927.0003018200. this is the sample output. i need to split the output file so the each file should contain 50 records. <?php include("conn.inc"); … | |
When I press the save button it wont update the row if i make some changes. whats wrong with my code can you please help mee. What is lacking or what do i need to put . Thanks for who will answer I will really appreciate it. include("connect.php"); $code =$_GET['Code']; … | |
Hello, Please excuse me if this isn't the correct place to post this topic. I have a friend that knows PHP, and I know C++. We want to make a PC game together. I would handle making the core game, and he would use PHP to create a server, allow … | |
yup still a jr, at least for the next 6 months, than ill be a medium jr LOL... alright, seriously, i need this thing done, so if you guys have any hints, pointers, would be appreciated. it's probly not complicated for you guys, but i'm trying to write a language … | |
Hi. I am trying to perform a "process of elimination" type of search using MySql. I have a table with a lot of values that people could search for- and currently if they search for 1 value it works great. But if they search for lets say "value1 value2" it … | |
I am trying to create a website where a user can enter a start location and an end location into textbox's and the distance between the two location shall be output into another textbox (This is done using a google API). On my webpage I have set up several instances … | |
Hi, I am working on video player module. I am trying to add dynamic video links & description.Its working fine. the problem is when i am playing a video,video list become readonly. Need suggestion <!doctype html> <html> <head> <title>Video Player Application</title> <link rel="shortcut icon" href="/media/favicon.png"> <!-- standalone page styling. can … | |
Hello, I have a strange occurence when trying to execute the following sql: if($select_232 == 'Member Credit' && $paymenttype == 'Visa' || $paymenttype == 'Cash' || $paymenttype == 'Check' || $paymenttype == 'Master Card' || $paymenttype == 'Discover' || $paymenttype == 'Amex' || $paymenttype == 'Other') { $result = mysql_query("UPDATE … | |
CREATE TABLE IF NOT EXISTS `users` ( `ID` mediumint(9) NOT NULL AUTO_INCREMENT, `username` varchar(60) DEFAULT NULL, `password` varchar(60) DEFAULT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; CREATE TABLE IF NOT EXISTS `chatmessage` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `from` varchar(250) NOT NULL, `to` varchar(250) NOT NULL, `message` … | |
I want the user to type in his a user name and depending if it is taken on not i want the code to tell if it is available or not without submitting. You guys must have noticed how google populates the search results without even submitting your query, i … | |
Hi, As the title states, within my files require_once is not working as intended. I have a file where a user enters booking details and at the top it requires once the file to create the database and insert initial data into it. The problem is it seems to be … | |
| Dear I would like to set session expire time to 3hrs, Which one is best ? `ini_set("session.cookie_lifetime","10800");` or `session_set_cookie_params(3600 * 3);` Or can I use both? And one more, Is it compulsary to place every page b4 where ever session_start() Thanks. Pls help me. |
Hi all, I was wondering if it is a common thing to do when requesting variables to have the request names in an array and use a for loop to request the submitted variables. (will it hold the values if its a for loop?) What i have at present is … | |
Hi there, I have recently been looking into encryption, for MySQL and php, to figure out someway to encrypt the information in the database, or more to the point before it goes in, or decrypted when it comes out. What I'd like to happen is for the info submitted from … | |
ive got a webpage that has a login page, it displays the 3 users name and then gives the fields to login. When the user logs in they get to vote for 3 people to be 1st 2nd and 3rd. I have to change the following code so that on … | |
Hi, This is part hotel managment system but we want to create new feature where we can edit room type but this is not my code but it my program because I cant contact programmer so end up need to do my self, so got problem where cant update Here … | |
Hi, I'm writing a simple page for University. I need it to basically just echo user input from a text box back onto the screen. Here is the code I have so far: Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <!DOCTYPE … | |
hi, i am trying to write a method that looks for the word 'not' before another word and these words i.e being positive or negative are stored in my database so for example this is not good, the problem im having is getting the word from my DB to be … | |
Hello! What I am trying to do is assign the values from a mysql query and store them in an array. I have some code that queries the DB by using SHOW COLUMNS. I then loop through dynamically assigning the name of the DB field to input fields of a … |
The End.