Hello, I'm a newbye here and about PHP; be patient please :-)
I have a mySQL table with 15000 rows; I need to populate a field of it (varchar(15)) - to be used in a way similar to a primary key - with the uniqid() PHP function.
The algorithm is:
1 - positioning to the first row (record);
2 - generating a value with the uniqid() function;
3 - updating with it an empty field of that record;...
User Profile
Collapse
-
How To Populate A Field In A MySQL With uniqueid()?
-
Hello and thanks for your reply; I tried your code and same issue.
Bye.
Cypherinfo. -
Hi, if I try to change the code as here:
I get a blank page!Code:<?php print_r(ini_get_all()); ?>
Cypherinfo.Leave a comment:
-
To tell the truth I was managing to change the magic quotes setting in the php.ini.
Before that edit all right, after it the fault. The issue does not disappear even after I set the php.ini to the previouse settings.
The two php.ini I as editing are in the following folders:
the first here: C:\xampp\apache \bin\php.ini
the second here: C:\xampp\php\ph p.ini
I have attached the section of them...Leave a comment:
-
print_r(ini_get_all()); does not work!
Hello, this is my first post in here and when I try to run the following script:
in my Apache web server installed on a windows vista business computer, I do net get any results but the following:Code:<?php echo "<pre>"; print_r(ini_get_all()); echo "</pre>"; ?>
"; print_r(ini_get _all()); echo ""; ?>
How to fix...
No activity results to display
Show More
Leave a comment: