Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: FlashCreations ; Forum: PHP and child forums
Forum: PHP 22 Days Ago
Replies: 2
Views: 245
Posted By FlashCreations
You need to connect to a database (Such as MySQL) then perform the queries in your arrays (You also need to unescape the quotes after the "tfr", it will stop the query from working).
Try something...
Forum: PHP 22 Days Ago
Replies: 2
Views: 250
Posted By FlashCreations
You can check for a search by the employee's name. Then you can check for a space. If there is a space you can split the two names with explode and then perform a query that matches first and last...
Forum: PHP Sep 3rd, 2009
Replies: 11
Views: 393
Posted By FlashCreations
Exactly..though it does need one minor fix! (But I'm sure you knew this!):

$link = array();
$result = mysql_query($sql); //<-- Semicolon
while ($row = mysql_fetch_array($res))
{
$link[] =...
Forum: PHP Aug 10th, 2009
Replies: 7
Views: 425
Posted By FlashCreations
@Dukane
You made the same error as Newbi..the correct code is below (Don't worry about it, I've made worse mistakes :D):

while($info = mysql_fetch_array($result))

The reason for this is as...
Forum: PHP Nov 5th, 2008
Replies: 3
Views: 390
Posted By FlashCreations
You would probably want to use a MySQL table to store the emails. Then all you would have to do is write a php script that you can use to send email (Just make sure to password protect it for...
Forum: PHP Sep 28th, 2008
Replies: 8
Views: 2,300
Posted By FlashCreations
Ok then, try this:
<?php
session_start();

if(session_is_registered('user'))
{
$user=$_SESSION['user'];
$del="DELETE FROM online WHERE user='$user'";
$result=mysql_query($del);
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC