Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 15th, 2001, 01:32 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
cool

this works cool thanks ...whats next?

Reply With Quote
  #2  
Old July 17th, 2001, 05:47 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
here it is.....

Code:
<html><head>
<title>recruitment</title>
</head>
<body bgcolor=whitesmoke>
<? $image="details.jpg"; ?>
<? include("scripts/header.inc.php"); 
include("scripts/config.php"); 
include("scripts/functions.php"); 
?>
<table width="600" border="0" cellspacing="1">
<tr><td><b>Job title</b></td><td><b>location</b></td><td><b>Salary</b></td><td><b>Posted</b></td><td></td></tr>
<?php

$connection = mysql_connect($hostname, $user, $pass) or die ("Unable to connect!");

$query = "SELECT listing.designation, listing.jcode, location.location, salary.salary, listing.posted from listing, location, salary WHERE checked= 1 AND location.id = listing.fk_location AND salary.id = listing.fk_salary ";
$result = mysql_db_query($database, $query, $connection) or die ("Error in query: $query. " . mysql_error());
while (list($designation, $jcode, $location, $salary, $posted) = mysql_fetch_row($result)) {
    print ("<tr>\n".
           "<td><a href=\"job_details.php?jcode=$jcode\"><b>$designation</b></a></td><td>$location</td><td>$salary</td><td>$posted</td><td><a href=\"apply.php?jcode=$jcode\"><img src=images/apply.gif width=50 height=16 border=0></a></td>\n".
           "</tr>\n");
}

mysql_close($connection);
?>
</table>
<? include("scripts/footer.inc.php"); ?>
</body></html>


this is kind of what i was talking about any ones you got?


Reply With Quote
  #3  
Old July 20th, 2001, 12:03 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: date function ,here it is.....

Code:
<html><head>
<title>recruitment</title>
<link rel="STYLESHEET" type="text/css" href="aidan.css">
</head>
<body background="images/background.gif">
<? $image="details.jpg" ?>
<? include("scripts/header.inc.php"); 
include("scripts/config.php"); 
include("scripts/functions.php"); 
?>
<table width="600" border="0" cellspacing="2">
<tr bgcolor="whitesmoke"><td>&nbsp;&nbsp;<b>Job title</b></td><td>&nbsp;&nbsp;<b>location</b></td><td>&nbsp;&nbsp;<b>Salary</b></td><td>&nbsp;&nbsp;<b>Posted</b></td><td>&nbsp;</td></tr>
<?php
$connection = mysql_connect($hostname, $user, $pass) or die ("Unable to connect!");
$query = "SELECT listing.designation, listing.jcode, location.location, salary.salary, listing.posted from listing, location, salary WHERE checked= 1 AND location.id = listing.fk_location AND salary.id = listing.fk_salary  order by posted desc";
$result = mysql_db_query($database, $query, $connection) or die ("Error in query: $query. " . mysql_error());
while (list($designation, $jcode, $location, $salary, $posted) = mysql_fetch_row($result)) {
    print ("<tr height=14>\n".
           "<td>&nbsp;&nbsp;<a href=\"job_details.php?jcode=$jcode\"><b>$designation</b></a></td><td>&nbsp;&nbsp;$location</td><td>&nbsp;&nbsp;$salary</td><td>&nbsp;&nbsp;$posted</td><td>&nbsp;&nbsp;<a href=\"apply.php?jcode=$jcode\"><img src=images/apply.gif width=50 height=14 border=0></a></td>\n".
           "</tr>\n");
}
mysql_close($connection);
?>
</table>
<? include("scripts/footer.inc.php"); ?>
</body></html>

with this code i was wondering if any one knows how i can display the date diferently. the $posted displays the date in 2001-06-17 and not thu 17th july 2001.
how do i do it?

thanks

Reply With Quote
  #4  
Old July 26th, 2001, 02:18 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: date function ,here it is.....

What happened

Reply With Quote
  #5  
Old July 26th, 2001, 02:20 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: here it is.....

Pretty Strange

Reply With Quote
  #6  
Old August 10th, 2001, 04:35 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
'The Perfect Job' 1&2

Article '1' excellent, just looked brifly at '2'. Source code is mentioned, where is it please? Thanks in advance, Graham.

Reply With Quote
  #7  
Old September 18th, 2001, 11:54 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Error in sample data

Don't know if was intentional or not, but FK_coutry = 98 in the sample resume and there are only 96 coutries in the country table. When you go to look at the resume details the code errors out.

Reply With Quote
  #8  
Old September 22nd, 2001, 12:14 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: cool

hey aiden mine is on win 98 and does not work yet any chance of some hepl please !

Reply With Quote
  #9  
Old September 28th, 2001, 06:40 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: cool

yeah sorry dude i took so long i have made a better version of this now called phprofession 1.5

download it here http://www.nerens.com/downloads/phprofession1.5.zip

you will need postnuke to run it [oyu going to like post nuke it rules]

www.postnuke.com

or just have a look at the files and change it to suite you .

later,

Reply With Quote
  #10  
Old November 5th, 2001, 10:18 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
'The Perfect Job'

The article was nicely done. It's provided an excellent blueprint/HOWTO that covers a broad area of application. Well done!

Reply With Quote
  #11  
Old January 28th, 2002, 07:04 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #12  
Old February 22nd, 2002, 04:53 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #13  
Old November 14th, 2002, 10:55 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Where's the Code

There was some mention of downloading source code? It would be incredibly awesome to get the complete source code. I'm kinda new at PHP and need all the help I can get. :-)

Reply With Quote
  #14  
Old May 29th, 2003, 11:22 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
The Perfect Job (part 2)

The Perfect Job \(part 2\)

In the first part of this article, you built the architecture necessary to accept and store resumes online. In this concluding part, find out how to make use of the stored data to find suitable candidates for a particular job, and also read about the functions available to maintain and update the job listings.

Please discuss this article in this thread. You can read the article here .

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > The Perfect Job (part 2)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT