Type: Posts; User: Blizzard84
Search took 0.01 seconds.
I'm trying to create a shopping cart. A product can have a few options such as size and color. I'm having trouble counting quantities from different mixes and matches. Let's say I have...
Thanks a lot for all your replies, that clarifies a lot of things.
Can someone give me some examples that would be considered a large scale system?
My query grabs the total movies and pictures which are currently out for a certain gender.
I only display stars that have at least 1 picture or 1 movie.
The below works, just...
I need to grab the total number of videos for each category where date_added is < today. Each video can be in multiple categories.
they use mod rewrite with a .htaccess file and is more server related. Here's a tutorial.
After the .htaccess is added,...
What's the best way to add multiple users in a user database that has 4000 entries? I want to allow the admin to do a multiple select and implode the ids, but 4000 is too big of a list.
You will have to change the name into an array type. It looks like your posting to a php so that php will have to grab the post.
<form action="FormToEmail.php" method="post">
Put the echo underneath your update query. Should output an error if any.
mysql_query("UPDATE guests SET guest_1 = '$column1' where id = $id limit 1");
if (@$_SESSION['auth'] !="yes")
I'm guessing guest_1 is a string so use this instead.
mysql_query("UPDATE guests SET guest_1 = '$column1' where id = $id");
If that does work comment out
header("Location: rsvp_view.php"); ...
You could also post it back to the same file, and use if statements. It might save you a step, but this'll do.
Once you feel more comfortable with php, you can fool around with it.
Hi once again,
Now you need to create the form. You have all the information in the array $row now.
This would be a form that you could edit.
Sorry I took so long to get back to you. I'm glad you found the error!
I was going to mention about making sure you had a column "id" too haha.
I'm at work right now, so I can't go through all the code lol.
One quick thing i see is
<td width="10%"><a href="edit.php?id=$row['id']">Edit</a></td><td><a...
You need to create 2 links for each row you're displaying
echo "<td><a href=\"edit.php?id=$row['id']\">Edit</a></td><td><a href=\"delete.php?id=$row['id']\">Delete</a></td>";
Now in your...
Depending on what you're trying to achieve.
You could use session variables to store the pages. This will only work if you own the pages. If your link is going to another website, you will need...
Based on your colspan = 2, i'm guessing you're just going to put that list.php underneath all your data.
<table border="0" cellpadding="0" cellspacing="5">
I'm kind of confused, are you trying to put $info['Name'], $info['Video'], and $info['Title'] beside each other?
Or do you want to include List.php for each result beside each $info row?
Actually I believe you can do it with php. Try this.
header('Refresh: 30; url=index.php');
$fileTime = filemtime($filename);
$currentTime = time();
$age= $currentTime - $fileTime;
Just echo something in the php file.
and run just the php. If there's still nothing, then most likely it is a server issue. The code works.
The code seems to be working for me.
What happens when you submit? Blank screen? or Page not found?
for($j = 0; $j < count($q_frag); $j++)
if (substr($q_frag[$j], 0, 1)=='A')
This was exactly what I was looking for.
Is there a way to grab combinations of words using this way based on a user_id? Not really liking the randomization
So i need
Thanks for the quick reply.
Yes, I want only one of the words randomly or not.