Search:
Type: Posts; User: kows
Search:
Search took 0.11 seconds.
-
Basically, musicalbumtracks doesn't have the right records. I'd suggest posting some of the data from that table (important fields are musicid and position), as well as the corresponding record from...
-
I don't think there's any need to have a table for exchanges/returns/deliveries.
Yes, you'd need to add those where clauses and a join to the ProductsPermissions table whenever you're doing...
-
Yes, that's what I was suggesting. Otherwise, you'd need a new look-up table for every single type of form you'd have: products, orders, etc. This is not necessarily a bad thing, it's just not as...
-
Well, this sure makes more sense than that other post I replied to!
$_POST['formTeams'] is a form array, so printing $aTeams will always return the text "Array." PHP can't print out an array...
-
Well, I guess the easiest way to do this is to have a look up table that stores permissions for each user and form. This is assuming that your forms are stored in the database along with your users....
-
The code you posted makes very little sense.
At the top of your code, $select is never defined. So, $select will never be set to $_GET['select'], which is the value you actually want.
At the...
-
Your admin_getprice script has a syntax error (which was my fault, but I did warn you!). Missing a semi-colon on this line:
$error = "The item requested could not be found"
This looks like the...
-
Actually, jQuery wouldn't remove most of what I added (which you quoted), but would remove the need for you to create an XMLHTTPRequest manually and then interact with it directly. You could continue...
-
First of all, you need to understand that these scripts are completely separate. Once a PHP script finishes executing, it has absolutely finished executing. None of those variables exist anymore. So,...
-
Now, do it with AJAX instead. ;)
-
If the TextBox you're creating is actually created after the page has been loaded, then this won't work just because the focus event you're creating in JavaScript is created when the page loads. Any...
-
It's hard to say what the "right way" to go is. That's really just preference.
If you prefer to use FrontPage, or any other WYSIWYG editor for that matter, to create your HTML files, then by all...
-
It's not specifically used for associative arrays, but simply for describing a key (or index) and value pair. It's also used in the foreach statement. Here are some examples:
// Associative...
-
Now I'd like to know what make-website-kitties.js does!
-
-
No. As far as I know, you can't do that.
-
yes, you can set it up as a cron job. you just have to set up a cron job to run PHP's binary (php or php-cgi or whichever you prefer) and then point it toward your script. your host can give you help...
-
I used a regular expression surrounded by word boundaries:
<?php
// Get search term
$search = isset($_GET['search']) && !empty($_GET['search']) ? $_GET['search'] : "";
// Set...
-
functions are stubs/templates of re-usable code. they must have a unique name. declaring a function with the function keyword does not call a function -- it creates it.
functions have their own...
-
.. it really seems like you keep asking the same question over and over. there are many MySQL date and time functions which do exactly what you want them to. but, the MySQL date format is YYYY-MM-DD,...
-
Well, the biggest reason is that the streamer would need some pretty decent bandwidth to be streaming to more than just a couple of people at once -- especially if you want high definition streams....
-
Well, the benefit of your system would be that your users will be watching from your website. You don't want your teachers (or whatever you want to call them) to have to stream to multiple people....
-
First things first: you're already requiring users to login to this thing using a social media identity -- why would they be required to enter some token to enter a webcam feed? That should be tied...
-
When you output text to the browser, you send the headers you've created in your application so far. Once they've been sent, more cannot be sent. So, application logic that sends headers should be...
-
I edited my post; make sure you read it over!
-
Edit: Nevermind. New code not needed.
You need to use concatenation on line 19 in your SQL.
$result = mysql_query("SELECT * FROM login WHERE `username` = '$_POST["username"]' AND `password` =...
-
Read the error message: it has something to do with T_ELSE, which sounds like it has something to do with an "else" statement. Look at line 16: the error is around here.
In red, on line 15, you...
-
I'm not sure what relevancy this has, but define() is a function in PHP used to define constants. You can read all about it on PHP.net.
-
I'm not sure what the confusion is. NEW_TIME_HERE is the new time that you want to store in the database. USER_ID_HERE is, obviously, the ID of the user who is logging in.
Yes, I explained that...
-
That's the nicest thing anyone has ever said about me, Samba.
-
Add a time field (integer) to your table and then when they login, do an update statement:
UPDATE login SET time='NEW_TIME_HERE' WHERE id='USER_ID_HERE';
-
You need another frameset.
<html><head><title>Frame</title>
</head>
<frameset rows="12%,*">
<frame name="ust" src="http://www.eskiciyeah.com/f/ust.html">
<frameset cols="14%,*,14%">
...
-
Hi,
I'm just here to tell you not to use addslashes(). If you're not going to use a library like PDO, as penagate mentioned, to handle your database stuff, then when you're using the default MySQL...
-
No, it can't be done using a join. You don't know how many children a node might have, and using a join would only let you see so far down the tree (you'd need a set number of nodes to join to, and...
-
Why aren't you using the primary key for the relationship? Why do you have a separate field to act as the user's ID?
Still, I'm not sure what the problem is. You're not using the primary key, so...
-
It's simple: if you have a particular user's ID, then you select all records that have a parent_id of that user ID.
$sql = "SELECT * FROM users WHERE parent_id={$userId}";
You can't select...
-
JavaScript can't interact with a database; you'll need a server-side scripting language to do so.
SQL comes in many flavours -- you need to be more specific with which type of SQL. MySQL? MSSQL?...
-
Not sure how you plan to do this with CSS (CSS is for styling HTML elements).
What type of database are you using? What scripting language are you using?
-
So keep track of when there was a value:
var form = document.getElementById('myFormId');
var fields = form.getElementsByTagName('input');
var filledImages = 0;
for(x in fields){
...
-
Every time you call mysql_fetch_assoc() (or mysql_fetch_row(), or mysql_fetch_array()), you're pushing the internal data pointer ahead. This means that if you ever call this function before you begin...
|
Click Here to Expand Forum to Full Width
|