Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for lwaterfo

Hello, Newbie with simple question here... A developer has entered this code for me to display a banner ad on my wordpress page. I want the ad to link to a page. How would I do that with this code? <div class="head_banner"><img src="<?php bloginfo('template_url'); ?>/images/image.png"></div>

Member Avatar for aliceknight
0
184
Member Avatar for lwaterfo

Hello all, I am a php newbie and I have a small project I need someone to work on (since I am totally frustrated at trying myelf). The project involves displaying a record within a table based on a user the is logged into my site. I also want fields …

Member Avatar for veedeoo
0
300
Member Avatar for lwaterfo

I have a code where I am inserting a new record into a database. I need a way of redirecting the user if they have already entered their information into the database. Here is my php code...how would I modify this to check for an existing record based on their …

Member Avatar for diafol
0
65
Member Avatar for lwaterfo

I am trying to get my database to display in a form using this code below. The problem is, the form (textfield) is not displaying anything. Can someone give me a hint? [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("Location: contractorlogin.php"); exit(); } mysql_connect('localhost','xxx','xxxxxx') or die( mysql_error() ); mysql_select_db('xxxxx') or die( mysql_error() ); …

Member Avatar for tiggsy
0
152
Member Avatar for lwaterfo

Is there an easy way to have a user view their information in form fields? I have set up a query for a user's information in a table to come up, but I want the user to be able to edit their information... Does this require other programming language knowledge …

Member Avatar for fobos
0
82
Member Avatar for lwaterfo

Is there an easy way to display records in a database? I have the query set up but I don't know how to output the result to the user.. Here is my php: [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("location:contractorlogin.php"); exit(); } $user = $_SESSION['memberusername']; $sql = "SELECT Username FROM contractors WHERE …

Member Avatar for lwaterfo
0
78
Member Avatar for lwaterfo

Hi all, Newbie question;.... I have a database and a table within called 'data'.. I also have a login script that allows users to access it. My question is..how do I make only the user's record viewable/accessible after login. Specifically, how do I access, the a specific record in the …

Member Avatar for lwaterfo
0
111
Member Avatar for lwaterfo

Hello again everyone.. I have a form with an e-mail input. After the user enters their e-mail, I want to have the content of the form sent to them... The name of the form textfield for the e-mail is "email". How could I make this happen in the php script?? …

Member Avatar for lwaterfo
0
165
Member Avatar for lwaterfo

Hi, How do I change the query below to search in two fields instead of just one? For example, I want the query to search two fields: job_id and jobtype - instead of just job_id. [CODE]$query = "SELECT lastname, firstname, state, zip, jobtype, otherjobtype, nightavail, weekendavail, ptft, resume FROM data …

Member Avatar for hielo
0
68
Member Avatar for lwaterfo

Hi, I have a php code that lists the contents of one of the tables in my database. At the bottom of the listing, there is code that takes you to the next 10 results. Problem is, when I test it out, I am being redirected to a comcast search …

Member Avatar for MooGeek
0
110
Member Avatar for lwaterfo

Hello all, I'm sorry to keep bugging everyone with my code debugging requests... I recently got help with this line of my code, but I am still getting error messages about a missing ; or , . Here is the line of code: [CODE] echo '&nbsp;<a href="'.$_SERVER['PHP_SELF']."?s=$news&q=$var\">Next 10 &gt;&gt;</a>"; [/CODE] …

Member Avatar for almostbob
0
2K
Member Avatar for lwaterfo

Hi again all, Can anyone see what is wrong with the code below? [CODE] if ($s>=1) { $prevs=($s-$limit); print "&nbsp;<a href=\\"$PHP_SELF?s=$prevs&q=$var\\">&lt;&lt; Prev 10</a>&nbsp&nbsp;"; }[/CODE] I keep getting an error message: Parse error: syntax error, unexpected T_VARIABLE ...referencing the print line.

Member Avatar for cwarn23
0
402
Member Avatar for lwaterfo

Hello All, I have very little experience with php, and I recently downloaded a script on a website for displaying a database here: [URL="http://www.designplace.org/scripts.php?page=1&c_id=25"]http://www.designplace.org/scripts.php?page=1&c_id=25[/URL] I tried changing the code in lines 31-33 so that only certain variables within a record would be displayed. This is what my changed code looks …

Member Avatar for lwaterfo
0
80
Member Avatar for lwaterfo

Hi all, I am looking for php help. i want to create a login page for access to 1 table (data) in my database (app1) consisting of about 10 fields. I will be giving the user the password and creating a password for them, but I need them to be …

Member Avatar for lwaterfo
0
119
Member Avatar for lwaterfo

Hello, I am wondering, is there any way to create a form inside of a php page? If so, how? thanks, -l.

Member Avatar for lwaterfo
0
147
Member Avatar for lwaterfo

Hi, I need help passing variables in php. I have an html page describing a job with an id number(jobdescription.html). -when the user clicks on a submit button, I want to open another html page (jobsubmit.html) with a form and have the job id autofill into a form field named …

Member Avatar for lwaterfo
0
211
Member Avatar for lwaterfo

Hi all, I have a big problem. I am very new to php and sql and I need to create a login web page page for access to a database I have created in mySQL. I have located a script online here: [url]http://php.about.com/od/finishedphp1/ss/php_login_code.htm[/url] that basically explains the entire process. My …

Member Avatar for Chi-Town
0
108
Member Avatar for lwaterfo

Hi, I keep getting this error when filling out my form and calling process.php: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home3/waterfor/public_html/process.php on line 1 all I did was move around some of the variable names in the php code. It was working fine just a second before that. Here …

Member Avatar for manzarr
0
451
Member Avatar for lwaterfo

HI, I have a form with a huge textarea field and I am not sure how to format the textarea to make it work with php. The small textfields seem to work fine with adding information to my database, but as soon aas I add dropdown menus, a large textarea, …

Member Avatar for lwaterfo
0
90