39,320 Topics

Member Avatar for
Member Avatar for Quinncunx

Just a heads up this is a school project. I have been tasked with building a login system for the "mock" company that we have been using on my college course for assignments ect. I have built the regisration, login, logout, user management pages, however I cannot make the activation …

Member Avatar for pritaeas
0
214
Member Avatar for crankyslap

Whenever I run a script twice at the same time, it's as if the second instance simply outputs what the first did. The second instance also does not detect any files the first one made etc. First instance started at 14:37:59 outputs: Started at: 2012-04-12 14:37:59 OK Second instance started …

Member Avatar for crankyslap
0
122
Member Avatar for chudapati09

I doubt this is the right place to post this question, but I didn't know where else I can put this. It does kinda involve PHP, but I've asked this question on Stack Overflow and didn't get much help. If this is the wrong place to put this, please do …

Member Avatar for pritaeas
0
821
Member Avatar for bo0ga

Say I have a website with a form. The user would fill out a review about my company in my form. When the user presses submit, the data from the form on MY website then gets sent to an external review website like Google Places and gets submitted there. Is …

Member Avatar for Biiim
0
207
Member Avatar for magicmarkuk

I am trying to incorporate a number of small pieces of php code into a Wordpress database (for banner ads). Unfortunately the template I am using is not designed to take php code but rather html or javascript. I wondered if there is a way to amend the template file …

Member Avatar for Biiim
0
141
Member Avatar for rrahulrroshan

Hi I want to have 2 select dropdown based on the value of 1st drop down without submit button. But I m not getting dynamically the selected value in 1st drop down eg: year , so that i can use it for next selection. can anyone plz help me Eg: …

Member Avatar for gokulllrajjj
0
211
Member Avatar for niyasmohd

**Bold Text Here** i cant perform edit option in my sql/php page.....while editing it return 0 and it is not updating my database....in the database the same is seen (as 0)...donno hw to correct this...will anyone help to continue my work..... Thanks in advance.

Member Avatar for dualzNZ
0
38
Member Avatar for Mariel Pineda

Please help what is missing here i cannot get the data of row that I check on the checkbox? <? include("connect.php"); include("home_order.php"); echo "<div><table border=0 cellspacing='15' align=center id=table1> <tr> <th>Title</th> <th>Price</th> </tr>"; $code = $row['Code']; $getcheck=$_GET['check']; if ($getcheck){ $result= mysql_query("SELECT * FROM books where Code='$code'"); while($row = mysql_fetch_array($result)) { echo …

Member Avatar for broj1
0
378
Member Avatar for Mariel Pineda

I cannot update row datas.I cannot find what is wrong because my query in updating is 100% right for me.I hope so..But here is my codes so you can help me. this is home_admin.php <? include("connect.php"); include("addfunc.php"); echo"<link rel=stylesheet type=text/css href=design.css />"; echo"<center><img src=top.png></center>"; if(isset($_GET['add'])){ echo "<table align=center id=table> <tr …

Member Avatar for fobos
0
158
Member Avatar for madhan

Hi – I have an inline jQuery function that selects the table cell data onclick. The jQuery part works well. I have added code snippet of jquery. $(function(){ $("#myTable td").click(function() { $row = $this.closest('tr'); case "name": alert($row.find(".name").html()); break; etc Instead of displaying the name on the client –side alert message, …

Member Avatar for blocblue
0
2K
Member Avatar for sibbs06

Hi I have a problem, I have created a site that allows for a user to bid on property but cant get a code to work where it updates a current record in the database <form id="MakeBid" action="MakeBid.php" method="get"> <div>Bid Now <input type="text" name="pricesoldfor"/></div> <input type="submit" value="Place Bid" /> </form> …

Member Avatar for Biiim
0
144
Member Avatar for itamardori3

**Hey, so i got syntax error when i'm trying to use this file** Parse error: syntax error, unexpected $end in /var/www/vhosts/airlinesofisrael.com/httpdocs/phpvms.full/lib/skins/lolim/layout.tpl on line 129 my code is below, can someone help please? :) <?php /** * * * * * * * * * * * * * */ ?><!DOCTYPE …

Member Avatar for itamardori3
0
227
Member Avatar for mbarandao

Hello: I was wondering if I can get some guidance on how to pull data from mysql and inserted in js array in the following manner var option_array = new Array(num_of_cats); option_array[0] = new Array(\"You need to select a category\"); // This is the first (blank) category. Don't mess with …

Member Avatar for mbarandao
0
294
Member Avatar for lilleskut

Please apologize my ignorance, I am very new to this. So I have some code and am doing AJAX refreshes of some text on the page which works fine. Now I want to refresh things which are more complicated than just a text string, such as a button which is …

Member Avatar for pritaeas
0
207
Member Avatar for Midgard

Hi- I have a script that grabs a lot of information for a page that has a 'Research Mode.' Basically, it grabs a bunch of data, then uses JS to show or hide info based on user criteria. It used to work fine, but we've been adding more info -- …

Member Avatar for Biiim
0
187
Member Avatar for arctushar

Here $a and $ b are equal. But in line 07 its not printing 'this is equal'. What is the problem? Plz help me. Remember when form submit $a and $b is equal. but when refresh they r not equal. <?php session_start(); $a=$_SESSION['randomnum']; $b=$_POST['secure']; echo $a.'<br/>'.$b; if($a==$b){ echo "this is …

Member Avatar for Biiim
0
135
Member Avatar for kit007

im using fpdf.php library have some extension the pdf_lp.php then i got this error on my codes... hope somebody can help me identify my error.. any help is very much appreciated. <?php date_default_timezone_set('Asia/Manila'); require_once('./pdf_lp.php'); include ('connect.php'); // $sql = mysql_query("SELECT * FROM mydb WHERE contractno = '$_SESSION[contractno]'") $sql = "SELECT …

Member Avatar for kit007
0
2K
Member Avatar for vergil1983

I have this sample of API code, i'm trying to embed my form into it. This code is in php. Below is the sample API code ----------------------------------------------------------------------------------- <?php echo(get_sentiment_rank_text("We like sharing our service with you. We hope you enjoy it as well.")); function get_sentiment_rank_text($content) { //get the sentiment scoring info …

Member Avatar for vergil1983
0
124
Member Avatar for breakzzzz20

what's wrong in my codes? this is my insert.php: `<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="rommelbarrio"; // Mysql password $db_name="system"; // Database name $tbl_name="grades"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // Get values from …

Member Avatar for breakzzzz20
0
2K
Member Avatar for Touy

I have been given a database whose content I can't modify. Everything has been going fine until I was passing some variables in a URL through a link, and an apostrophe in one of the variables (i.e "Frank's Used Cars") is causing the variables behind it to not be passed. …

Member Avatar for LethargicCoder
0
357
Member Avatar for yanwick

Hi, Im using session variables and when passing from one page to another with a target="_top" the session variables are erased. Is there anyway i can go around this problem ? Any idea will be greatly appreciated. Thank you

Member Avatar for yanwick
0
206
Member Avatar for madhan

Hi – Sorry about the code tag that is not working for me in my previous post and I am having trouble even edit my own post. I am visiting this site after a while and having trouble sending my post.

Member Avatar for fobos
0
119
Member Avatar for cuonic

Hi all, I'm making a website that enables easy sharing of Public PGP keys using PHP and MySQL server side and JS client side making it all nice and dynamic. The site works fine on localhost, but I have just uploaded it to my host, TuxFamily, and it doesn't work. …

Member Avatar for cuonic
0
81
Member Avatar for sowh4t

I need a script that selects all from mysql, orders them DESC with highest money and prints out only where username=$_SESSION['username'], so it will show Your position is X/10

Member Avatar for sowh4t
0
74
Member Avatar for dyingatmidnight

Hi there, I'm trying to modify a form verification script. When you press the submit button it runs a javascript function that checks if the required fields are filled out. If not it sends up an alert and doesn't submit the form. What I'd like to do is have it …

Member Avatar for chrishea
0
516
Member Avatar for cpat258

I have an assignment due and i might be asking for too much help so im sorry for that. I have very little knowledge about php and html. i have never ever done this in my whole entire life. So any help would be greatly appreciated. Thanks I have to …

Member Avatar for Biiim
0
114
Member Avatar for robertj17

I have to find all the syntax errors in this php file, any help is appreciated <?php $WaitTime = addslashes($_POST['wait_time']); $Friendliness = addslashes($_POST['friendliness']); //missing ) and ; $Space = addslashes($_POST['space']); $Comfort = addslashes($_POST['comfort']); //missing $ $Cleanliness = addslashes($_POST['cleanliness']); $Noise = addslashes($_POST['noise']); if (empty($WaitTime) || empty($Friendliness) || empty($Space) || empty($Comfort) || …

Member Avatar for Biiim
0
84
Member Avatar for anita.kcx

Hi, I have created a form and since it is very long some of my users need a SAVE feature so that they can enter some details-> save it, and then fill the blank fields in the future. Most of my form fields are 'textarea' as the data entred by …

Member Avatar for Biiim
0
180
Member Avatar for mandy011

hey there :-) I am facing a small problem, can you recommend me something? my problem is like this: now when a user searches some keywords on my website i extract data of website which includes complete page details. at a time i am fetching 10 results! so now assume …

Member Avatar for Biiim
0
217
Member Avatar for manishraj1988

i am creating a hyperlink . i want to that page should open in pop window wat code should i use??

Member Avatar for Biiim
0
53

The End.