| Thread | Last Post | Replies |
|
| Storing variables from drop down listboxes | 31 Jul 2004 22:01 GMT | 1 |
I am building a db, using mysql and php. Having called values from a table I reproducing them in a drop down listbox on a web interface using php. Once the user selects a value from the drop down list, i want to select a cost from another table based on that selection. Here
|
| Controlling file uploads? | 31 Jul 2004 18:25 GMT | 5 |
I need to do file uploads from a web form for both images, and .mp3. How do i force the file upload for a give field to be of an appropriet type? For example if i only want: ".jpeg, .jpg, .gif, .png" for image types?
|
| PHP 5 | 31 Jul 2004 10:20 GMT | 1 |
can anybody tell me what is happening with phptriad. I dont find new versions coming up. PHP 5 has come. Thanks Jaunty
|
| Renameing fields? | 31 Jul 2004 00:26 GMT | 2 |
Is there a 'ALTER TABLE' command to rename a field like ALTER TABLE foo RENAME oldfieldname [TO] newfieldname; ??? Looked in the mysql-manual online and didn't find what i wanted. I seem to
|
| Maximum number of fields in a MySQL table? | 30 Jul 2004 21:41 GMT | 5 |
What's the maximum number of fields able to be used in a MySQL table these days? This worked: CREATE TEMPORARY TABLE TempTable (
|
| safest way of encoding strings in database | 30 Jul 2004 10:38 GMT | 9 |
What is the safest way of encoding strings in the database to preserve special characters? Is it best to use addslashes or base64_encode or both (or something else?) thanks
|
| fulltext index | 30 Jul 2004 06:33 GMT | 1 |
i would like to know something. I am using FULLTEXT to search product within my PRODUCT table using keywords. Suppose I have this:
|
| Replacing a string in sql... | 30 Jul 2004 06:07 GMT | 1 |
I have list of titles in a database, many of which begin with "the..." Is there an sql statement to move the "the" from the beginning of the column and place it at the end eg "The Big Blue House" would become "Big Blue House, The"
|
| (SQL) repesenting generic key/value objects in database | 29 Jul 2004 16:19 GMT | 3 |
This is sql related, rather than anything PHP specific, hope that doesn't annoy.... I'm making a database schema that includes the problem of representing objects that consist of labels (or keys) and associated values. For instance, in a straightfoward descriptive way, suppose I ...
|
| how can I use php to store a binary file to a mysql database table ? | 29 Jul 2004 14:10 GMT | 1 |
Can someone give me some php code that will move or copy a binary file from a folder on the server to a blob column on a mysql database table.
|
| form button names as variables | 29 Jul 2004 00:38 GMT | 7 |
perhaps I am just a little tired, but I am having trouble with my form buttons. Firstly I name them like this name=\"round".$counter."heats\"
|
| variable variables in a while loop | 28 Jul 2004 21:30 GMT | 2 |
I can't seem to create variable variables properly. Here is my code (with some testing stuff in it -- the 'echo's): while ($row = pg_fetch_array($revenue_by_staff)) { $varname = '$revenue_'.$row["dat_staff_code"];
|
| Multi SELECT error Help please! | 28 Jul 2004 21:25 GMT | 8 |
There is 2 table "users" and "on_standby_users", these both table have got a column "login". I must check before insert a new line that a new user don't try to create itself with existing login: SELECT * FROM users,on_standby_users WHERE users.login='toto' OR
|
| Very weird for echo/print and fgets | 28 Jul 2004 21:03 GMT | 1 |
Please take a look at following very simple script; #!/usr/bin/php -q <? echo "Hello, world!\n";
|
| pointers on unique, primary, indexes... | 28 Jul 2004 15:36 GMT | 1 |
I am trying to understand more about the types of indexes on tables. This is my current understanding: plain old index - allows more direct (hence faster access) to rows when you use this key. allowed to be null, and can have duplicates.
|