Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: FlashCreations
Forum: PHP 6 Days Ago
Replies: 2
Views: 178
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 6 Days Ago
Replies: 2
Views: 183
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: 372
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: 417
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: JavaScript / DHTML / AJAX Jul 5th, 2009
Replies: 6
Views: 835
Posted By FlashCreations
That's great that you got it to work! If you don't have any more questions...would you please mark this thread as solved?
Forum: PHP Nov 5th, 2008
Replies: 3
Views: 385
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,203
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 7 of 7

 


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

©2003 - 2009 DaniWeb® LLC